I have an Inbound EDI 850 Purchase Order to create and SAP Sales Order. This comes into the iDoc ORDERS05 for processing by Function Module IDOC_INPUT_ORDERS.
Within the include program (ZXVEDU13) on the user exit (EXIT_SAPLVEDA_ 011). I am updating customer information (sold-to & ship-to customer numbers) on the internal tables DEDIDD and DXVBPA. In a debug session, I can see this is working correctly. I can also see that the tables have been updated upon returning from the User Exit back to the main program (the internal tables of the main program are IDOC_DATA and XVBPA, respectively) .
When I "continue" from the debug session within the main program, the iDoc processing continues, but my data changes have been lost, and the processing picks up on the original unmodifed data.
Any suggestions on how to correct this problem?