To calculate the duration of an attendance or absence, the system first references the number of planned hours from the daily work schedule valid for the specific day. However, this method may not work for counting the duration of an attendance or absence on certain days, such as public holidays. For such situations, you use rules to control how the daily duration of an attendance or absence is counted.
Units for Calculating Duration of Attendances and Absences
The duration of an attendance or an absence is calculated using the following types of units in the SAP system:
- Calendar days:
- The system calculates calendar days using actual calendar days for the attendance or absence. Partial days are calculated as 0 calendar days.
- Attendance/absence hours, attendance/absence days:
- The system calculates the attendance or absence hours by using the planned hours specified in the work schedule. Only the days on which the employee had planned hours are included in the calculation.
- Payroll hours:
- The system uses payroll days and hours to deduct quotas. Payroll days, found in the number field of a wage type, are also used by the system during the processing of payroll. The calculation of payroll days and hours is controlled by the settings made for attendance or absence counting. In this way, you can also include attendance and absence days in the calculation for days on which the employee did not have any planned hours.
These units are included in the Attendances and Absences infotypes.
Rules
Some of the rules that apply to counting attendances and absences are as follows:
- Counting rule:
- The rules for counting attendances and absences are used to determine the payroll days and hours of an attendance or absence.
- Rounding rule:
- When attendances and absences are counted, the system may determine values to several decimal places. These decimal places are not normally used in quota deduction or in payroll. You assign a rounding rule to the counting rule to determine how the values are to be rounded.
- Deduction rule for quotas:
- The counting rule can also be assigned a deduction rule for quotas, which, in the case of quota deduction, determines which quotas are deducted in which sequence.