SAP Knowledge Base Article - Public

3342169 - Wrong pricing type for product when using ADDORUPDATE action during SOAP API call

Symptom

Products are replicated to CPQ with pricing type "Pricebook" instead of "Variant Pricing".

Environment

SAP SALES CLOUD CPQ integrated with SAP ERP.

Reproducing the Issue

  1. Use ImportMaterialsFromERP SOAP API to create a product using action "ADDORUPDATE"
  2. Update the previous created product with SimpleProductAdminsitration SOAP API and leave node "PricingMechanism" empty
  3. In some cases product will be updated with price type set for the tenant. In the Value of application parameter ‘As default source for product and attribute prices use’ (found in Setup → Pricing/Calculations → Pricebooks).

Cause

The system will consider the value sent in the first API call in ImportMaterialsfromERP and then when second API is called without any value for the PricingMechanism node system will consider the following:

  • Default Value (if node is missing) : Value of application parameter ‘As default source for product and attribute prices use’ (found in Setup → Pricing/Calculations → Pricebooks)

Above mentioned information is present in the following Help page: Input XML Example | SAP Help Portal

Resolution

  • API call should always contain the node "PricingMechanism" with the desired value.
  • Value of application parameter ‘As default source for product and attribute prices use’ (found in Setup → Pricing/Calculations → Pricebooks) should be set to "Custom Pricing" if the products are VC products and should have Variant Pricing.

Keywords

CPS, VC, CPQ, Pricing, API, ImportMaterialsFromERP, SimpleProductAdministration, node, Pricing, Mechanism, Variant Pricing, Pricebook. , KBA , CEC-SAL-CPQ , Sales Cloud CPQ , Known Error

Product

SAP CPQ 2023