04-24-2007 4:29 PM
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.
04-24-2007 9:27 PM
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