07-30-2009 5:04 PM
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
08-03-2009 8:13 AM
In which ECC version are u doing it ??
Are u doing the clearing line item through coding or manually?
Raghav