Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Differences in creating IDocs by creating and by changing dispatch not.

Former Member
0 Kudos

Hello experts,

we want to create an IDoc everytime we create a dispatch notification (VL01N) and everytime we change it (VL02N). Now we want to add certain QM data to this IDoc and we write this data to the memory and read it in the IDoc processing (like described [here|http://help.sap.com/saphelp_nw04/Helpdata/en/fc/eb3bde358411d1829f0000e829fbfe/frameset.htm]). The problem is, that everything works correctly during creation of the dispatch notification and the IDoc has the expected information. But when we change the dispatch notification to create a new IDoc, the IDoc doesn't contain the fields. Debugging the IDoc creation also only works for dispatch notification creation... not for changes.

Does SAP start the IDoc creation in another process, when a dispatch notification is changed and uses the same process, when it is created? Is it possible to change this behaviour? Is it possible to fill a variable so, that it can be picked from everywhere... also from another processes?

Best regards,

David

1 REPLY 1

Former Member
0 Kudos

We changed our business processes, so that the error doesn't occur anymore.