Symptom
This KBA explains how to use conditional fields to control the conditions of when fields are displayed. For example, you can display the cost center field when the time type Overtime is selected. "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 HCM Suite
- SAP SuccessFactors Employee Central
- SAP SuccessFactors Time Tracking
Resolution
The following example demonstrates how to display the Cost Center field only when the Overtime time type is selected in time sheet UI.
- Navigate to Configure Object Definitions.
- Select the Employee Time Sheet Entry object (If you are using a flexible time approval period, select the Time Recording object instead).
- Edit the field for which you want to apply the conditional display.
- In the Condition section, set Field Id to 'employeeTime.timeType.externalCode'.
- In the Condition Value section, enter the external code of the relevant time type.
Note:
- Please use the exact capitalization: employeeTime.timeType.externalCode; otherwise, error message "Incorrect field Id given in condition. Trying to give condition field Id as:xxxxxxxxxxxx for association/field: customFields.customField1-EmployeeTimeSheetEntry-cust_StartTime in object definition: EmployeeTimeSheetEntry" will be displayed.
- If the conditional field is configured under the Employee Time Sheet Entry object, do NOT omit employeeTime in the Field ID; otherwise, the conditional field will not function.
- If the conditional field is configured under the Time Recording object, please use timeType.externalCode only.
See Also
SAP Help Portal - Conditional Fields in Time Sheet
Keywords
successfactors, tms, ttr, time sheet, time tracking, employee time sheet entry, conditional field, UI, field id, employee time, external code, configuration error, cost center, employeeTime.timeType.externalCode, timeType.externalCode , KBA , LOD-SF-EC-TMS , Time Sheet , LOD-SF-TTR-TMS , Time Sheet , How To
Product
Attachments
| 1.png |
SAP Knowledge Base Article - Public