Fonction SAP /SAPTRX/XIP_LE_DELIV_IN_SHIP01 - Set Up Info Parameters for Deliveries in LTL Shipment

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
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

Paramètre Reférence Long. Facultatif Description
E_INFODATA /SAPTRX/INFO_DATA 331 X Infodata for Event Handler characterization
E_LOGTABLE BAPIRET2 548 X Return parameter

Exception Description
IDATA_DETERMINATION_ERROR Info parameters 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 info parameter 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 parameters are created in this function module:
Sold-to party address ,,,,,,- Delivery header (VTRLK)
Ship-to party address ,,,,,,- Delivery header (VTRLK)
Purchase order no ,,,,,,,,- Delivery header (VTRLK)
Purchase order date ,,,,,,- Delivery header (VTRLK)
Requested delivery date ,,,,,,- Delivery header (VTRLK)
Sales Org /Distr. channel/Division ,,- Sales Order header(VBAK)
Sales representative (+ Description),,- Sales Order header(VBAK)
Requested material (+ Description) ,,- Sales Order item(VBAP)
Requested quantity and UoM ,,,,- Sales Order item(VBAP)
Confirmed quantity ,,,,,,- Shipment item(VTTP)
Plant ,,,,,,,,,,,,- Delivery header (VTRLK)
Delivered material (+ Description) ,,- Shipment Item (VTTP)
Batch ,,,,,,,,,,- Shipment item (VTTP)
Delivered quantity ,,,,,,,,- Shipment item (VTTP)
Packing material ,,,,,,,,- Shipment item (VTTP)
Volume and UoM ,,,,,,,,- Delivery header (VTRLK)
Weight (Total weight, Gross weight, Net weight) and UoM - Deliveryheader (VTRLK)
Unloading point ,,,,,,,,- Delivery header (VTRLK)
Carrier address ,,,,,,,,- Shipment header (VTTK)
Route description
Container ID ,,,,,,,,- Shipment header (VTTK)

Notes
At least all of the following fields should be filled in exportparameter E_INFODATA:
appsys (Logical system ID of an application system)
appobjtype (Application object type)
language (Language)
paramname (Parameter name should be defined in Tr-cd: /SAPTRX/ASC0TF)
value (Parameter value of length 200)