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: 
Read only

create SO from IDOC

Former Member
0 Likes
720

Can anybody send me the code for creating SO from IDOC using IDOC_INPUT_ORDERS??

Thanks in Advance.

3 REPLIES 3
Read only

Former Member
0 Likes
655

Hi,

You need to create parnter profiles for the Idoc from where you are supposed recieve.

In that for the Inbound category use process code ORDE and assign the function module: IDOC_INPUT_ORDERS directly.

use option Trigge Immediately..so that whenever idoc comes from external, SO will be created in SAP.

Regards,

Ashok

Read only

Former Member
0 Likes
655

Hi,

You need to do any coding for creating a sales order using idocs. You just need to make below ALE settings to create a sales order through a idoc.

Steps:

1)create Logical system for source system and target system.

2)assign the logical systems created to the clients as required.

3)Create the RFC destination for the source system and the target system.

4)Create the partner profile using the txn WE20 and

add the message type 'ORDERS' in the inbound parameters tab and mention the process code as 'ORDE' and save it.

5)create a

Read only

Former Member
0 Likes
655

Hi,

You need to do any coding for creating a sales order using idocs. You just need to make below ALE settings to create a sales order through a idoc.

Steps:

1)create Logical system for source system and target system.

2)assign the logical systems created to the clients as required.

3)Create the RFC destination for the source system and the target system.

4)Create the partner profile using the txn WE20 and

add the message type 'ORDERS' in the inbound parameters tab and mention the process code as 'ORDE' and save it.

5)create the distribution module and mention the sender as ur source syatem and reciever as the reciever system

also select the model and click on add message type icon and mention the message type as 'ORDERS'. and save it.

now if you send the idoc to this system it will create the sales order in the target system. you can test this using txn WE19.

Thanks,

Prasanna