Application Development 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: 

Error BAPI_ACC_DOCUMENT_POST, balance in transaction currency.

Former Member
0 Kudos

Hi,

I have a requirement where in i have to simulate FB01 using the BAPI BAPI_ACC_DOCUMENT_POST. Data will be uploaded using a file having more than 2000 records given that the file is balanced, Credit and Debit equals Zero.

Now since a Posting doc can have only 999 line items, correct me if wrong, I create batches of 998 items and then a clearing row in each batch, incase credit and debit difference is not Zero. So i add the corresponding amount in the account GL table of Bapi in this clearing row, incase the difference is not Zero.

Now, the error is that this particular clearing row has no effect when the batch is posted using the BAPI and i get the error as

Balance in Transaction Currency. The amount displayed is the same as added in clearing row to balance the batch, implying that system summed up Negative and Positive amount values without considering the amount in the clearing row.

I am not using any extension table. Please reply back with your comments.

Regards,

Tarun

1 REPLY 1

former_member182354
Contributor
0 Kudos

In which ECC version are u doing it ??

Are u doing the clearing line item through coding or manually?

Raghav