Symptom
When trying to open a timesheet week for an employee, you receive the below error
Cannot invoke "java.math.BigDecimal.multiply(java.math.BigDecimal)" because "decimalHours" is null
Environment
- Employee Central Timesheet
Reproducing the Issue
- View Time Sheet for... *Affected Employee*
- Go to timesheet week with issue through the calendar
- Error is received
Cause
Unsupported use of rules within calendar object
Resolution
- Configure Object Definitions
- Employee TIme Calendar object
- Verify if save rules are assigned to this object
- If so, remove rules and save your changes
There should never be on Save Rules on the Employee Time Calendar object definition, manipulating the Employee Time Calendar fields as this is not supported or recommended.
We will be working on adding a guardrail to prevent this in future releases.
Keywords
error, calendar, absence , KBA , LOD-SF-EC-TMS , Time Sheet , Problem
Product
SAP SuccessFactors Employee Central all versions
SAP Knowledge Base Article - Public