I'm using de BAPI BAPI_INCOMINGINVOICE_CREATE. It works OK, but the Accounting document shows me the Wtax base, Wtax amount and Wtax Code as initials
The vendor in the Master Record for Acounting Information has the W tax Code = AS
When I'm using the MIRO to do the same, the Accounting document generated is complete. And the Amount Split Tab shows me data.
Did I need an extra parameter to use the BAPI?
This is the code that i have in my program
I search the data from the PO to send it into this parameters
CALL FUNCTION 'BAPI_INCOMINGINVOICE_CREATE'
headerdata = headerdata
invoicedocnumber = belnr
fiscalyear = gjahr
itemdata = itemdata
return = return1.