SAP Knowledge Base Article - Public

2668386 - Time Sheet Validation Rule to Restrict Time Recording During LOA is not Triggered

Symptom

Time Sheet validation error message is not raised when recording entries for employees on Leave of Absence

Environment

  • SAP SuccessFactors Employee Central Payroll Time Sheet

Reproducing the Issue

1. Go to Time Management section in employee's People Profile then click Administer Time link.

2. Click New Absence button to request Leave of Absence on behalf of an employee. After request is submitted/approved, employee status in employee's job information should reflect as either Paid Leave / Unpaid Leave.

3. Navigate back to Time Management section in People Profile then click Go to Time Sheet link.

4. Record time sheet entries for any day which is covered by the leave of absence period. Time sheet validation message is not raised.

Cause

Incorrect rule function is used in the validation rule. For Is Employee Active () function, system will return whether employee is active / inactive based on the hardcoded mapping of employee status picklist to the user_sys_valid_flag in the User Directory legacy table.

TSValidationLOA.png

Below table shows the hardcoded mapping of the EC employee status to the user directory table:

External Code Employment Status

user_sys_valid flag in Legacy Table

A Active T
U Unpaid Leave T
P Paid Leave T
S Suspended T
F Furlough F
R Retired F
T Terminated F

Note:

  • T denotes True which means status of employee in User Directory is Active
  • F denotes False which means status of employee is User Directory is Inactive
  • Any mapping other than the above statuses will be regarded as Inactive in User Directory legacy table

Resolution

To validate recording of time entries based on employment status of the employee in job information, use Get the employment status of the employee () function.

TSValidationLOA_2.png

See Also

For more information on different rule functions that can be used in Time Off and Time Sheet functionalities, see Notes on Rule Functions in Time Off

Keywords

KBA , LOD-SF-EC-TMS , Time Sheet , LOD-SF-EC-RUL , DO NOT USE - Business Rules & Event Derivation , Problem

Product

SAP SuccessFactors Employee Central all versions