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: 

Inbound Interface - MM Module

former_member1326872
Participant
0 Kudos

Hi,

I'm new in developing Interfaces and to MM module. Can anyone tell me the steps to create an inbound interface, from a vendor to SAP, which will create a ‘Good Issue’ to charge the material and trigger a ‘Reservation’ to replenish the Truck Stock (based on Employee ID and Truck ID) parts from the service Center and a Stock Move when needed.

The data will be triggered by the vendor, WBI will receive the data from the vendor in the form of XML and should in turn be triggering an inbound interafec in SAP to post the data in SAP.

Thank you!

Priya.

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi bhagya,

I have used a inbound FM (BAPI) to post the data. i am not sure if you have to use a BAPI to post in this case but here are few points while developing inbound interface.

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.

1 REPLY 1

Former Member
0 Kudos

Hi bhagya,

I have used a inbound FM (BAPI) to post the data. i am not sure if you have to use a BAPI to post in this case but here are few points while developing inbound interface.

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.