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: 

Reg : Inbound Idoc message type ORDCHG/ORDERS

Former Member
0 Kudos

Hi All,

We have a business scenario where we will be receiving ORDCHG (EDI type 860) idoc with PO number details in the segments.

If the PO line item in the inbound IDOC is not in SAP then we have to create a new sales order for that new line item.

As per the existing partner profile settings in SAP on receiving the ORDCHG we trigger function module IDOC_INPUT_ORDCHG. But this function module calls the VA02 transaction.

Can anyone please suggest how we can create a new sales order on receiving ORDCHG idoc.

Thanks

Venkat

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Probably you will require to create a Custom Function module which in turn call IDOC_INPUT_ORDCHG

or IDOC_INPUT_ORDCREATE (VA01).

Regards

Shital

2 REPLIES 2

Former Member
0 Kudos

Probably you will require to create a Custom Function module which in turn call IDOC_INPUT_ORDCHG

or IDOC_INPUT_ORDCREATE (VA01).

Regards

Shital

Former Member
0 Kudos

need to create a custom function module.