‎2004 Dec 03 8:42 PM
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
‎2004 Dec 03 8: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.
‎2004 Dec 03 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?