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: 

Update Price and Quantity in ORDERS05 for Inbound Sales Order Change

mithun_shetty4
Contributor
0 Kudos
2,158

Hi Experts,

I have a requirement wher i need to update the Materials to the Sales Order.

The Material to be updated Wil be sent by an external system which comes in the form of a IDOC

The IDOC which i am using for it is ORDERS05 and Inbound Process Code ORDC .

Typically i unable to to Create/Change the following things in Sales Order.

1. Price and Quantity.

2. Change the Customer Number ( Sold to party )

I have used we19 to create the IDOC manually and Post the Change to the Sales document.

E1EDK01

E1EDKA1

E1EDK02

E1EDP01

E1EDP02

E1EDP03

E1EDP03

E1EDP03

E1EDP05

E1EDP05

E1EDP05

E1EDP19

When i run the IDOC_INPUT_ORDCHG fm in Backgroung the IDOC ends up in the Error with status 51.

************

Conditions in IDoc E1EDP05 have been transferred: Check data

Message no. VG201

Diagnosis

Condition data has been sent to the IDOC segment. This data is not automatically transferred.

Procedure

Check the incoming data and, if necessary, copy it into the document manually.

*********

Also everytime i process the IDOC_INPUT_ORDCHG in foreground price gets updated in the for the condition in IDOC but fails at the End saying Incomplete Log.

Dosent ORDERS05 allow us to post the Document if there are Warnings !

Please let me know if some has ideas to resolve it !

Regards,

Mithun

1 ACCEPTED SOLUTION

mithun_shetty4
Contributor
0 Kudos
834

I checked the segments and the Those Condition types are not used.

Mean While i solved the the Quantity and Price issue which was mentioned by Populting the Segment E1EDP05 under P01.

i eliminated the Error using transaction SMME (special behaviour for system messages).

The Last issue for which i couldnt find a solution is changing sold to party through the IDOC.

Incase if any one has IDEAS on how to change the Sold to Party from the Sales order through IDOC ORDERS05.

Regards,

Mithun.

Edited by: Mithun Shetty on Jul 30, 2008 10:11 PM

2 REPLIES 2

Former Member
0 Kudos
834

Hi,

May be it is trying to check the EDI1 and EDI2 condition types. Try to remove some additional values in 05 segment. U can find some numeric values just try to remove them and try for the same.

Regards,

Sudheer ,

mithun_shetty4
Contributor
0 Kudos
835

I checked the segments and the Those Condition types are not used.

Mean While i solved the the Quantity and Price issue which was mentioned by Populting the Segment E1EDP05 under P01.

i eliminated the Error using transaction SMME (special behaviour for system messages).

The Last issue for which i couldnt find a solution is changing sold to party through the IDOC.

Incase if any one has IDEAS on how to change the Sold to Party from the Sales order through IDOC ORDERS05.

Regards,

Mithun.

Edited by: Mithun Shetty on Jul 30, 2008 10:11 PM