SAP Knowledge Base Article - Public

3471066 - How to set deduction quantity based on calendar days for a LOA Time Type

Symptom

The number of days taken for leave is different in the UI & reports for all LOA leave types. For instance, - Applied LOA days are 60, but according to the assigned work schedule, the number of absent days is 37 (excluding holidays & weeks off). The report shows 37 days of unpaid leave for the user, while the system shows 60 days.
To fix this, we need to assign a counting method to the LOA leave type, but system is not allowing to add Counting method for leave types who do not have time account type.
Errors:

  1. You need to assign posting rules before you can assign a counting method.
  2. Only the calendar days and the work schedule duration display settings are allowed for leave of absence time types.
  3. You cannot assign a counting method to a leave of absence time type.

Environment

SAP SuccessFactors Employee Central - Time Management

Reproducing the Issue

  1. Navigate to Manage>Time Type>Leave of Absence
  2. Attempt to Assign Counting Method
  3. The system prompts an error,
    • You need to assign posting rules before you can assign a counting method.
    • Only the calendar days and the work schedule duration display settings are allowed for leave of absence time types.
    • You cannot assign a counting method to a leave of absence time type.

Cause

  • Counting Method is not supported for leave-of-absence time types.
  • Counting Method method is not supported for a time type with no "time account posting rules" assigned.

Resolution

We have an enhanced feature of the "Counting Method", which is "Absence Counting Configuration"

Using "Absence Counting Configuration", we can set the deduction quantity as calendar days for the Leave of Absence Time Types.

Steps to be followed;

  • Set “Duration Display According To” as Deduction Quantity under manage data> Time Type>LOA
  • To Set the "Absence Counting Configuration", we need to set “Maximum Duration in Months” under Manage Data>Time Type as less than or equal to 24 months
  • By default, the field “Maximum Duration in Months” will not be visible in the Time Type configuration.
  • Navigate to Configure Object Definition>Time Type> maximumDurationInMonths>Details >Visibility>Editable>Save
  • Set “Maximum Duration in Months” as 24 or less than 24 under Manage Data>Time Type
  • Create Absence Counting Configuration (Refer our Time Management Handbook)
    • Set Holidays Selection: Include Holidays
    • Set Planned Working Time Selection: Include Planned Working Time Equals Zero  
  • Create Absence Counting Rule
    • Rule Scenario:  Absence Counting
    • IF Condition: Always True or Set any conditions, Like if Time Type is equal to LOA
    • Then Condition: Absence Counting Rule Result Parameters.Deduction Quantity is equal to 1
  • Assign the Absence counting rule to the Absence Counting Configuration

Note: Number of Days & Number Of Hours in Employee Time object will always be set based on the user-specific work schedule and Holiday Calendar.

Keywords

LOA Time Types, LOA Calendar days, Calendays LOA, Leave of Absence calendar days, Calendar days Leave of Absence, Leave of Absence Time Type, Time Type leave of absence, how to set calendar days, How to create LOA based on calendar days, Counting Method, Absence Counting Configuration, You need to assign posting rules before you can assign a counting method, Only the calendar days and the work schedule duration display settings are allowed for leave of absence time types, You cannot assign a counting method to a leave of absence time type. , KBA , LOD-SF-EC-TIM-UI , Team Absence Calender/ Workbench/ ESS UI's , LOD-SF-EC , Employee Central , LOD-SF-EC-TIM , Time Off , LOD-SF-EC-TIM-ABS , Absence error's - Calculations, Deductions, TT&ET , How To

Product

SAP SuccessFactors Employee Central 2405