SAP Knowledge Base Article - Public

2740742 - Get Absence In Days For Period() function not working for certain time types

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

Success Factors Employee Central

Reproducing the Issue

  • Create a rule to check for consecutive days leaves of different time type:

         Consecutive Rule.png

  • 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

        Time Type Deduction quantity.png

Cause

Currently the function only supports setting calendar days or work schedule days and not deduction quantity

Resolution

Engineering team will be supporting this function for duration display according to deduction quantity in future releases. Alternatively the function 'Has Absence in Period' can be used for the same.

See Also

 TIM-7830

Keywords

Get Absence In Days For Period, Deduction Quantity, Time Off, Take Rule, Consecutive Days , KBA , LOD-SF-EC-TIM , Time-Off , Product Enhancement

Product

SAP SuccessFactors HCM Core all versions