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: 

Inbound idoc to update sale order

Former Member
0 Kudos

Hi experts,

i try to find a sample program to create a idoc by using a standard type ORDCHG ORDERS05. does anyone can help me ?

My goal is to change a header date in a sale order.

I do not know the correct information structure and where to fill the sale order number.

Regards

Alexandra.

1 REPLY 1

uwe_schieferstein
Active Contributor
0 Kudos

Hello Alexandra

I assume there is a simple solution to your problem. Take any existing inbound ORDERS.ORDERS05 IDoc and then go to transaction WE19. Display the IDoc hierarchy and click (hotspot) on the EDIDC segment (= control segment).

As you will the logical message type is ORDERS (= create order).

Well, I guess that if you change that to ORDCHG (= change order) you are able to change your sales order previously created by another IDoc.

Start processing by pushing button "Inbound function module" (= IDOC_INPUT_ORDERS ).

Forgot to mention that the sales order number can be found in the header segment E1EDK01-BELNR.

Regards

Uwe