Skip to Content
Former Member
Jul 09, 2007 at 12:36 PM

BAPI_ACC_DOCUMENT_POST cannot be rolling back


Hi all,

Apparently, when I do G/L posting with BAPI_ACC_DOCUMENT_POST, everything was smooth and FI document created. Due to the requirement, user will have a test mode (test run), where if run in test mode, BAPI_TRANSACTION_ROLLBACK is called, else, BAPI_TRANSACTION_COMMIT shall be triggered.

I am having no issue with BAPI_TRANSACTION_COMMIT, but BAPI_TRANSACTION_ROLLBACK. My FI document number, bkpf-belnr keeps on increase though rollback is called. I even using FREE MEMEORYstatement, but having no luck as well.

Do you guys have any idea on this?

Thanks and regards,


(P/S: Points will be rewarded for useful answers)