cancel
Showing results for 
Search instead for 
Did you mean: 

Balance not zero: 165.60 debits: 0.00 credits: 165.60

Former Member
0 Kudos

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

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member181962
Active Contributor
0 Kudos

Hi,

Post your query here in ABAp forum:

Regards,

ravi

Former Member
0 Kudos

Hi,

It is an MM/FICO issue. Not an ABAP issue. I am testing the BAPI as stand alone, not from any ABAP program.

Thanks,

John

former_member181962
Active Contributor
0 Kudos

Then post it here:

(MM or)

(FI-CO)

Regards,

Ravi

former_member187339
Active Contributor
0 Kudos

Hi John,

>>It is an MM/FICO issue

FICO question, then post it to SAP Community Network Forums » SAP Solutions » ERP Financials

BTW you can try debugging the BAPI to see the root cause of the error

Regards

Suraj