SAP Knowledge Base Article - Public

3798502 - Unexpected Result When Using the Percentage (%) Button in Calculator

Symptom

When using the % (percentage) button in the SAP Business ByDesign calculator, the calculated result may not be retained correctly when the calculation is confirmed.

For example, when entering the expression 20 × 10%, the expected result is 2. However, depending on how the calculation is confirmed, the calculator may return an unexpected result.

The following behavior has been observed:

  • 20 × 10% → Enter results in 0.4.
  • 20 × 10% → OK (mouse click) results in 20.

Therefore, the calculator does not consistently preserve the evaluated percentage result when the calculation is confirmed.

Environment

SAP Business ByDesign

Cause

The behavior is related to the current implementation of the core calculator functionality when the % function is used.

The required correction involves changes to the core calculator functionality and requires extensive testing to avoid potential issues.

Therefore, a correction is not currently planned as an immediate change.

Resolution

As a workaround, do not use the % button for percentage calculations.

Instead, enter the percentage calculation using /100.

For example, to calculate 20 × 10%:

  1. Enter the expression: 20 × 10 / 100
  2. Press OK or the Equals (=) button.
  3. The result will be 2.

Therefore Instead of 20 × 10%,  use 20 × 10 / 100 = 2.

Note: This workaround applies specifically to percentage (%) calculations. Please use /100 instead of the % button until the calculator functionality is enhanced in a future release.

Keywords

calculator, percentage, percent button, %, list price, sales order, integrated calculator, focus behavior, resets to 0, zero result, 20*10%, keyboard, equals, ok button, /100 workaround, SAP Business ByDesign , KBA , AP-RC-UIF-RT-B , ByD HTML5 Client (not for Cloud for Customer) , Problem

Product

SAP Business ByDesign all versions