Symptom
We tried to create Time Account Change Calendar by using template import
We have created a template file with 3 different data rows containing different start date, end date and run date. Once we have finished import, we found that 3 identical records(duplicates) was showing on Manage Time Off Calendar page
Environment
SAP SuccessFactors Employee Central - Time off
Reproducing the Issue
- Download Time Account Change Calendar from import and export
- Capture the calendar details in the template
- External codes used as Example Periodic_Update_01/04/2021
- Imported the template under import and export
- After successful import, Duplicate records were created in the Manage Time off Calendar UI
Cause
- Having special characters in an object's external code can lead to inconsistent behavior
- After b1902 release, a new hard-coded validation has been introduced which does not allow special characters other than dashes (-), and underscores (_) in time off MDF objects
- Because of using forward slash in the external code "Periodic_Update_01/04/2021", it resulted in the inconsistent behavior
Resolution
- Remove all the special character in the external code other than the supported characters like dashes(-) and underscores (_) for the consistent behavior
- Set 'Disable External Code checks' as No to enable validation, so that system will throw an error during importing objects like calendar with unsupported special characters in the external code
- If you want this validation, please follow the given steps:
- Navigate to Configure Object Definition -> Time Management Configuration
- Set the visibility of the field 'externalCodeChecksDisabled' as editable
- In Manage Data -> Time Management Configuration object, set the field 'Disable External Code checks' as 'No'
It is recommended to have the validations enabled in your instance to avoid inconsistent behavior
See Also
TIM-7259
Keywords
Duplicate Time Account Change Calendar records, Duplicate calendar records, Duplicate calendar scheduled, duplicate calendar, Special Characters in external code, Manage Time off calendar, duplicates in Manage Time off calendar, TIM-7259 , KBA , LOD-SF-EC-TIM-CAL , Calendar Jobs , LOD-SF-EC , Employee Central , LOD-SF-EC-TIM , Time Off , LOD-SF-EC-TIM-JOB , Time Management in Job Info - Records & Objects , Problem