Skip to Content
0
Former Member
Jan 17, 2008 at 03:13 PM

BAPI_INCOMINGINVOICE_CREATE - Error

924 Views

Hi!

I am using the 'BAPI_INCOMINGINVOICE_CREATE' and it is working perfectly. When the bapi returns message number 534 (Balance not zero: 2,00 debits: XX credits: XX) I need to execute again the bapi with the same information and new value in header-gross_amount (+ 2,00 in this case) on runtime, but ocurrs error, the invoicedocnumber and the table return are initial. The fiscalyear is OK.

When I closed the program and execute again with the same information and new value in header-gross_amount (+2) OK, the bapi working perfectly, invoicedocnumber and fiscalyear are filled.

Ideas?

Thanks!