Skip to Content
0
Former Member
Nov 30, 2011 at 04:20 PM

update shipment using user exit triggered in EWM idoc

223 Views

Hi,

I have a specific issue with execution of function module SD_SHIPMENT_SAVE.

I want to update the shipments with a particular field (status planned or unplanned) and the IDOC is coming from EWM -> ECC.

In the user exit, EXIT_SAPLV55k_020 for include ZXTRKU09, I have implemented the custom code to call the FM SD_SHIPMENT_SAVE to update the shipment for the status planned or unplanned.

(this is a shipment idoc)

When the idocs arrive from EWM, the shipments dont get updated (automatically), but when I reprocess the idoc from WE19, the shipments get updated using the FM.

What could be reason for the IDOC to not to do this automatically but on manual reprocessing of idocs, the custom code in the exit works perfectly fine?

Thanks & regards,

Ravish