‎2009 Dec 16 4:48 AM
Hi,
I am using BAPI_ACC_DOCUMENT_POST for clearing open items.
When i post the same in F.13 (automatic clearance ) there is no error log,when i do in BAPI_ACC_DOCUMENT_POST
its returns two errors.
609 Error in document: IDOC 010000008410012009 CKDCLNT140
702 Balance in transaction currency
Header details are given as per certain sdn suggestions.
note: i have changed the G/L account as automatic account (if i am using original G/L account its throwing an error msg
such as direct posting not possible).
Can any one help to get through this??
Edited by: sangeearvind on Dec 16, 2009 12:24 PM
‎2009 Dec 16 11:31 AM
Hi
The first problem is you're using the wrong BAPI: BAPI ACCDOCUMENT_POST is to post account document, not to clear open item.
I don't think there's a BAPI to do it
Max
‎2009 Dec 17 3:49 AM
Hi,
I am using this BAPI for clearing the accounts document .
For example customer A has to pay 10000(debit) and when he pays 10000(credit).
His debt is cleared.(partial payment also accepted) .
This should be done with a BAPI .
Can any one help me?