SAP Knowledge Base Article - Public

2565196 - Generic Number fields are showing up as 0 when saved as blank or null

Symptom

When the saving Personal Information or Global Information, the genericNumber fields are set to 0 when left blank or null.

Examples of genericNumber fields are Degree of Challenge; Number of Children, Shift Rate etc.

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. Go to Add New Employee or edit a Portlet that contains a genericNumber field such as Global Information.
  2. Fill in the required fields and leave the genericNumber field as blank or null and save.
  3. The system will save the data and will default the genericNumber as 0.

genericNumbers.jpg

Cause

The genericNumbers are of DOUBLE Data Type and will be set to 0 when left blank.

Resolution

This is an expected system behavior. When a numeric field is displayed in the UI and it is saved with no value, it is saved as 0 in the databases. This is a standard behavior across Employee Central and has been confirmed by Engineering Team.

This scenario is also applicable when the field is not configured in the instance. In these cases, the values set to 0 can be seen in reports or during integrations.

Keywords

double-field, Double Field, generic-number, generic number, genericNumber, Global Information, globalInfo, set to 0, default to 0, ECT-109497 , KBA , LOD-SF-EC-BCI , Manage Business Configuration (BCUI) & Data Models (XML) , LOD-SF-EC-JOB , Job Information , LOD-SF-EC-HIR , Hire & Rehire Wizards , Problem

Product

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