!--a11y-->
Each workday an employee works one hour longer than specified in the collective agreement. For each paid work day that he is present he receives one hour as time credit. This time credit is placed in the compensation time time type. To reproduce this in a rule, use the following operations:
This operation is only used as a decision operation. General status fields can be queried (values from tables, infotypes, weekday data, and so on) or placed in the Variable key in the rule.
Operation HRS allows you to edit a field containing the number of hours from table TIP. A particular value can be placed in the number of hours field and/or values from tables, infotypes, the results from the SALDO table, or the results from TES can be retrieved. The operation HRS can be used as a decision operation and can also introduce an action.
Operation ADDDB introduces an action. It cumulates the value from the number of hours field in the specified time type in the TES table (daily balances)

All possible outcomes for an operation must always be considered. Errors can occur if the decision tree is not created correctly!
Var. Key |
NL |
T |
Operation |
Operation |
Legend |
|
D |
VARSTFREE |
Decision operation: Is the daily work schedule for the day/employee to be evaluated OFF ? | |||
N |
D |
VARSTPRSNT |
The daily work schedule is not OFF. Decision operation: Is the employee present? | ||
N Y |
D |
VARSTDAYTY |
The daily work schedule is not OFF. The employee is present. Decision operation: Which day type is the day to be evaluated ? | ||
N Y * |
HRS=1.00 |
ADDDB2000 |
The operation HRS retrieves one hour. The hour retrieved by HRS is added via the operation ADDDB in time type 2000. The daily work schedule is not OFF. The employee is present. The day type is either 0 or BLANK (work/paid) or 3 (off/special day). | ||
N Y 1 |
The daily work schedule is not OFF. The employee is present. The day to be evaluated has the day type 1 (off/paid). Since the employee does not have to work on days of this type, no time is credited. No processing takes place. | ||||
N Y 2 |
The daily work schedule is not OFF. The employee is present. The day to be evaluated has the day type 2 (off/unpaid). Since the employee does not have to work on days of this type, no time is credited. No processing takes place. | ||||
N N |
The daily work schedule is not OFF. The employee is not present. He/she receives no time credit. | ||||
Y |
The daily work schedule is OFF. This is not a workday for the employee. He/she receives no time credit. |
