‎2008 Feb 13 11:12 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!
regards
Arne Krieger
‎2008 Mar 03 6:48 PM
I need a small help. Even I am trying to use the same BAPI in following way -
CALL FUNCTION 'BAPI_CTRACCONTRACTACCOUNT_CLR'
EXPORTING
documentheader = <clearing_doc_header>
IMPORTING
return = <return>
documentnumber = <number>
TABLES
openitems = it_citemno.
where 'it_citemno' internal table contains output of BAPI 'BAPI_CTRACCONTRACTACCOUNT_GOI'. However it's not working fine with the error message - 'Formal error: Document contains no items / clearing items'.
Can you help me in using this BAPI by giving some sample code or tips ?
‎2009 Jun 12 1:08 AM
Hi!
We are having the same problem. Amol did you find a solution for this problem?
Kind regards,
Mário Espinheira
‎2010 Jan 25 9:52 AM
Hi Arne,
How did you get to successfully run this BAPI? What were the parameters you've enterred?
Regards