Symptom
When requesting an absence, admin is getting a different error message than what is displayed for employee
"All the images from this instance are from our internal test instances, any resemblance with real environments are mere coincidence"
Environment
SAP SuccessFactors Employee Central - Time Off
Reproducing the Issue
Login as an employee (or proxy an employee)
- Go to Time Off ESS UI.
- Request Absence that is above the current balance
- A generic error message is raised.
- "You cannot apply for an absence of this duration because the balance in the time account is not sufficient."
Login as admin to request time off to an employee
- Go to Administer Time UI
- Request Absence that is above the current balance
- A specific Error Message with is thrown.
- Sorry, you can’t request xx days. You only have xx days of leave left
Cause
The message depends on the Time Type configuration
- If the Hide Account Balance is set to NO -> Specific message with account balance details is shown.
- If the Hide Account Balance is set to YES -> Generic message without account balance details is shown
Resolution
Decide whether which of the scenario best suits your business requirement i.e
- Go to Time Profile > Select the Time Type
- Take Action > Make Correction > Change the 'Hide Account Balance' to 'Yes' or 'No' per your requirement.
Keywords
Time Off, Different error message for different proxy, Hide Account Balance, error message, You cannot apply for an absence of this duration because the balance in the time account is not sufficient, Sorry, you can’t request xx days, You only have xx days of leave left, Sorry, you can’t request, You only have, days of leave left , KBA , LOD-SF-EC-TIM-UI , Team Absence Calender/ Workbench/ ESS UI's , LOD-SF-EC-TIM-ABS , Absence error's - Calculations, Deductions, TT&ET , Problem
Product
Attachments
| Pasted image.png |
| Pasted image.png |
| Pasted image.png |
| Pasted image.png |
| Pasted image.png |
| Pasted image.png |
SAP Knowledge Base Article - Public