SAP Knowledge Base Article - Public

2558356 - Invalid Number Format Error for Seniority Fields on Accrual Lookup by Seniority

Symptom

Error below is received when entering a decimal value for Seniority From/To field on Accrual Lookup by Seniority object:

"Invalid number format 0.x for field Seniority From/To"

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 - Time Off

Reproducing the Issue

  1. Go to Admin Center > Manage Time Off Structures then select Accrual Lookup by Seniority on Create New dropdown.
  2. Enter any decimal value (i.e. 0.5) for the fields Seniority From and Seniority To and enter value for Accrual Amount.
  3. Save the changes and the error is received.

Cause

Seniority From and Seniority To fields are number fields on the Accrual Lookup by Seniority object definition. See resolution section of KBA 2438887 for explanation and description for data type for MDF fields.

AccrualLookupBySeniority_SeniorityFromTo.png

Resolution

Create a custom Accrual Lookup object and set Decimal as data type for the Seniority From/To fields.

  1. Go to Admin Center > Configure Object Definitions.
  2. Click Create New dropdown and then select Object Definition.
  3. Add custom Seniority From/To and Accrual Amount fields then set Data Type of the fields to Decimal.

    AccrualLookUp_custom.png
  4. Save the changes.

See Also

2438887 - Metadata Framework - How to create a custom field for an MDF Object?

Keywords

Seniority From, Seniority To, Seniority, Accrual, Accrual Lookup by Seniority, Lookup, invalid number format error , KBA , LOD-SF-EC-TIM , Time Off , LOD-SF-FWK-MDF , MDF Framework , Problem

Product

SAP SuccessFactors Employee Central all versions