Symptom
- How to enable the ability for employees to attach a document while applying Leave ( e.g. Doctors certificate )?
- How to add an attachment type field in Employee Time (MDF Portlet)?
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 Off
Resolution
- Navigate to Configure Object Definitions -> Employee Time object
- Add a field say ‘cust_attachment’ of type ‘Attachment’ and Label it as per your requirement. Set the Condition to timeType.externalCode
- Select the Time types under "Condition Values" that need to use the attachment field as indicated on the screenshot below:
- Save the Employee Time Object.
- Once the attachment field is added to Employee Time object > Navigate to Manage Data > Create New 'Attachment Field Configuration' > Set the Attachment category and other field as shown in the example screenshot:
- NOTE: This is a recommended step in order to avoid the attachments uploaded from time off going into an 'Uncategorized' category in Manage Document.
- Now try to apply a leave with any of the Time Types from Step 3 and the attachment field comes up on the UI. For example, one of the Time Types we included is "India Maternity" Leave. We notice that the attachment field labeled "Documentation" will only appear for this specific Time type and not for the ones which were not included.
NOTE: The uploaded documents will be stored in Admin Center > Manage Documents > 'Employee Time' category (As per Attachment category set in step 5).
Keywords
Custom, Attachment, Time Off, Attachment field MDF Portlet, Employee Time, Sick Leave, Attachment Field Configuration, manage document , KBA , LOD-SF-EC-TIM-ABS , Absence error's - Calculations, Deductions, TT&ET , LOD-SF-EC-TIM-UI , Team Absence Calender/ Workbench/ ESS UI's , How To
SAP Knowledge Base Article - Public