how to commit data using BAPI_ACC_DOCUMENT_POST
I am calling a BAPI_ACC_DOCUMENT_POST from external system. As an output I received
but the data is not actually committed to the DB.
I know I need to execute BAPI_TRANSACTION_COMMIT. That is my question: How to execute this BAPI_TRANSACTION_COMMIT without any modification of BAPI_ACC_DOCUMENT_POST.
During the tests I have done directly into the dev system in test mode I put some input data and get a result then I have executed in a separate transaction BAPI_TRANSACTION_COMMIT but it do nothing. I mean still document is not committed.
can you please advice?
I found the answer
there is an option to execute both BAPIs in a sequence
SE37 Menu- function module - test - test sequences