Symptom
- API has created a Purchase Order with no shipping information added, so cannot create a Delivery.
- Is it possible to create an STO from API : API_PURCHASEORDER_PROCESS_SRV/A_PurchaseOrder?
Environment
SAP S/4HANA Cloud Public Edition
Cause
Missing Functionality.
Resolution
- The API can only create standard NB Purchase Orders, currently it is not possible to create Intercompany Stock Transfer Orders. If details to create an STO are entered, outcome will result in a standard Purchase Order being created - without any shipping tab.
- SOAP API does not support STO creation.
- ODATA API does not support STO creation - the document isn’t a part of the purchasing workflow.
- This restriction comes from the internal low level API aka PO Handler that ODATA API built on top of.
- Currently we support NB and a copy of NB as allowed Purchase Order category.
However for Intercompany STO API usage, this functionality is identified as being a larger investment and is planned to be developed in the context of the product portfolio.
See Also
Keywords
API_PURCHASEORDER_PROCESS_SRV/A_PurchaseOrder, API, STO, Intercompany, Stock Transport Order, Shipping Tab, Delivery, PO, Plant to Plant, SOAP API ,*“code”: “/IWBEP/CM_MGW_RT/022”, “message”: { “lang”: “en”, “value”: “Exception raised without specific error” }*, , KBA , MM-PUR-PO-2CL , Purchase Orders (Public Cloud) , Problem
Product
SAP S/4HANA Cloud Public Edition all versions
SAP Knowledge Base Article - Public