Skip to Content

Limitations of using BAPIs in XI

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.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

6 Answers

  • Best Answer
    Posted on Dec 03, 2007 at 11:39 AM

    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

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Dec 03, 2007 at 06:12 AM

    BAPI Function will not allow Comiit work so we use BAPI_TRANSACTION_COMMIT

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Dec 03, 2007 at 11:33 AM

    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.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Dec 03, 2007 at 11:45 AM

    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

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Dec 03, 2007 at 12:41 PM

    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,

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Dec 03, 2007 at 12:51 PM

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

    Not to worry ..

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

    Regards,

    Add a comment
    10|10000 characters needed characters exceeded

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.