SAP Knowledge Base Article - Preview

3686215 - Unable to create multiple Purchase Orders in one changeset using oData APIs

Symptom

  • When attempting to create multiple Purchase Orders (POs) in one changeset using API_PURCHASEORDER_PROCESS_SRV or API_PURCHASEORDER_2, only the first PO is created successfully. The other POs are ignored, and the response of the first PO is returned.
  • Error message below may be seen when testing with oData V4 for this scenario:
    • "An exception was raised" (SY/530) 
    • "Unspecified provider error occurred. See Error Context and Call Stack." (/IWBEP/CM_V4S_RUN 000)


Read more...

Environment

  • Materials Management (MM)
  • SAP S/4HANA

Product

SAP S/4HANA all versions

Keywords

purchase order api, odata v4, api_purchaseorder_process_srv, api_purchaseorder_2, multiple POs, changeset issue, batch request, create multiple purchase orders, $batch request, purchase order header, POST PurchaseOrder, /sap/opu/odata/sap/API_PURCHASEORDER_PROCESS_SRV, odata v2 , KBA , MM-PUR-PO-API , OData APIs - Purchase Order , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.