Ansicht
Dokumentation

/SAPTRX/XEE_LE_DELIV_IN_SHIP01 - Set Up Expected Event for Deliveries in LTL Shipment

/SAPTRX/XEE_LE_DELIV_IN_SHIP01 - Set Up Expected Event for Deliveries in LTL Shipment

ABAP Short Reference   General Data in Customer Master  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

This function module is used for the expected event extractor in the visibility 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 application object type. This means that the shipment always has one or more deliveries and stages(legs).

It selects the data out of deliveries and shipments. Most of the data that could be relevant for Supply Chain Event Management is selected to allow 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 you cannot 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 transport sequence + 'O'(Origin)

  • Arrival Hub ,,,,- Shipment No + 'L' + Stage of transport sequence + 'D'(End)

  • Departure Hub ,,,,- Shipment No + 'L' + Stage of transport sequence + 'O'

  • Arrival Customer ,,,,- Shipment No + 'L' + Stage of transport sequence + '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 export parameter 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 be updated)

  • evt_exp_tzone (Time zone),,

Further information





Parameters

E_EXPEVENTDATA
E_INFODATA
E_LOGTABLE
E_MEASRMNTDATA
I_ALL_APPL_TABLES
I_APPSYS
I_APP_OBJECTS
I_APP_OBJ_TYPES
I_APP_TYPE_CNTL_TABS

Exceptions

EXP_EVENT_DETERM_ERROR
PARAMETER_ERROR
STOP_PROCESSING
TABLE_DETERMINATION_ERROR

Function Group

TRX/SAPLAOX_EE

Addresses (Business Address Services)   RFUMSV00 - Advance Return for Tax on Sales/Purchases  
This documentation is copyright by SAP AG.

Length: 4622 Date: 20240419 Time: 212322     sap01-206 ( 43 ms )