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: 

Error in BAPI_TRANSACTION_COMMIT

Former Member
0 Kudos

Hi,

I am trying to commit after calling Sales order create BAPI twice and change BAPI once in my Inbound proxy and I am getting some runtime errors. The problem is the BAPI is not even coming back to the program with the errors, a table pops up with errors and it just hangs in there. The termination messages is Abort with the error 'Internal error when saving Itemization'. Does anyone have ne idea atleast I should capture these error messages and send it back, it should not be just hanging there. Any help would be greatly appreciated.

Thanks,

David.

1 REPLY 1

Former Member
0 Kudos

hi,

Commit work is used when you code directly in ABAP and make changes in the database and

want to commit the database.

BAPI_TRANSACTION_COMMIT is used when you make changes to the SAP database by calling

a BAPI from outside SAP and want to commit the database. When you use a BAPI, you can not

directly use commit work, instead you are allowed to use only

BAPI_TRANSACTION_COMMIT.

for more information check the following link:

http://www.sap-img.com/bapi.htm

Regards,

Bhaskar