SAP Knowledge Base Article - Public

3269773 - Quantity Attribute value sent in decimal format from AVC in S4/HANA and Replicate via VCP into CPQ the knowledge bases is getting rounded


When sending Quantity Attribute value which is in decimal format displayed as non decimal value. It will get rounded.


Type: Test and Productive Systems connected with Advanced Variant Configurator
Product version: SAP CPQ 2023
System managed by: SAP Cloud Tenant

Reproducing the Issue

  1. Send the Quantity Attribute Value for the product from AVC in S4 and Replicate via VCP into CPQ the knowledge bases.


  1. Create a Product;
  2. Add Attribute Quantity as attribute;
  3. Now add decimal value for the Quantity.


Rounding is not configured in CPQ Setup.


Need to set rounding:

  1. Go to Rounding Setup under Pricing/Calculations in Setup;
  2. Enter in Quantity and you will get following information:
    1. Number of Decimals in Calculations: Number of Decimals in Calculations is how many decimal places you want in calculations. 

    2. Number of Decimals when Rounding: Number of Decimals when Rounding is for displaying number of digits after decimal place.  

Default values for rounding for Quantity are 0, so you need to set it to how many decimal places you want.

Kindly set this as per your use case.

NOTE: User format will affect rounding and calculations as well. In User Page you can set Number Format.

See Also

Rounding Setup -


Rounding, Decimal, AVC, VCP, Quantity, CPQ. , KBA , CEC-SAL-CPQ , Sales Cloud CPQ , Problem


SAP CPQ 2023