SAP Knowledge Base Article - Public

2944934 - For document type * an entry is required in field Reference

Symptom

Creating an IV invoice via SoaP interface 'SupplierInvoiceS4Request_In'. The posting fails with error message 'For document type RE, an entry is required in field Reference' (F5480).

Environment

SAP S/4HANA Cloud All versions

Reproducing the Issue

Create an invoice in S/4Hana via interface 'SupplierInvoiceS4Request_In'

Cause

Missing data in the payload.

Resolution

In the payload the field 'SupplierInvoiceIDByInvcgParty' corresponds to the header reference field of the invoice. Maintain the field 'SupplierInvoiceIDByInvcgParty'

See Also

Documentation

Keywords

XBLNR, LMRM_BAPIF22, BAPI_INCOMINGINVOICE_CREATE1, CL_MMPUR_INVOICE_INB_HELPER, MAP_INVOICE_HEADER, CL_MMPUR_INVOICE_REQUEST, SupplierInvoiceS4Request_In, SAP_COM_0240. , KBA , MM-IV-GF-ES , Enterprise Services in Invoice Verification , MM-IV-LIV , Logistics Invoice Verification , How To

Product

SAP S/4HANA Cloud all versions