Skip to Content

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

how to commit data using BAPI_ACC_DOCUMENT_POST

Dear All,

I am calling a  BAPI_ACC_DOCUMENT_POST from external system. As an output I received

OBJ_TYPE

OBJ_KEY

OBJ_SYS

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?

regards,

Ivan

Former Member
Former Member replied

Solved !

I found the answer

there is an option to execute both BAPIs in a sequence

SE37 Menu- function module - test - test sequences

execute

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question