SAP Knowledge Base Article - Public

3110493 - Cannot create Purchase Order for Intercompany Stock Transfer Using API : API_PURCHASEORDER_PROCESS_SRV/A_PurchaseOrder

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

Reproducing the Issue

Creating a Purchase Orders through the Purchase Order API : API_PURCHASEORDER_PROCESS_SRV/A_PurchaseOrder

Cause

Missing Functionality

Resolution

Purchase Order (OData V4)

SAP Help Portal - Purchase Order (OData V4)

Business Accelerator Hub - API_PURCHASEORDER_2

The API can only create standard NB Purchase Orders,  currently it is not possible to create Intercompany Stock Transfer Orders. If you enter details to create an STO, 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.

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 , Purchase Orders , Problem

Product

SAP S/4HANA Cloud Public Edition all versions ; SAP S/4HANA Cloud all versions