10-02-2008 12:21 PM
Hi
Can I execute some bapi several times and after that, if no error occurs, call the bapi_transaction_commit a single time?
Because I'm doing this, it is generating an inconsistency, and the SAP Active Global Support tell me that I must call the commit for each bapi execution.
Inside the bapi, there are some perform on commit that does not works when are stacked. Only the first one is triggered after the commit
Thanks
Darley.
10-02-2008 1:04 PM
You have to call COMMIT after each call of BAPI otherwise It won't update.
10-02-2008 12:22 PM
10-02-2008 12:32 PM
Hello
Logic:
call function 'BAPI_1_....'.
call function 'BAPI_TRANSACTION_COMMIT' EXPORTING WAIT = 'X'.
* do anything here
call function 'BAPI_2_....'.
call function 'BAPI_TRANSACTION_COMMIT' EXPORTING WAIT = 'X'.
* do anything here
call function 'BAPI_3_....'.
call function 'BAPI_TRANSACTION_COMMIT' EXPORTING WAIT = 'X'.
10-02-2008 1:04 PM
You have to call COMMIT after each call of BAPI otherwise It won't update.