Application Development and Automation 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: 
Read only

BAPI_TRANSACTION_ROLLBACK for simulation

Former Member
0 Likes
408

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

1 REPLY 1
Read only

Former Member
0 Likes
341

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