Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

rollback a call transaction

Hi ,

While calling transaction Co11  in background sometimes there is error due to locks .

The issue is that good issue and confirmation happens but not good receipt because of this error .

If the error is occurring during goods receipt , i have used "BAPI_PRODORDCONF_CANCEL'"

Do we need to write commit & rollback to revert the goods issue & confirmation

Call transaction C011....

if sy-subrc <> 0 .

BAPI_TRANSACTION_ROLLBACK

endif.

Kindly suggest

Former Member
Not what you were looking for? View more on this topic or Ask a question