Hi
Thanks for your reply.
Our warehouse mgmt system post goods issues for deliveries. When it does each, it kicks off an IDOC for ship confirmation (SHP_OBDLV_CONFIRM_DECENTRAL) inbound to SAP.
Each IDOC contains delivery info and various box information for a shipment.
At the same time, MV50AFZ1 is invoked. An external consulting group previously placed code to process data that was sourced from those IDOCs in the MV50AFZ1-->userexit_save_document.
Further processing is then done in that user exit to send shipping info back to our e-commerce site/database.
What we want to do now, is add the tracking number (sourced in that idoc) to that e-commerce processing that is sent to the website. We thought we'd be able to access the VEKP table for the tracking number easily enough in the userexit, but through debug, I found the table isn't really updated until after that user exit (as you said, the name implies).
We reasoned that maybe (from that same user exit) we could instead find and read the right IDOC and access the segments to get tracking. I certainly acknowledge this may not be the best solution.
Is there instead. a more appropriate user exit in MV50AFZ1 to access the updated VEKP records? Or should I be taking a look at (a more internal XVEKP)? I'll debug some more to see if that reveals any of the data I need.
Thanks
Jeremy H.