SAP Knowledge Base Article - Public

3751899 - Error |Cannot invoke "java.math.BigDecimal.multiply(java.math.BigDecimal)" because "decimalHours" is null| when opening a timesheet week for an employee

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

  1. View Time Sheet for... *Affected Employee*
  2. Go to timesheet week with issue through the calendar
  3. Error is received

Cause

Unsupported use of rules within calendar object

Resolution

  1. Configure Object Definitions
  2. Employee TIme Calendar object
  3. Verify if save rules are assigned to this object
  4. 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