cancel
Showing results for 
Search instead for 
Did you mean: 

Unfortunately, our vacation business rule does not round to 0.5 days

LukasSF
Discoverer
0 Kudos

Here’s an overview regarding our accrual rule dilemma. My challenges are highlighted in red.

 

Our Requirements for the accrual in the UK:

  • All full-time employees have 25 vacation days per year
    • The 25 days are pro-rated based on the job information: Working days per week
      • E.g. 3 Working days per week  25/3*5=15
  • In the UK legislatively the calculation for an employee’s first year of employment, is one twelfth of the company entitlement on the first day of each month and we would always round up to the nearest half day or full day. Examples:
    • Hire date on 4th March: 25/12 months x 10 remaining months left in the year = 20.8 , rounded up to 21 days leave
    • Termination date on 31st March: 25/12 months x 3 months worked = 6,25, rounded up to 6.5 days leave
  • Periods with parental leave are not regarded for the calculation (optional requirements, we could take this out if it makes it easier)

 

We currently have the following rule in the system:

Results are:

  • Correct: Employees get 25 days per year
  • Correct: When entiring an event (e.g. Termination), the balance shows 1 decimal, e.g. 6.3
  • Incorrect: For a termination on e.g. 31st March, the rounding is going from 6.25 to the next higher decimal, 6.3 instead of 6.5  it should always move to the next “half-day”, 6  6.5  7 
  • Incorrect: We can’t find the solution that it always rounds up. Any option we tried, was rounding down if it was <.5 (e.g. 6.01  6.00 instead of 6.5)

LukasSF_0-1708592562839.png

You shared the KBA https://me.sap.com/notes/2321693/e --> I tried it, but as also stated in their description it also rounds down and not always up (e.g. 6.2  6.00 instead of 6.5)

 

You also shared the KBA https://me.sap.com/notes/2337100/e  I tried the exact rule, however I don’t get any accrual balance at all. Maybe I need to add something in addition. Also from reading the rule, I can’t find the logic, where it would define, that it’s always rounded up to the next half day. (meaning 6.2  6.5 instead of 6.3).

 

For the note, SAP (ticket is in the 5th cycle now) shared this documentation with me:

https://help.sap.com/docs/SAP_SUCCESSFACTORS_TIME_TRACKING/6619e553226244d89872529ae3f8df34/5fb83abb...

 

This seems to be the correct rule, according to the text specification. However I was unable to build this since the marked information is not available in my dropdowns:

LukasSF_1-1708592562844.png

 

SoraiaLatif
Product and Topic Expert
Product and Topic Expert
0 Kudos
Hi Lukas, have you tried to follow the below KBA: https://me.sap.com/notes/2623962/E - for rounding up please use 0 in the threshold instead of 1.

Accepted Solutions (0)

Answers (0)