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: 

PO Idocs

Former Member
0 Kudos
76

Hi,

When i create a PO with some 3 items it is savinf successfully and an idoc is triggered, when i look into an idoc 3 line items are appearing with action 001. After that when i change the second line item and click save then a new idoc is triggered now when i look into an idoc again the action is 001 even if i delete an item even then also action is 001 in idoc. As per my knowledge the action 001 indicates item added, 002 indicated item changed, 003 indicated item cancelled and 004 indicated item not changed. But what ever the action i do in PO still the action field in idoc remains same.

Kindly suggest is there any settings to be done at PO side when creating or changing.

Regards,

vinit

1 ACCEPTED SOLUTION

uwe_schieferstein
Active Contributor
0 Kudos
41

Hello Vinit

This may be related to the output type. If you send the changed PO using output type = NEU (= New) then the IDoc processing reports assume it is a new PO and treat it like this.

Perhaps you need to choose an output type NE "NEU".

Another question: What is the logical message type for the changed PO output? ORDERS? Or ORDCHG? => Should be ORDCHG.

Regards

Uwe

1 REPLY 1

uwe_schieferstein
Active Contributor
0 Kudos
42

Hello Vinit

This may be related to the output type. If you send the changed PO using output type = NEU (= New) then the IDoc processing reports assume it is a new PO and treat it like this.

Perhaps you need to choose an output type NE "NEU".

Another question: What is the logical message type for the changed PO output? ORDERS? Or ORDCHG? => Should be ORDCHG.

Regards

Uwe