Skip to Content
avatar image
Former Member

BAPI_PO_CREATE1 and BAPI_TRANSACTION_COMMIT

HI gurus,

Currently I have an RFC call from PI to SAP FM BAPI_PO_CREATE1, but tables are not updated in SAP.

when I run the bapi in ECC6 I need to run the following BAPIs in sequence to make it work:

1) BAPI_PO_CREATE1

2)BAPI_TRANSACTION_COMMIT

now, my question is, if RFC is calling from PI, then, do I also need to call the BAPI_TRANSACTION_COMMIT in sequence from PI?

I found the note 187687 that mentions that it is required the commit with the BAPI_PO_CREATE, but not sure about BAPI_PO_CREATE1

https://websmp130.sap-ag.de/sap(bD1kZSZjPTAwMQ==)/bc/bsp/sno/ui_entry/entry.htm?param=69765F6D6F64653D3030312669765F7361…

Do you know the answer to it?

thanks so much

Ivan

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Best Answer
    Jan 08, 2015 at 09:46 PM

    Ivan,

    Data change can be committed from RFC channel in SAP PI. Link.

    "If executed successfully, the transaction is written to the database by calling the function module BAPI_TRANSACTION_COMMIT explicitly."

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jan 09, 2015 at 07:00 AM

    Hello Ivan,

    In the RFC Communication Channel:

    Check Advance Mode then activate Commit Control for Individual BAPI Calls.


    If you want this COMMIT work to behave in synchronous way than add the following name value pair to the table:

    • Name: BAPICommitWait
    • Value true


    Pradeep

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jan 09, 2015 at 08:01 AM

    thanks all for your replies. It is clear now.

    thanks and regards

    Add comment
    10|10000 characters needed characters exceeded