SAP Knowledge Base Article - Public

3722111 - Change in Calculator Behavior When Using The "Enter" key in Numeric Fields

Symptom

The behavior of the calculator has changed when using the "Enter" key in numeric fields.

Previously, pressing "Enter" executed the calculation and displayed the result.

Currently, pressing "Enter" adds the last entered digit to the calculation instead of displaying the result.

Environment

SAP Business ByDesign

Reproducing the Issue

Below is an example of navigating the calculator screen. 

  1. Go to the sales order work center
  2. Edit the sales order
  3. Select the View All
  4. Go to Pricing and Invoicing tab
  5. Locate the field "Quantity" or "list price" and open the calculator in the Line Item
  6. Input the calculation using the keyboard: Example - 50*1
  7. Press the "Enter" key
  8. Observe that the calculator adds the last entered digit (e.g., 1) instead of displaying the result

Cause

The behavior change was implemented to comply with SAP Product standards.

Resolution

From SAP Product compliance perspective:

  1. The previous behavior (where focus jumped to “OK”) violated SAP Product Standard (On Focus).
  2. SAP Product guidelines require stable focus behavior, meaning the focus must remain on the activated element unless the user intentionally changes it.
  3. The current behavior is compliant with accessibility standards and aligned with SAP Product principles.
  4. The implemented fix improves predictability and helps prevent accidental submissions or duplicate digits.
  5. Reverting this change would result in non-compliance with accessibility standards.

Conclusion: 

According to SAP Product guidelines, the focus must remain on the currently activated button. 
Moving the focus automatically to the “OK” button after each number selection would require users to manually return to the previous element to continue their input. This creates unnecessary cognitive and physical effort and can negatively impact usability

Keywords

calculator behavior, enter key, numeric fields, accessibility compliance, SAP standards, focus behavior, stable focus usability improvement, accidental submissions, duplicate digits , KBA , AP-RC-UIF-RT-B , ByD HTML5 Client (not for Cloud for Customer) , Problem

Product

SAP Business ByDesign all versions