Symptom
This KBA explains how to set up conditional field in EmployeeTimeSheetEntry object based on Time Type.
After the configuration, the conditional field will display or hide based on the time type selected when creating or editing the entry on the time sheet UI.
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
- SAP SuccessFactors Time Tracking
Resolution
Please make sure to use employeeTime.timeType.externalCode as the Field ID for Condition Configuration.
In the above sample conditional field setting, this particular field will only show up when the time type BLUE_OT is selected.
Result looks as below.
Attention!
Please do not use timeType.externalCode nor timeTypeName field as the Field ID when setting up conditional configuration.
The timeType and timeTypeName fields in Employee Time Sheet Entry object definition are transient fields.
So the data are not really persisted on DB, but calculated during runtime. Hence the conditional field setting will not work based on such transient fields.
To summarize, Transient fields do not work in Conditional Field nor Field Criteria settings.
See Also
Keywords
TMS, TTR, ETSE, condition, display, hide, show, enable, disable, UI, create, record, attendance, tt, trp, ttp, tp, criteria , KBA , LOD-SF-EC-TMS , Time Sheet , LOD-SF-TTR-TMS , Time Sheet , How To