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

How make a BAPI without COMMIT

In SAP 4.6D after invoking a BAPI (without COMMIT WORK)are updated the DB automatically. I need take commit control via RFC.

I need call a BAPI via RFC an then call BAPI_TRANSACTION_COMMIT or BAPI_TRANSACTION_ROLLBACK via RFC in the same session to control the global transaccion.

How I make a BAPI without autocommit ?

Thank you,

Alejandro

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Posted on Dec 03, 2004 at 08:48 PM

    Why don't you create a custom RFC function module that will call that Bapi and depending on the result, will call Bapi commit or rollback. In your remote system, call that RFC function module.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Dec 03, 2004 at 11:13 PM

    If I understand you correctly, you do not want a BAPI call to automatically commit the updates to the database until you make an explicit call to BAPI_TRANSACTION_COMMIT.

    This is how all BAPI's should behave. If you are calling standard BAPI's they should behave just the way you want.

    Could you please let me know which BAPI are you having problem with?

    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.