SAP Knowledge Base Article - Public

2874617 - Condition values not passed with API_PURCHASEORDER_PROCESS_SRV

Symptom

You are using API_PURCHASEORDER_PROCESS_SRV to create Purchase Orders. In the payload, you are passing condition types with values maintained for the 'Condition rate' and the 'Condition Amount' under the 'PricingElement' section of the API structure. Despite passing these values when the Purchase Order is created the 'Condition rate' and 'Condition Amount' are 0.00

Environment

SAP S/4HANA Cloud All versions

Reproducing the Issue

  • Execute a POST operation with API_PURCHASEORDER_PROCESS_SRV. 
  • In the payload transfer your condition values as per the API documentation

Example:
"to_PurchaseOrderPricingElement": {
"results": [
{
"ConditionType": "ZZ01",
"ConditionRateValue": "10.00",
"ConditionAmount": "10.00"
},
]

  • The values for condition ZZ01 are set to 0.00 in the purchase Order created  

Cause

Incorrect customising, missing text description on the custom condition type

Resolution

If you create a custom pricing procedure with custom pricing conditions. You have to use the existing delivered content as a template for all pricing elements you create. 
If you create a custom condition in particular, you have to maintain a text description for the new condition type in all the languages that could be used in your system.
You maintain conditions in the SSCUI 101094.

Keywords

M/06, KBETR, KWART, NETPR, to_PurchaseOrderPricingElement, PPRO, KSCHL, XKMOV_BEWERTEN. , KBA , MM-PUR-PO , Purchase Orders , MM-PUR-GF-PR , Price Determination , How To

Product

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