LarsP
Create SupplierInvoice with OData doesn’t work
LarsP · over 1 year ago · Question
Answered
LarsP

Hello,

I want to create a SupplierInvoice in S/4 HANA Cloud with OData and SAP CPI. Unfortunately, I get this error: “The requested service is not supported by entity CDS~A_SUPPLIERINVOICE”.

The reason I am so confused is, that I have no problem to create a BusinessPartner with the Scenario SAP_COM_0008.

S/4 Scenario to create a SupplierInvoice: SAP_COM_0057

URL: https://myXXXXXX-api.s4hana.ondemand.com/sap/opu/odata/sap/API_SUPPLIERINVOICE_PROCESS_SRV

Body:

{

"SupplierInvoice": "51050101",

"FiscalYear": "2018",

"CompanyCode": "1010",

"DocumentDate": "/Date(1528070400000)/",

"PostingDate": "/Date(1528070400000)/",

"InvoicingParty": "10300001",

"DocumentCurrency": "EUR",

"InvoiceGrossAmount": "2023.00",

"UnplannedDeliveryCost": "0.00"

}

Thank you for your help

Best regards

Lars

Comments

Comments
Alumni