Hi,
I am trying to post a document of type DR (simulating transaction FB70) using BAPI_ACC_DOCUMENT_POST function.
The function returns success code (605) and the message that document was successfully posted but indeed it is not in the database. I have tried to call this BAPI from ABAP program and from non-SAP system using RFC enabled wrapper function that calls this BAPI. I need this wrapper function in order to perform some checking routines before calling BAPI. The result was the same. I have tried to debug the code. There are a lot of calls to functions in update mode in BAPI_ACC_DOCUMENT_POST function logic but I was unable to find the commit work statement. It seems, that changes were not committed to the database.
Any help would be very appreciated.
Regards,
Gediminas