‎2012 Jan 18 10:07 PM
Our requirement is to send all the PO changes including the deleted lines and the unchanged lines:
Here is what is happening:
1. If I use ME10 - It creates the idocs with all the line items. In the user exit, I change the Action Code.
This approach however does not consider the deleted line items. (Since ME10 is for creation)
2. If I use ME11 - I can get the deleted items in the idoc.
However it considers only the line items which has a valid change.
I want all the line items.
Is there any way where I can achieve the combined result where I will have the deleted line items as well as unchanged line items.
Appretiate your help in advance.
Pranu
‎2012 Jan 19 5:50 AM
‎2015 Oct 27 2:54 PM
Hello,
you can change process code from ME11(change) to ME10(create), which it will change the FM from IDOC_OUTPUT_ORDCHG to "IDOC_OUTPUT_ORDERSIDOC" . It sends every item, but problem is that it send them with wrong ACTION type as "Create" i.e. '001' rather than 002.
You have to go ME10 user exit and change the action code from '001' to '002'.
Thanks,
Cyrus