‎2009 Sep 27 11:11 AM
Hi
Can anybody give the program for creating the Sales order Idoc.
Regards
Raja
‎2009 Sep 28 2:53 AM
Hello Raja,
To create an inbound Sales Order IDocs, you use IDoc type ORDERS04 or the latest version that your system has if it is an older system (i.e., ORDERS01, ORDERS02, ORDERS03). You need to create a Z program to load the necessary information in the segments of the IDoc that your organization requires. You need to obtain specifications from the SD functional expert.
You can use WE60 to obtain documentation about ORDERS04. It will list all the fields and their functionality.
When you complete the code to fill in the necessary information according to the specifications you are given then, call the functin module below to create the IDoc.
call function 'IDOC_INBOUND_ASYNCHRONOUS'
tables
idoc_control_rec_40 = i_edi_dc
idoc_data_rec_40 = i_edi_all.
Good luck,
Rae Ellen Woytowiez
‎2009 Sep 28 5:35 AM
Requesting for code is against forum rules. Please read the rules of the forum before posting