Symptom
When creating supplier invoice using API Supplier Invoice - OData V2, error "Only fill fields 'ReferenceDocument, -FiscalYear, -Item' (table 'to_SuplrInvcItemPurOrdRef', row 000001) if GR-based IV is active" happens.
Environment
SAP S/4HANA Cloud Public Edition
Cause
The GR-Based IV indicator is not set in the purchase order.
Parameter ReferenceDocument, FiscalYear, Item in node "to_SuplrInvcItemPurOrdRef" is only need to be maintained if the GR-Based IV indicator is set in purchase order.
Resolution
If the GR-Based IV indicator is not set in the PO, please delete the parameter ReferenceDocument, FiscalYear, Item in node "to_SuplrInvcItemPurOrdRef".
Keywords
API_SUPPLIERINVOICE_PROCESS_SRV, Supplier Invoice - OData V2, ReferenceDocument, FiscalYear, Item, to_SuplrInvcItemPurOrdRef, GR-Based IV , KBA , MM-FIO-IV-2CL , Fiori UI for Invoice Verification (Public Cloud) , Problem