06-16-2011 3:01 AM
Hello all,
I have a requirement that I need to post an offseting entry to an accounting document that is already posted. The functionality is exactly like the entry that gets created during the original document's reversal. I need all the information including exchange rate to be the same as that of the original document. But what got debited in the original doc. should be credited in the new doc. and vice versa.
Is there any Function Module , BAPI available with which I can achieve this ?
Regards,
Ratheesh
06-20-2011 4:54 PM
Hi,
If you want to reverse the accounting document, you can use FM : BAPI_ACC_DOCUMENT_REV_POST for that.
If you want to tranfer the title, then use FM : BAPI_ACC_DOCUMENT_POST, refering the original document. Here you need to read credit and debit G/L a/c and transfer details to new Credit / Debit G/L accounts.
Let me know if it helps you. Thanks.