SAP Knowledge Base Article - Public

3395709 - Employee Time Sheet Entry.Time Type Returns Null value in Validate Rule

Symptom

Condition Employee Time Sheet Entry.Time Type returns null value in Rule Trace. 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 Sheet

Reproducing the Issue

1. Create a business rule for object Employee Time Sheet Entry, use condition Employee Time Sheet Entry.Time Type to check attendance time type. 

2. Assign new Validate rule to object Employee Time Sheet Entry. 

3. Create a new attendance in timesheet, check Rule Trace, Employee Time Sheet Entry.Time Type returned Null value. 

Retrieved 'EmployeeTimeSheetEntry.timeType'. Value: 'null'. Duration: 16 microseconds.

Cause

This is expected behavior as timeType field in object Employee Time Sheet Entry is transient. Therefore, field value is generated at runtime and not stored in the database. Hence, business rule cannot retrieve it.

Resolution

Please use Employee Time Sheet Entry.Employee Time.Time Type to retrieve Time Type of attendance.  

See Also

  • KBA 2826581 - Employee Time Sheet Entry Export Returns With Empty Values For Some Fields.
  • KBA 3287193 - Start Time, End Time, and Start Date of a time recording in Time Sheet are returned empty in reports.
  • KBA 2257064 - Employee Central - Business Rule Execution Log.

Keywords

Employee Time Sheet Entry, Time Type, Validate Rule, Null, timesheet validation rule , KBA , LOD-SF-EC-TMS , Time Sheet , Problem

Product

SAP SuccessFactors Employee Central all versions ; SAP SuccessFactors HCM Suite all versions ; SAP SuccessFactors Time Tracking all versions