‎2009 Nov 12 8:57 AM
Hi,
While using BAPI_INCOMINGINVOICE_CREATE to post an invoice with a purchase order (MIRO), we are getting the error message
"Balance not zero: 165.60 debits: 0.00 credits: 165.60".
Please help us to detect where the error is.
We are entering values in 'ITEMDATA', 'GLACCOUNTDATA' and 'HEADERDATA' segments.
In 'ITEMDATA', we are giving the debit_creditor indicator as 'S' and in 'GLACCOUNTDATA' we are giving the debit_creditor indicator as 'H'.
In both 'ITEMDATA' and 'GLACCOUNTDATA' we are providing the item amount as 165.60.
In header data we have not provided a value for 'GROSS_AMOUNT'. (Even if we provide value of '165.60' in header, we get a similiar error)
The PO has got onlly one line item.
This is a high priority issue. Please help.
Thanks,
John
‎2009 Nov 12 1:26 PM
John,
I think we need to post debit and credit entries in the 'GLACCOUNTDATA' for the same amount.
Regards,
Kiran Bobbala