Symptom
A take rule is created to check for consecutive days leave of different time types. But the rule does not trigger correctly, even if a leave is present for the time type mentioned in the take rule
Image/data in this KBA is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental.
Environment
SAP SuccessFactors Employee Central: Employee Time Management
Reproducing the Issue
- Create a rule to check for consecutive days leaves of different time type:
- This rule is not getting triggered correctly when the time type ‘ME_SENIOR’ mentioned in the rule has duration display according to deduction quantity, even though there is leave of the type ‘ME_SENIOR’ on previous/next working day
Cause
Currently this function only supports setting calendar days or work schedule days and not deduction quantity.
Resolution
The rule function 'Get Absence In Days Or Hours For Period Based On Deduction Quantity For Time Types()' can be used to consider the deduction quantity.
Keywords
Get Absence In Days For Period, Deduction Quantity, Time Off, Take Rule, Consecutive Days, Get Absence In Days Or Hours For Period Based On Deduction Quantity For Time Types , TIM-7830 , KBA , LOD-SF-EC-TIM-RUL , TAT Rules, Validation & Take rules , LOD-SF-EC-TIM-TA , Time Accounts (TAT, TA, TAD) , How To