Skip to Content
0
Former Member
Sep 17, 2007 at 05:19 PM

Problem during BAPI_TRANSACTION_COMMIT

605 Views

I have a custom program that performs mass final confirmations by calling IW41 and then IW32. In performing IW41, I'm using the BAPI 'BAPI_ALM_CONF_CREATE' and then 'BAPI_TRANSACTION_COMMIT'. Then it will do a BDC for IW32 to update the user status.

My problem occurs for orders with more than 1 operations. After the BAPIs are called successfully or with errors, by the time it calls IW32 I get this error 'E 0020/Order 30005161 is already being processed by', sy-uname.

Also, how can I capture other messages during the BAPI_TRANSACTON_COMMIT. For example, I get this pop-up message 'The dates for at least one order are not current'. How can I avoid these messages that pop-ups? Is it possible to prevent this pop-ups and instead just capture the messages and display them as a log report?

Comments and suggestions for these 2 issues are highly appreciated.