Solution : https://service.sap.com/sap/support/notes/516198 (SAP Service marketplace login required)
Summary :
When using the BAPI function 'BAPI_INCOMINGINVOICE_CREATE' for direct G/L account invoice postings, users must enter a tax code in the TAX_CODE field of GLACCOUNTDATA, even if the G/L account is not tax relevant. This is required due to a program error that wrongly treats TAX_CODE as mandatory. The issue is resolved in SAP Release 4.7 and the corresponding Support Package for 4.6C. Users looking for an immediate fix can refer to the correction instructions provided. Post-fix, error M8375 will only trigger if the tax code is missing for tax-relevant G/L accounts.
Key words :
generates error message m8375 'fill, bapi function module 'bapi_incominginvoice_create', bapi function module, table parameter t_glaccountldata, tax code field, mandatory field tax_code, interface structure glaccountdata, error message, program error, field tax_code
Related Notes :
486726 | BAPI: Direct posting to material or G/L account |
453646 | BAPIs: No direct posting to G/L account/material |