SAP Function /SAPTRX/XTI_LE_DELIV_IN_SHIP01 - Set Up for Trackings ID for Deliveries in LTL Shipment

Parameter Reference Type Length Default Optional Text
I_ALL_APPL_TABLES TRXAS_TABCONTAINER 0 Container with references to all tables passed by the application
I_APPSYS /SAPTRX/APPLSYSTEM C 10 Logical System ID of an Application System
I_APP_OBJECTS TRXAS_APPOBJ_CTABS 0 Control WA and nametabs for all appl. object types
I_APP_OBJ_TYPES /SAPTRX/AOTYPES u 694 Application object types
I_APP_TYPE_CNTL_TABS TRXAS_APPTYPE_TABS 0 Control tables and nametabs for all appl. object types

Parameter Reference Length Optional Text
E_LOGTABLE BAPIRET2 548 X Return parameter
E_TRACKIDDATA /SAPTRX/TRACK_ID_DATA 258 Tracking IDs for application objects

Exception Text
PARAMETER_ERROR Error in Parameters
STOP_PROCESSING Stop Processing
TABLE_DETERMINATION_ERROR A required datatable could not found.
TID_DETERMINATION_ERROR Tracking IDs could not be determined.

Functionality
This function module is used for the tracking IDs extractor in thevisibility scenario "Deliveries in LTL Shipment".
This function module is only available when using shipment item(SHIPMENT_ITEM_NEW) as a main object table in the relevant applicationobject type. This means that the shipment always has one or moredeliveries and stages (legs).
It selects the data out of deliveries and shipments. Most of the datathat could be relevant for Supply Chain Event Management is selected toallow universal use of the function.

Example
The following tracking IDs is created in this function module and isused for reporting events fot deliveries:
Shipment number for carrier reporting
Delivery for all other e.g. warehouse employee
Carrier PRO number from external ID in shipment header

Notes
At least all of the following fields should be filled in exportparameter E_TRACKIDDATA:
appsys (Logical system ID of an application system)
appobjtype (Application object type)
trxcod (Code set for tracking ID)
trxid (Tracking ID)
msrid (Master ID flag)