Symptom
- This article explains how to set up the system so that a custom field AM / PM appears when a fractional absence is selected.
- When a user is entering an absence and they choose to enter a quantity of time of 0.5 days (for example) it is important to know if they are planning to take the morning or afternoon off. It would be useful in this scenario that a field will be appear so the user can select AM or PM for the absence.
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 Management
Reproducing the Issue
- Login to Instance.
- Navigate to create time off page.
- Select '0.5 days' in the requesting field.
- A custom field AM/PM should appear.
Resolution
- Create a new custom field in the object definition of Employee Time.
- Click on Details of the custom field.
- Add fieldId as 'fractionQuantity' in the condition section.
- Add conditional values as shown in the image below.
- The custom field will now only be shown if one of the configured fractions has been selected.
Please Note: Custom fields can only be displayed at the end on the UI. Please see the following KBA for further information on this: 2812740 - Custom Fields In Time Off ESS Fiori UI Is Displayed At The End Of The Page
Keywords
am, pm, time off, ess, custom field, fractional, absence, sf employee central, conditional field, AM/PM , KBA , LOD-SF-EC-TIM , Time Off , How To
Product
SAP SuccessFactors Employee Central all versions ; SAP SuccessFactors HCM Core all versions
SAP Knowledge Base Article - Public