Application Development and Automation 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: 
Read only

FI-CA automatic clearing

Former Member
0 Likes
739

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!

2 REPLIES 2
Read only

Former Member
0 Likes
622

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.

Read only

0 Likes
622

Hi,
you must set the field manual_distribution to 'X' in the table openitems before you call BAPI_CTRACCONTRACTACCOUNT_CLR.

Kind regards