Skip to Content
0
May 22, 2020 at 11:09 AM

When executing Odata API of S/4 with POST method,405 error is returned.

137 Views

Dear expert,

We have enabled the following Odata APIs on our system.

-API_PURCHASEORDER_PROCESS_SRV
-API_MATERIAL_DOCUMENT_SRV
-API_SUPPLIERINVOICE_PROCESS_SRV

These APIs work fine for GET methods (return 200), but return 405 Method Not Allowed errors for POST methods.

I referred to the contents of the following sites

https://help.sap.com/saphelp_uiaddon10/helpdata/en/5e/55f15acb5d4692b200280b41d80c5c/content.htm?no_cache=true

Is there any special procedure required for using OData API in S / 4 HANA?


Best regards.

Daisuke.