Symptom
"Sorry, but you can't change the time type because it is relevant to Leave of Absence" error when changing LOA time type of submitted absence request
Environment
- SAP SuccessFactors Employee Central
- v12 ; People Profile (PP3)
- SAP SuccessFactors HCM Suite
- OData API
Reproducing the Issue
1. Go to Time Off / Manage Time Off page and request for a specific absence.
2. Click on Edit button to update the request then change the time type to another type.
3. Submit the request. Error message below is shown:
"Sorry, but you can't change the time type because it is relevant to Leave of Absence"
Resolution
This is an expected behavior. When editing a request, system will only allow users to change the dates but not the time type.
If time type needs to be changed, cancel the existing request and submit another absence request with the correct time type.
In case you are using OData API upsert, the same issue occurs and the resolution explained above works for OData too.
Keywords
Leave of absence, time type, time off, absence, Sorry, but you can't change the time type because it is relevant to Leave of Absence, OData, "Sorry, but you can't change the time type because it is relevant to Leave of Absence. with the index 0", "index" : 0, "httpCode" : 500, "inlineResults" : null } ] } , KBA , LOD-SF-EC-TIM , Time Off , LOD-SF-INT , Integrations , LOD-SF-INT-ODATA , OData API Framework , How To