cancel
Showing results for 
Search instead for 
Did you mean: 

BAPI with XI

Former Member
0 Kudos

Hi Everyone,

What r the things that should be taken into consideration with a SAP BAPI involved in the scenario?

As the SAP BAPIs will not have any COMMIT WORK statement.

What will happen if that statement is not there? What should be done in this case?

-Naveen.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Naveen,

If the BAPI that you are using does not have COMMIT WORK statement in it, wrap the BAPI in a custom RFC function which has the Commit Work statement. I dont think it will work without the commit work statement. Go through this blog by michal where FM Z_BAPI_GOODSMVT_CREATE_BGROUND

is the wrapper for the BAPI:-

/people/michal.krawczyk2/blog/2005/05/09/how-to-call-a-bapi-asynchronously-from-xi--with-qrfc

:What r the things that should be taken into consideration with a SAP BAPI involved in the scenario?"

Do have a look at the following blogs...they might help you..

/people/swaroopa.vishwanath/blog/2005/03/11/rfc-migration-to-bapi-in-r3--step-by-step

/people/sap.user72/blog/2004/07/19/navigating-the-maze-of-integration

Regards,

Sushumna

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

For BAPI, in the RFC adapter you can give explicit commit.

http://help.sap.com/saphelp_nw04/helpdata/en/c8/e80440a832e369e10000000a155106/content.htm

Advanced Mode

Send 'Confirm Transaction'

Commit Control for Individual BAPI Calls

Regards

Vijaya

Former Member
0 Kudos

Hi Vijaya,

I have developed the File-RFC-File interface using BPM. When we are testing it, there were no errors in processing, but the RFC response is not having the values in it and it is saying the company ID is not existing.

When we test the BAPI using SE37, it is returning the correct values.

The BAPI i am testing is BAPI_COMPANY_GETDETAIL.

Please let me know if I miss something some where.

Thanks

Kalyan