SAP Knowledge Base Article - Public

3599531 - MEPO 043 creating Purchase order through API API_PURCHASEORDER_2

Symptom

Creating a Purchase Orders through the Purchase Order API : API_PURCHASEORDER_PROCESS_SRV/A_PurchaseOrder an error message appears MEPO /043 Enter Quantity

Environment

SAP S/4HANA Cloud Public Edition

Cause

The supplier has a plant assigned, due to that  system can´t generate the relevant STO fields and several error might appear

 APPL_MM_PUR_PO, message no. 064 Document contains no items

 APPL_MM_PUR_PO, message no. 034  Enter quantity

Resolution

SOAP API does not support STO creation:

Stock transport Order Intracompany uses UB/UD

Stock transport Order Intercompany ( also known as Cross company) uses NB  with a Supplier with a plant assigned.

None of the STO scenarios are supported.

See Also

https://me.sap.com/notes/3110493/E

Keywords

API_PURCHASEORDER_PROCESS_SRV, MEPO 043, MEPO043,   APPL_MM_PUR_PO, message no. 034  , KBA , MM-PUR-PO-2CL , Purchase Orders (Public Cloud) , Problem

Product

SAP S/4HANA Cloud Public Edition 2502