SAP Knowledge Base Article - Public

2397944 - Maximum Fraction Digits

Symptom

When changing the maximum fraction digits for a field (example- FTE) into 7, system reverts the number of decimal places to 5.

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
  • SAP SuccessFactors HXM Suite

Reproducing the Issue

1. Go to Admin Tools > Manage Business Configuration > jobInfo element

2. Change the Maximum Fraction Digits value to 7 for FTE field.

3. Save the changes.

4. Search for an employee and manually change the FTE with a value having 7 decimal places.

5. System immediately changes it to 5 decimal places.

Cause

This is an expected system behavior.

Resolution

The possible values for Maximum Fraction Digits ranges from 0 to 5 only.

However, you may only use this property only to HRIS fields with the data type DOUBLE. If you do not use this attribute for a DOUBLE data type, the number is rounded to three decimal places by default.

If you define a negative value, the default value of 3 decimal places is used.

You can choose a number from 0 to 5.

  • Settings from BCUI is all normal, DOUBLE data type and maximumFractionDigits is '5'
  • Same setting on data model XML
    </hris-field>
    <hris-field max-length="256" id="fte" visibility="view" maximumFractionDigits="5" allow-import="true">
    <label>FTE</label>
    <label xml:lang="en-US">FTE</label>
    <label xml:lang="nl-NL">FTE</label>
    </hris-field>

FAQ - Additional Information:

Q) Where can I get information on this from the Guide?

A) Guide:  Data Model Field Information for Employee Central - Chapter maxFractionDigits

Guide: Business Rules Implementation Guide - Chapter: Round

Q) How is it stored in database like reports?

A) It has a limit of 15 fraction digits.

See Also

  • 2879853 - Pay Component and Calculated Amount Rounding
  • 2459176 - Cannot round Pay Component Group Values
  • 2193766 - Numeric values in Compensation Information for employees are truncated to 2
  • 2537783 - How To Change Decimal To Integer

Keywords

Maximum Fraction Digits, FTE, decimal places, round, employee central, employee profile, successfactors, SF, EC, EP , KBA , LOD-SF-EC , Employee Central , LOD-SF-EC-JOB , Job Information , LOD-SF-EC-JOB-UI , History UI & MSS UI , Problem

Product

SAP SuccessFactors Employee Central all versions ; SAP SuccessFactors HCM Core all versions