Functionality This function module is used for the expected event 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 event data is created in this function module: Picking Begin ,,- Delivery header (VTRLK) Arrival Carrier ,,- Shipment header (VTTK) Loading Begin ,,- Shipment header (VTTK) Loading End ,,- Shipment header (VTTK) Goods Issue ,,- Delivery header (VTRLK) Plant Departure ,,- Shipment stage header (VTRLK) Arrival Hub ,,,,- Shipment stage header (VTRLK) Departure Hub ,,- Shipment stage header (VTRLK) Arrival Customer ,,- Shipment stage header (VTRLK) Notes 1. The field "Itemident" must be filled as follows, otherwise youcannot update the SAP R/3 shipment from the SAP Event manager: Check in ,,,,- Shipment No + 'H' (Header)+ '0002'(Status) Loading Start ,,,,- Shipment No + 'H' + '0003' Loading End ,,,,- Shipment No + 'H' + '0004' Plant Departure ,,,,- Shipment No + 'L' (Leg)+ Stage of transportsequence + 'O'(Origin) Arrival Hub ,,,,- Shipment No + 'L' + Stage of transportsequence + 'D'(End) Departure Hub ,,,,- Shipment No + 'L' + Stage of transportsequence + 'O' Arrival Customer ,,,,- Shipment No + 'L' + Stage of transportsequence + 'D' Completion of Shipment ,,- Shipment No + 'H' + '0005' Shipment begin,,,,- Shipment No + 'H' + '0006' Shipment end,,,,- Shipment No + 'H' + '0007' 2. At least all of the following fields should be filled in exportparameter E_EXPEVENTDATA: appsys (Logical system ID of an application system) appobjtype (Application object type) language (Language) milestone (Event name) milestonenum (Counter) evt_exp_datetime (Expected date/time) itemident (To find which status of shipment date/time should beupdated) evt_exp_tzone (Time zone),, |