‎2008 May 17 11:10 AM
Hi everybody
I want to clear two fi-ca document each other (invoice and a credit memo)
At the moment I use teh bapi BAPI_CTRACCONTRACTACCOUNT_GOI1 to get the open items and clear them
withe the bapi BAPI_CTRACCONTRACTACCOUNT_CLR ! I
It works fine only with documents which has the same amount! What I have to do when I want clear a invoice and creaditmemo document with different amounts ??
Thank you for help!
‎2008 May 17 11:31 AM
Hi,
To clear any FI documents both the total debits and credits must match, otherwise there is a balance outstanding...
You should be able to clear the Invoice, Credit Memo and incoming receipt, as long as they all add upto zero.
Sometimes you can apportion differences off to a suspense/holding account... Speak to your FI team for more information.
Reward if helpfull...
Cheers,
Rakesh.
‎2021 Nov 16 9:46 AM
Hi,
you must set the field manual_distribution to 'X' in the table openitems before you call BAPI_CTRACCONTRACTACCOUNT_CLR.
Kind regards