Skip to Content
0
Former Member
Dec 02, 2005 at 02:50 PM

FI Reverse Document BAPI

4933 Views

Hi

I'm reversing FI documents using BAPI_ACC_GL_POSTING_REV_POST and BAPI_ACC_DOCUMENT_REV_POST, however I'm confused about how this works in comparison to manually reversing a document via FB08.

I am calling the BAPI from within the same system that the FI documents are posted in.

I've got two queries:

1. When using FB08 the reversal reason is updated in the document I am reversing. When using BAPI the reason is being updated in the reversal document instead?

2. When using FB08 the reversal document is created and the Reference Key automatically contains its own FI number. But when using the BAPI I have to pass the OBJ_KEY of the reversal document - how would I know what that would be before the BAPI has created the reversal document??

Thanks