cancel
Showing results for 
Search instead for 
Did you mean: 

BAPI_INCOMINGINVOICE_CREATE not triggerring error for Gross Rs.0

sivaramang1511
Participant
0 Kudos
538


Hi,

I'm using BAPI_INCOMINGINVOICE_CREATE for posting Invoices, it is worked fine till days, now I got a problem with particular Purchase order.

By maintaining Gross Amount Rs.0, I tried to post the Invoice, it didn't give any return[] data ( No Error), return table is simply blank.

When I tried with same Purchase Order in MIRO, it gives me Balance amount to be maintained in Gross Amount.

How is it possible to behave inappropriate way, when both records are same one?

Please help me, urgent

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Siva raman,

If i am not wrong,some times we should have custom validations.

You can have validation on gross_amount field.

if it is not empty then only call the BAPI else displpay custom error message as " Balance amount to be maintained in Gross Amount".

sivaramang1511
Participant
0 Kudos

Hi Ganga Shinde

As per the Program if the BAPI accepts 'blank' Gross field, it means, if I add further amount in gross, it takes as more than actual to be paid

and Addidtionally tax calculation is too there. everything is working fine in MIRO, but not through this BAPI

Please Help me

Former Member
0 Kudos

Hi Siva raman,

Please refer to the below link.

https://secure.clearbooks.co.uk/community/problems/4798/the-invoice-cannot-have-a-gross-value-that-i...

Invoice posting is possible with zero balance.Hence BAPI is allowing the zero amount in gross amount field.

You can have a look on the below program.

Program : lbbpiu01