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

BAPI _ACC_DOCUMENT_POST for clearing open items

Former Member
0 Likes
2,982

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

2 REPLIES 2
Read only

Former Member
0 Likes
1,143

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

Read only

0 Likes
1,143

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?