Symptom
Image/data in this KBA is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental.
This KBA explains how to set up conditional field in Time Recording 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.
Environment
SAP SuccessFactors Time Tracking
Reproducing the Issue
-
Navigate to the timesheet of an employee with a Flexible Approval period (not using the legacy week setup).
-
The expected behavior is that when either the employee or admin selects the time type Flexible_TimeRecordingMth, the custom field Remarks_Conditional should become visible
However, Remarks_Conditional should remain hidden when any other time type is selected
Resolution
- Go to Configure Object Definitions.
- Select Object 'Time Recording' (Which is the object for Flexible Approval Periods i.e. other than Legacy Week).
- Click on the Details link of the corresponding field.
- In Condition section within the Details popup, make sure to set timeType.externalCode as the Condition Field ID alongwith the expected value under Condition Values (Flexible_TimeRecordingMth in this scenario)
See Also
- Configuration for Legacy Week (Length as per Time Recording Approval Period):
Refer KBA 3505185 How to set up Conditional Field in EmployeeTimeSheetEntry based on Time Type - The flexible period time sheet utilizes the new data model where attendance is stored in the "Time Recording" object.
Refer KBA 3622315 - "Employee Time" object, "Employee Time Sheet Entry" object and "Allowance" object are not found in the flexible period timesheet
Keywords
TTR, Timesheet, Time Sheet, Time Tracking, Time Recording, Condition, Display / Hide, show, enable, disable, UI, create, record, attendance, tt, trp, ttp, tp, criteria , KBA , LOD-SF-TTR-TMS , Time Sheet , LOD-SF-TTR , Time Tracking , How To
SAP Knowledge Base Article - Public