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

Inbound IDOCs - Process

Former Member
0 Likes
547

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.

4 REPLIES 4
Read only

Former Member
0 Likes
517

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

Read only

ferry_lianto
Active Contributor
0 Likes
517

Hi Mohan,

Please check your email.

Regards,

Ferry Lianto

Read only

0 Likes
517

Thanks a lot Ferry & Vicky .

Read only

Former Member
0 Likes
517

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>