SAP Knowledge Base Article - Public

3620054 - Error SE301 "Service number entered (&) does not exist" when creating supplier invoice using API

Symptom

When using supplier invoice API (e.g. ODATA API API_SUPPLIERINVOICE_PROCESS_SRV or SOAP API ECC_SUPLRINVCERPCRTRC) to create supplier invoice with reference to purchase order, error SE301 "Service number entered (&) does not exist" occurs.

Environment

SAP S/4HANA Cloud Public Edition

Cause

The purchase order is a service PO and has service entry sheet assigned. When creating a supplier invoice for service PO item, it is mandatory to reference a service entry sheet.

However, when creating a supplier invoice via the API, the service entry sheet information is not automatically populated as it is in supplier invoice applications. Therefore, the fields ServiceEntrySheet and ServiceEntrySheetItem must be explicitly specified in the payload.

Resolution

Ensure the ServiceEntrySheetID and ServiceEntrySheetItem fields are specified in the payload when posting supplier invoice for PO with service entry sheets assigned.

Keywords

SE301, service number, supplier invoice, API, API_SUPPLIERINVOICE_PROCESS_SRV, ECC_SUPLRINVCERPCRTRC, S/4HANA Cloud, BAPI, service entry sheet, GR-Bsd IV, service PO, PO item, payload , KBA , MM-IV-LIV-2CL , Logistics Invoice Verification (Public Cloud) , Problem

Product

SAP S/4HANA Cloud Public Edition all versions