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

Please guide me for outbound interface

manoj_goyal2
Participant
0 Likes
2,349

Hi,

I have given a task to create an outbound interface from SAP to pass the data to non-SAP system. We don't have PI/XI. Can anybody give some idea to accomplish this task.

Example: if we create Sales order using VA01 and after we press SAVE, then some data like Customer number , Name , Document#, Total Amount. is passed into non-sap system. I know, I have use user-exits in VA01 to trigger the transfer to non-sap system.

Is it possible thru outbound BAPI, If yes, what are the steps to configure the connections between SAP and non-SAP

Thanks,

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,512

Hi,

If you want to connect SAP and non-system directly, we have number of ways....

1. Outbound RFC function module/BAPIs: RFC destination should be configured with the respective type in SM59 (based on the target system)

2. Outbound IDOC with file port type: This will allow you to create file in Application server or other FTP servers...

3. Write a program to create file in the application server and execute FTP commands to send the files to the target.. etc

For the above all methods, triggering point is ECC program.

But if you plan for the Non-SAP system to request ECC for getting data,

a) Create an inbound RFC/BAPI: We have APIs in Java/.Net to fire RFC request to ECC (Request will be in XML format)..

b) Create an inbound RFC/BAPI and expose it as web service...

4 REPLIES 4
Read only

Former Member
0 Likes
1,513

Hi,

If you want to connect SAP and non-system directly, we have number of ways....

1. Outbound RFC function module/BAPIs: RFC destination should be configured with the respective type in SM59 (based on the target system)

2. Outbound IDOC with file port type: This will allow you to create file in Application server or other FTP servers...

3. Write a program to create file in the application server and execute FTP commands to send the files to the target.. etc

For the above all methods, triggering point is ECC program.

But if you plan for the Non-SAP system to request ECC for getting data,

a) Create an inbound RFC/BAPI: We have APIs in Java/.Net to fire RFC request to ECC (Request will be in XML format)..

b) Create an inbound RFC/BAPI and expose it as web service...

Read only

0 Likes
1,512

Thanks Joseph for your input.

Lets say I go with RFC/BAPI method and I want to pass the data to non-SAP in real time using non-SAP systems .NET API.  Non-SAP API will create record in it. How I can achieve this. Any input on this is really appreciate. How I can tie SAP BAPI to non-SAP API. And what if non-SAP system is down for any reason, it that case no data will be created in it.

Thanks in advance.

Read only

0 Likes
1,512

Hi Manoj,

As your system is .Net based, it is better you create a SOAP based web service (.asmx) and consume it from SAP-ECC directly..

1) Create a SOAP based web service in .Net

2) Create the Service consumer in ECC from SE80 by giving web service URL.... This will give you outbound proxy created..

3) call the outbound proxy from a trigger program....

Read only

kirill_smirnov
Explorer
0 Likes
1,512

Hi Manoj,

I do also strongly suggest you to ask what format/protocol is favourable on the "other" side.

Speaking about technologies, I would also like to add ABAP/4 proxies to the list. This mechanism makes things much easier in case you have a web-service on the other side (you may import the WSDL-definition and create a class with all the datatypes automatically using a WSDL import wizard).

Another thing to consider is the type of a business object you would like to export. Check on http://esworkplace.sap.com whether this business object does have its standard inbound/outbound interfaces.

Cheers,

KS