cancel
Showing results for 
Search instead for 
Did you mean: 

Limitations of using BAPIs in XI

former_member187437
Contributor
0 Kudos

Hi all,

Can someone please explain what are the limitaions of using BAPIs in XI. what I have understood is, explicit commit BAPIs cannot be used since xi doesnt support session handling. But this can be overcome by using a wrapper function.

But when to use synchronus and asynchronous bapis. What are the pros and cons of using synchronous BAPIs and asynchronous BAPIs.

Accepted Solutions (1)

Accepted Solutions (1)

vikas_agarwal
Contributor
0 Kudos

Hi Aarthi,

Xi provides the facility to Commit BAPI's,

Go to the receiver RFC adapter, check "Advanced mode" there, it will Commit the BAPI by executing "BAPI_TRANSITION_COMMIT" after your bapi.

Read this :

http://help.sap.com/saphelp_nw70/helpdata/en/cd/d85a9d6fab7d4dbb7ae421f710626c/frameset.htm

Thanks

Answers (5)

Answers (5)

Former Member
0 Kudos

@Vikas you send the link of JMS in place of RFC..

Not to worry ..

"To err is human to forget is divine.."

Regards,

vikas_agarwal
Contributor
0 Kudos

Hi Santosh,

Thanks for pointing my error.

The correct link is:

http://help.sap.com/saphelp_nw70/helpdata/en/c8/e80440a832e369e10000000a155106/frameset.htm

Thanks

Former Member
0 Kudos

Aarthi,

Fully agreed with vikas...<b>using RFC adapter in advance mode you can do auto commit..</b>

--->But when to use synchronus and asynchronous bapis. What are the pros and cons of using synchronous BAPIs and asynchronous BAPIs

<b>BAPI's are usually FM with import and export parameters..it's up to you whether you want to use the export parameter or not..If not you can simply call the BAPI with in a proxy..

If not call directly through RFC adapter..</b>

Feel free to clarify any doubts..

Regards,

former_member184619
Active Contributor
0 Kudos

Hi Aarthi,

We can commit the BAPI's by using the advance mode in RFC adapter...

Check this link-> Advance mode

http://help.sap.com/saphelp_nw70/helpdata/en/c8/e80440a832e369e10000000a155106/frameset.htm

Sachin

Former Member
0 Kudos

Hi Aarthi.

We use BAPIs mostly in a Synchronous scenario where you expect a response back from the R3 system to the data you sent. Just like Sending some PO data to R3 and you need the SO number back once the SO is created.

For an Async. Scenario, the most preferrable one is IDOC.

Regards,

Hari.

GabrielSagaya
Active Contributor
0 Kudos

BAPI Function will not allow Comiit work so we use BAPI_TRANSACTION_COMMIT