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

BAPI_ACC_DOCUMENT_POST cannot be rolling back

331 Views

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,

Patrick

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