Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

bapi transaction commit

Former Member
0 Likes
19,859

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'.

1 ACCEPTED SOLUTION
Read only

Simha_
Product and Topic Expert
Product and Topic Expert
0 Likes
12,415

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>

3 REPLIES 3
Read only

Former Member
0 Likes
12,415

yes while updating the database table we need to call this commit.

Read only

Former Member
0 Likes
12,415

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

Read only

Simha_
Product and Topic Expert
Product and Topic Expert
0 Likes
12,416

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>