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: 

Message type and IDoc type to update a sales order

Former Member
0 Kudos

I can create sales order at WE19 by the message type SALESORDER_CREATEFROMDAT2 and IDoc type SALESORDER_CREATEFROMDAT202 . Can I use the same message type and IDoc type to update a sales document (sales order) and also how can I do (I mean, which structures should I use; at E1BPSDHD1X - UPDATEFLAG what should I enter? Put an X to update a document or etsc?)? I enter the "E1BPSDHD1X - UPDATEFLAG" as X, "E1BP_SENDER - LOG_SYSTEM", "E1BPSDITM - ITM_NUMBER", " E1BPSDITM - MATERIAL", "E1BPPARNR - PARTN_ROLE", "E1BPPARNR - PARTN_NUMB" and "E1BPSCHDL - REQ_QTY". The sales order quantity is at "E1BPSCHDL - REQ_QTY" and it is the field that I want to update. When I look at the transaction code BD87, I see the status text as "Enter a document number between 0005000000 and 0005999999". I cannot update the order. How can I update it? Canybody explain me in a detailed manner?

Thanks in advance....

Edited by: Hikmet Akcali on Oct 21, 2009 4:00 PM

1 ACCEPTED SOLUTION

Former Member
0 Kudos

For updating the sales order , the correct message type is ORDCHG and IDOC type can be ORDERS01/ORDERS02/ORDERS03/ORDERS04/ORDERS05. Choose the IDOC type based on your system version.

Thanks,

Saibaba Kondani

3 REPLIES 3

Former Member
0 Kudos

For updating the sales order , the correct message type is ORDCHG and IDOC type can be ORDERS01/ORDERS02/ORDERS03/ORDERS04/ORDERS05. Choose the IDOC type based on your system version.

Thanks,

Saibaba Kondani

0 Kudos

At the IDoc type pop-up selection, there are 3 types. These are: ORD_ID01, ORDERS05 and /NFM/ORDERS05. SAP system component version is SAP ECC 6.0 . I choose ORD_ID01. There are structures EDI_Z1, EDI_Z3, EDI_Z5, EDI_Z9 and EDI_Z53. Where should I enter the number of the sales document to be updated? Also, which function module should I choose?

Edited by: Hikmet Akcali on Oct 21, 2009 5:34 PM

0 Kudos

Hi,

I hope you are doing update of the sales order using the ALE. if not please elaborate more on this.

Thanks,

Saibaba Kondani