2518935 - In Shopping Cart, Quantity is Rounded up

SAP Knowledge Base Articles - public

2518935 - In Shopping Cart, Quantity is Rounded up


You are creating a new Shopping cart for a product with the Unit of Measure (UoM) Each.

When entering a quantity with decimals, that quantity is automatically rounded up to the number above. However, you want to enter quantities with decimals.

Reproducing the Issue

  1. Go to Home work center.
  2. Go to Self-Services Overview.
  3. Select Go Shopping.
  4. In Step 2 - Edit Shopping Cart, Select Add Row.
  5. Enter Product.
  6. Enter quantity with decimals.
  7. Select Each as UoM.
  8. Press Enter.

The quantity is rounded up to the number above.


The quantity rounding is limited to units which do not normally have decimal places (such as Each). Quantity rounding occurs by default when the units are not configured to have decimals.


If you wish to display decimal places in Shopping Carts, you need to change the Display Decimal setting of the corresponding Unit of Measure. To do so, you can follow these steps:

  1. Go to the Business Configuration work center.
  2. Go to Overview view.
  3. Search for the fine tuning activity Quantities and Units of Measure.
  4. Choose Change Immediately button.
  5. Select Create and Maintain Trading Units.
  6. Find the UoM Each.
  7. Under Display Decimals column, enter number of decimal places you wish to see.
  8. Select Save and Close.

When you create shopping carts, you will be able to view the decimals, for which the quantity will not be rounded up.


KBA , SRD-CC , Cross Components , How To


SAP BUSINESS BYDESIGN 1708 ; SAP Business ByDesign 1711