Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

FM to create offseting entry to an Accounting Document

Former Member
0 Kudos

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

1 REPLY 1

atul_mohanty
Active Contributor
0 Kudos

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.