You want to calculate the number of public holidays (paid days off with day type 1) for monthly factoring. To do this, you use operation RTE=vnAXyy, where n specifies whether the value is to be calculated in calendar days (n=K), work days (n=A), or work hours (n=S). yy stands for the counting class to be considered; v specifies whether the partial month parameters should be processed for the partial month (v=T) or for the whole month (v=G). However, the operation only returns the number of holidays that do not overlap with an absence (for example, leave).
Accounting month May 1995 with paid public holidays on May 1 and May 25.
Absence from May 22 - May 26, 1995. May 1 and May 25 were public holidays.
Using operation RTE=GAAX**, 1 is placed in the RTE field since, on May 25, 1995, an absence overlapped with a public holiday and, consequently, only May 1, 1995 counts as a public holiday.
The fact that absences override public holidays is preprogrammed and cannot be set using parameter tables.
As of Release 4.0, you have other control possibilities with the allocation of daily cycles to counting classes.
There are several possible ways to solve this problem:
- 1. You enter absences that are not supposed to override public holidays in such a way that they never contain public holidays. In the above example, this would mean that you would have to create two absence records, one from May 22 through May 24 1995, and the other for May 26, 1995.
- 2. You save the values of the public holiday counting classes before you call up function PAB. (This solution is dependent on the implementation of the calculation of counting classes, which could change with a Release change but which functions for Release 2.2-3.1).
- 3. AS of Release 4.A, with table T554C, additional a counting class only for absences on public holidays can be filled (by allocating a daily cycle). This replaces the use of a correction wage type.
- 4. You form a correction wage type (for example, 47yy) and place the number of all public holidays that overlap with absences of one particular or of all counting classes in the accounting period into this correction wage type.
To do this, use the record layout field ABWAF if you want to calculate in calendar or work days, and the record layout field ABWSF if you want to calculate in work hours.
If you want to query the number of absence days in your monthly factoring formula, you must carry out the following calculation:
RTE=vnAPyy RTE- 47yy
Correspondingly, you must calculate the following as the number of
holidays: RTE=vnAXyy RTE+ 47yy.
Please remember that you must replace yy with the counting class here. If you use RTE=vnAP** to calculate the total of all counting classes, you should not use 47** as the correction wage type since only numeric wage types are allowed as user wage types.
Form correction wage type 47yy, by accessing a cycle as special processing in table T554C.
The absence types with evaluation class 01 (for example, paid leave) should be counted in counting class 01 and should not overlay with public holidays.
The evaluation of absences takes place in work days.
Correction wage type 4701 can be formed with the following cycle: VarKey NL T Operation Operation Operation Operation O
-------------+---------+---------+---------+---------+
D ABCLS KLBW
*
01 RTE= ABWSFADDWTI4701
No comments:
Post a Comment