Skip to Content
author's profile photo Former Member
Former Member

BAPI with XI

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.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Aug 02, 2006 at 03:17 AM

    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

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Aug 02, 2006 at 03:17 AM

    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

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      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

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.