SAP Knowledge Base Article - Public

3357706 - Error using "Get Number Of Calendar Days()" in HRIS Elements - Employee Central

Symptom

You are trying to use "Get Number Of Calendar Days()" function in HRIS Rules (E.g.: Job Information, Employment details and so on) however the rule works unexpectedly or you get following error in rule trace:

"getCalendarDays: Error happened when invoking rule function: getCalendarDays, root cause: Start Date or End Date is null"

Environment

SAP SuccessFactors Employee Central

Resolution

The "Get Number Of Calendar Days()" and other rule functions listed here are designed only to be used for time off objects and will not work in HRIS Elements.

See Also

Guide: https://help.sap.com/docs/SAP_SUCCESSFACTORS_TIME_TRACKING/6619e553226244d89872529ae3f8df34/8e412d6f0261491f885970fc7de7efa4.html

Keywords

KBA , LOD-SF-EC-JOB-RUL , Job Info Business Rules , LOD-SF-EC-EMP , Employment Information (Employment Details) , Problem

Product

SAP SuccessFactors Employee Central all versions