‎2007 Mar 08 1:27 PM
hi,
i read from post saying that need to call the following to commit if using bapi. not all bapi FM need to perform the following after executed, right? only for update bapi FM i need to use this?
thanks
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
EXPORTING
wait = 'X'.
‎2007 Mar 08 1:31 PM
Hi,
The function of the BAPI finally is going to update the Database table...
So, it tis necessary to use bapi_transaction_commit to update the table,
if not the data will not be saved to the table..
the function will be rollbackedd without any changes made...
Cheers,
SImha.
<b>
Reward al the helpful answers..</b>
‎2007 Mar 08 1:29 PM
yes while updating the database table we need to call this commit.
‎2007 Mar 08 1:31 PM
most of the standard BAPI will have BAPI_TRANSACTION_COMMIT....but there are few BAPI like one for Sales order which will not have COMMIT BAPI...in that instance you need to call the commit BAPI in the end for updating the database table
‎2007 Mar 08 1:31 PM
Hi,
The function of the BAPI finally is going to update the Database table...
So, it tis necessary to use bapi_transaction_commit to update the table,
if not the data will not be saved to the table..
the function will be rollbackedd without any changes made...
Cheers,
SImha.
<b>
Reward al the helpful answers..</b>