Synchronization

Updates received from your supply chain partners are synchronized back to SAP. To handle the data, you can implement the BAdI /AEB/MA_EXP_CONS_01.

The data structure provided in the BAdI is representing a shipment with packages and events.

Example of handling events:

 _im_consignment = im_consignment.
LOOP AT _im_consignment-events INTO _event.
      "Ignore planned events
      IF _event-actualdate IS INITIAL.
        CONTINUE.
      ENDIF.
     * Your logic to handle the event data.
    ENDLOOP.