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: 

Transfer of data from SAP R/3 to XI using BAPI

Former Member
0 Kudos
74

Hi All,

there is an requirement, I have to transfer the Process Order from SAP to XI using standard BAPI objects BAPI_PROCORD_GETDETAIL, we can use ABAP Proxy to BAPI scenario.can anyone Please elaborate on this and help me to achieve this scenario .

Thankyou

1 ACCEPTED SOLUTION

Former Member
0 Kudos
45

Hi swapna,

Need one clarification, Is it possible from IDOC->BAPI?

yes of course but why use bapi?

you cannot monitor BAPIs in the target system

as you can idocs so try idocs if you have no particular

reason to use BAPIs

IDOC -> File scenario ref:

/people/prateek.shah/blog/2005/06/08/introduction-to-idoc-xi-file-scenario-and-complete-walk-through-for-starters

File -> IDOC ->

/people/anish.abraham2/blog/2005/12/22/file-to-multiple-idocs-xslt-mapping

Regards

Kiran Sure

Message was edited by:

Kiran Sure(skk)

3 REPLIES 3

Former Member
0 Kudos
46

Hi swapna,

Need one clarification, Is it possible from IDOC->BAPI?

yes of course but why use bapi?

you cannot monitor BAPIs in the target system

as you can idocs so try idocs if you have no particular

reason to use BAPIs

IDOC -> File scenario ref:

/people/prateek.shah/blog/2005/06/08/introduction-to-idoc-xi-file-scenario-and-complete-walk-through-for-starters

File -> IDOC ->

/people/anish.abraham2/blog/2005/12/22/file-to-multiple-idocs-xslt-mapping

Regards

Kiran Sure

Message was edited by:

Kiran Sure(skk)

0 Kudos
45

Hi Kiran,

thanks for your answer.

but it is not possible thru IDOCS as there is no standard idoc provided for this document and it has to be done thru BAPI.

0 Kudos
45

Hi Swapnali,

In your case you have to send process order to XI and you have a bapi that satisfies your requirement.

Here the solution depends what is the triggerring point of the Interface.

If you want that from SAP side Interface should be triggered, then Use ABAP proxy program

You have to craete a Abap proxy class using outbound message interafce defined in IR of XI.This can be done by transaction SPROXY.

Then create a program that call sync/async method that is created by Sproxy t.code.

In this way , when u will execute the proxy program in R/3 , then call will be made to BAPI in Sap from XI server and u will get output back to your proxy program.

If your requirement is to not to trigger from SAP then nothing is required in R/3 side.

In XI , Bapi will be added in imported objects in Integration repository and bapi will be called.

Hope this will help u.

Please revert in case of queries.

Regards,

Monica