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
1,074

hi to all ,

i uploaded data into database by using bapi function modules.is i should end with bapi_transaction_commit.after doing this also my data base is not updated

8 REPLIES 8
Read only

Former Member
0 Likes
930

Hi ... try to putted WAIT into the bapi_transaction_commit MF.

Thanks and Regards.

David Carballido

Read only

Former Member
0 Likes
930

Welcome To SCN.

Put a break point at your BAPI & check the BAPI Table parameter have updated with your required data or not?

Read only

0 Likes
930

could you provide more details about problem

which BAPI you are using..for what business purpose you are using BAPI.

Regards,

Amit R.

Read only

0 Likes
930

Hello Ankal,

Yes you will have to use BAPI_TRANSACTION_COMMIT for updating data to database.

Give the WAIT parameter in BAPI_TRANSACTION_COMMIT as 'X'.

Regards

Farzan

Read only

praveen_kumar132
Participant
0 Likes
930

Hi ,

can u tell me which BAPI u r using .. and while passing records to BAPI have u done error handling before that ..

Read only

Former Member
0 Likes
930

hi,

can u exlpain in detail for what trancation you used bapi.. you mightr have missed some fields that are used for updation or might have been you are using a wrong bapi.

regrads

janani

Read only

Former Member
0 Likes
930

Hi,

Call the BAPI transaction commit function module like below.

CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'

EXPORTING

wait = 'X'.

Before calling this function module check the bapi return type if it is 'S' only call the BAPI transaction commit function module

Thanks,

Naveen kumar.

Read only

Former Member
0 Likes
930

Hi,

For all the bapi's we need to execute 'bapi_transaction_commit' . By default bapi's are not auto commited, we need to explicitly call the bapi_transaction_commit'. If you are passing huge amount of data you need to pass some value to wait parameter else 'X'.

Regards,

Naresh.