‎2006 May 30 2:44 PM
Thru our Middleware we are going to receive IDOCs (Invoices, ASN etc) from our Suppliers.
We have to develop the programs, workflow and other objects on the R/3 side to receive this IDOCS and then to poste them into the appropriate tables.
What are all the steps that I need to follow to process the Inbound IDOCS. If there is any step by step guide available? Please help me.
Thank you.
‎2006 May 30 2:52 PM
Hi Mohan,
Please take a look at this link which will show step by step on how to setup inbound proscessing.
http://help.sap.com/saphelp_erp2004/helpdata/en/dc/6b835943d711d1893e0000e8323c4f/content.htm
http://www.sapgenie.com/sapgenie/docs/ale_scenario_development_procedure.doc
Also check this links for sample codes.
http://edocs.bea.com/elink/adapter/r3/userhtm/ale.htm#1008419
http://www.netweaverguru.com/EDI/HTML/IDocBook.htm
http://www.sapgenie.com/sapedi/index.htm
For example, consider the FM "IDOC_INPUT_MATERIAL" . the only thing you are concerned most is, importing input method,mass processing , exporting work flow result and tables idoc_control, idoc_data and idoc_status. Rest you can leave (for basic processing and posting ).
In the FM,
1) write a subroutine to initialize organizational data.
2) Interpret idoc.
3) check for idoc segments and raise exception if any error occurs, otherwise post the data using the BDC or BAPI.
4) Read the status message and change the idoc_status according to the status message.
Hope this will be helpful for you.
Regards,
Vicky
PS: AWard points if helpful
‎2006 May 30 3:11 PM
‎2006 May 30 4:50 PM
‎2006 May 30 4:54 PM
Hi Mohan,
1. First of all check the Message Type in your processing function module.
2. Do the necessary validation for the IDOC data
3. Create the data into the system. Rollback if the data creation needs to be done in LUW when an error occurs.
<b>Reward points if it helps.</b>