‎2009 Feb 19 2:37 PM
Hello,
I call the BAPI_TRANSACTION_COMMIT but would like to use the BAPI_TRANSACTION_ROLLBACK when the user chooses test mode on the selection screen. Objects are being filled with BAPI_ALM_ORDER_MAINTAIN. The BAPI_TRANSACTION_ROLLBACK is being called when there's an error, but will it work if I have a condition for test or simulate?
Thanks,
AJ
‎2009 Feb 27 8:09 PM
Yes, you can use the BAPI_TRANSACTION_ROLLBACK conditionaly also. It is generaly called to rollback if any error occured, but in specific cases it is used just to ensure the BAPI will not fail.
Thanks,
Ipsita