06-10-2013 10:53 AM
Hello All,
I have to use the BAPI BAPI_ACC_DOCUMENT_POST for doing of reversal of FI document so that special ledger(SL) document also gets created.
Currently I am using BAPI BAPI_ACC_INVOICE_REV_POST for reversal, but FI document is getting created, but special ledger(SL) document is not getting created. When I checked forums, some suggested to use BAPI BAPI_ACC_DOCUMENT_POST for reversal. Let me know the parameters which needs to be passed to this BAPI so that reversal happens. Also let me know if it would create SL document as well.
Thanks in Advance.
Regards,
M M Jaffer.
06-11-2013 5:59 AM
You can try using function: 'BAPI_ACC_DOCUMENT_REV_POST',
the input parameters will be: company code, reason for reversal, fiscal period, doc. number and accounting principle against reversal and business transaction (GLVOR) against bus_act.
You can use 'BAPI_ACC_DOCUMENT_REV_CHECK' before using the post BAPI.
Regards,
Gopal
06-10-2013 12:40 PM
Did you look at BAPI_ACC_DOCUMENT_REV_POST, or what is your version ?
Regards,
Raymond
06-11-2013 5:59 AM
You can try using function: 'BAPI_ACC_DOCUMENT_REV_POST',
the input parameters will be: company code, reason for reversal, fiscal period, doc. number and accounting principle against reversal and business transaction (GLVOR) against bus_act.
You can use 'BAPI_ACC_DOCUMENT_REV_CHECK' before using the post BAPI.
Regards,
Gopal
06-11-2013 11:24 AM
Thanks Raymond and Gopal for your inputs.
Just wanted to know whether functionality wise how different is BAPI_ACC_DOCUMENT_REV_POST and BAPI_ACC_INVOICE_REV_POST.
Whether the reversal document (data in it ) created using the BAPI BAPI_ACC_DOCUMENT_REV_POST would be similar)?
Thanks.
M M Jaffer.
06-11-2013 12:05 PM
Basically those are the same program BAPI_ACC_INVOICE_REV_POST is a subset of BAPI_ACC_DOCUMENT_REV_POST (same perform with a hard coded value, take 1 mn to read the source code of both FMs...)
Did you check for OSS notes for your level of SAP, like Note 1415000 - FI reversal: Missing general ledger view/incorrect BELNR, Note 1500000 - FI reversal: Problems with alternative fiscal year variant, etc.
Also you did not write which kind of document you tried ti reverse, how was it posted ?
Regards,
Raymond
06-11-2013 12:16 PM
Hi Mohammed,
BAPI_ACC_DOCUMENT_REV_POST is used to reverse FI accounting document while
BAPI_ACC_INVOICE_REV_POST reverses the corresponding invoice receipt in the Accounting components.
Regards
Pankaj
06-11-2013 12:12 PM