Symptom
- Unable to submit the full balance from the Time Account
- An error occurs for leave request: "Sorry, you can't request 24:36 hours. You only have 24:36 hours of leave left"
- Error when requesting full balance in hours
Environment
SAP SuccessFactors Employee Central - Time Off
Reproducing the Issue
- Employee creates a absence request
- Select dates so that the full time account balance in hours is requested
- Receive an error that you do not have the full balance
Cause
This issue is caused by the decimal representation of the hours.
Check the employee's Work Schedule for the requested dates to ensure the total does not exceed the available balance.
Kindly refer to the below example for reference:
WS | Day 1 | Day 2 | Day 3 | Day 4 | Day 5 | Day 6 | Day 7 | Total |
Hours | 4:55 | 4:55 | 4:55 | 4:55 | 4:56 | 0:00 | 0:00 | 24:36 |
Decimals | 4.916666667 | 4.916666667 | 4.916666667 | 4.916666667 | 4.933333333 | 0 | 0 | 24.600000001 |
The employee currently maintains a balance of 24:36 hours. When submitting the request for a full week, the Work Schedule balance exceeds the Time Account balance by 0.000000001.
Resolution
- As a workaround, please add a manual adjustment of 0.000000001 to the Time Account.
- Please Note: The workaround is based on the example scenario provided above, the adjustment amount may differ depending on your system configuration.
- The engineering team are working on a better rounding concept for such scenarios. Currently there is no confirmed date of when this will be implemented. Enhancement ticket number is TIM-8946
- Please reach out to your CSM/CEE to track the progress.
Keywords
"Sorry, you can't request ##:## hours. You only have ##:## hours of leave left", Time Account, Full, Balance, Amount, Hours, Decimal, Work Schedule, TIM-8946 , KBA , LOD-SF-EC-TIM-ABS , Absence error's - Calculations, Deductions, TT&ET , LOD-SF-EC-TIM , Time Off , LOD-SF-EC-TIM-PYT , Payouts - Self Service, Admin, Termination , LOD-SF-EC-TIM-TA , Time Accounts (TAT, TA, TAD) , Problem