Application Development 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: 

Calling Multiple BAPI's - LUW problem

Former Member
0 Kudos

Hi All,

I am calling multiple BAPI's in a program. After Executing First BAPI - the database is updated after the commit work . but for the second BAPI the database is not commited.

Any Suggestions.

Thanks in Update.

Rk.

3 REPLIES 3

Former Member
0 Kudos

Did you use BAPI_TRANSACTION_COMMIT to commit changes?

0 Kudos

Yeah I did . The first bapi updates the database but not the second one .

0 Kudos

Hi,

1) Are you getting any error messages after the second call?

2) Are you calling the COMMIT WORK BAPI after each call, or just once after calling the BAPI twice?

3) Is the second BAPI call dependent on the first BAPI call in terms of data?

Provide more info on the BAPI you are calling and a code snippet of the program structure, the more information you provide, the more information you will get back from the forum.

Regards,

Chen