SAP Knowledge Base Article - Public

3835741 - "Please enter Pay Component Value again with only N decimal places" error when saving Pay Components - SAP SuccessFactors Employee Central

Symptom

  • When attempting to save a Pay Component in Manage Organization, Pay and Job Structures, the following error is displayed: "Please enter Pay Component Value again with only N decimal places."
  • For example, when entering a value with 3 decimal places, the system may display the error with N = 2: "Please enter Pay Component Value again with only 2 decimal places."
  • The issue can occur for both Recurring and Non-Recurring Pay Components.

Image/data in this KBA is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental.

Environment

SAP SuccessFactors Employee Central

Reproducing the Issue

  1. Navigate to Manage Organization, Pay and Job Structures.
  2. Select an existing Pay Component or create a new one.
  3. Enter a Pay Component Value with 3 decimal places (e.g., 12.345) and click Save.
  4. The Pay Component Value field is highlighted in red, and the following error message is displayed:

Cause

This behavior is expected. The number of decimal places configured for the paycompvalue/value field in Business Configuration UI (BCUI) must be respected, as this value is displayed in the People Profile.

Pay Component Foundation Objects (FOs) do not allow values with more decimal places than configured in BCUI. For example, if the Max Fraction Digits setting for the paycompvalue/value field is set to 2 in BCUI under the payComponentRecurring or payComponentNonRecurring elements, entering a value with 3 decimal places (e.g., 12.345) in the Pay Component FO will result in an error when saving.

This validation prevents a mismatch between the decimal precision allowed in the Pay Component FO and the precision supported by the People Profile. Since the People Profile supports only 2 decimal places in this example, allowing additional decimal places in the Pay Component FO could lead to a conflict when the value is transferred to the People Profile.

Resolution

When creating or modifying a Pay Component in Manage Organization, Pay and Job Structures, ensure that the decimal precision of the Pay Component Value is consistent with the maxFractionDigits configuration in BCUI for the corresponding Pay Component type.

  • For Recurring Pay Components, the maxFractionDigits setting under payComponentRecurring > paycompvalue is applied.
  • For Non-Recurring Pay Components, the maxFractionDigits setting under payComponentNonRecurring > value is applied.

Although the Corporate Data Model may allow a higher number of decimal places for the Pay Component Value field, the value cannot be saved if it exceeds the decimal precision configured for the corresponding field in BCUI.

If the business requirement is to allow more decimal places in the Pay Component FO, for example, for calculation purposes, consider increasing the maxFractionDigits setting in the corresponding BCUI configuration. If People Profile should display values with fewer decimal places, a Business Rule can be created to restrict the values to the required number of decimal places.

See Also

KBA 3376619 - Round of the value inserted in Pay Component Value field

Keywords

pay component, pay component value, foundation object, manage organization pay job structures, decimals, fraction digits, maximum fraction digits, maxFractionDigits, BCUI, corporate data model, succession data model, rounding, cannot save , KBA , LOD-SF-EC-CMP-REC , Recurring Payments , LOD-SF-EC-FOO , Foundation Objects (Organisation, Pay and Job Structures) , LOD-SF-EC-CMP-NRE , Spot Bonus & Non-Recurring Payments , Problem

Product

SAP SuccessFactors Employee Central all versions