SAP Function /SAPTRX/XQI_LE_DELIV_IN_SHIP01 - Set Up for Query IDs 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_INFOID /SAPTRX/INFO_ID 161 X Application info object which may retrieve data from TO
E_LOGTABLE BAPIRET2 548 X Return parameter

Exception Text
INFO_ID_DETERMINATION_ERROR Info retrieval ID could not be determined
PARAMETER_ERROR Error in Parameters
STOP_PROCESSING Stop Processing
TABLE_DETERMINATION_ERROR A required datatable could not be found

Functionality
This function module is used for the query ID 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 query ID is created in this function module forretrieving information on deliveries.
Shipment number for retrieval e.g. by carrier.
Delivery number for retrieval e.g. by customer
Customer order number for retrieval e.g. by sales representative
Customer PO number.