Hello,
I have a requirement to populate Events and Event’s Dates on the Shipment (T-Code is VT02N). Data are coming to SAP via EDI and processed via a function module IDOC_INPUT_SHPMNT. Segment E1EDT10 (IDOC type SHPMNT04) will contain event details in the fields EVEN and EVEN_ALI.
Standard SAP function module doesn’t process the fields EVEN and EVEN_ALI.
The user exits EXIT_SAPLV55K_021 and EXIT_SAPLVK55K_022 look like the most logical places for the custom code.
Here is the challenge ….
Exit EXIT_SAPLV55K_021 contains parameter C_ACTIVITIES that has a reference to the multilayer structure with no documentation for the possible flags and values.
- What flags and/or fields should be changed in the structure C_ACTIVITIES to pass shipment event details back to the standard SAP processing logic?
- Would you recommend using customer-exit EXIT_SAPLV55K_022? If YES, what function modules can be used to update the shipment events?
I tried to use a set of the function modules TSEG_INIT, TSEG_READ and TSEG_INSERT_EVEN followed by COMMIT WORK but no update was recorded. A few posts that exist on this topic really don’t have a solid solution.
Thanks & Regards
Jane