Application Development and Automation 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: 
Read only

PO Idoc - Process Code ME11

Former Member
0 Likes
1,513

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

2 REPLIES 2
Read only

Former Member
0 Likes
820

Anybody Any help?? Pranu

Read only

Former Member
0 Likes
820

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