Symptom
When using comma as decimal separator in any price definition in setup, when configuring a product it is not possible to calculate the total.
Environment
SAP SALES CLOUD CPQ
Reproducing the Issue
- Create a new configurable product
- Define a Base Price, for example 100
- Add an Attribute to the product
- On any attribute value define a price, for example 1,10
- Go to Catalog and Configure the product
- When selecting Attribute, Total value evaluates to 0 and a message appears in developer console: "Calculating total price Woli failed! "
- If Attribute Value price is defined as 1.1, Total is properly calculated.
Cause
Expected Behavior.
Resolution
- Price should always be defined with a dot as decimal separator
- Why do CPQ Accept Comma? The reason why comma is accepted in the Price field is because that field is meant to support formulas, so basically any text is accepted. For example, take a look at Base Price that you also mentioned
- Product Base Price do not accept commas by standard, as formulas are not accepted in this field
- Attribute Prices should always use dot as decimal separator.
Keywords
Calculation, Price, Setup, Product Setup, Setup, CPQ , KBA , CEC-SAL-CPQ , Sales Cloud CPQ , Bug Filed
Product
SAP CPQ 2024