
In the cumulation rules, specify which average value calculation basis wage types /2## should be used. When doing so, you determine which field ( RTE(Rate), NUM(Number), or AMT) should be used to cumulate the wage types and if the cumulation should be positive (+) or negative (–). If you do not make any entries, the relevant field is not cumulated.
If you have created adjustment rules and if these should be used when cumulating, enter the adjustment rule required for every field.
Modifying Average Formulas

An average calculation must result in the RTE field containing a valuation basis. The formula used to calculate this value is included in personnel calculation rule X018.
The internal table MV contains the cumulations for averages.
Standard rule X018 uses the formula amount/number to calculate hourly rates.
Final Processing Rules and Comparison Rules

Create the final processing rules that you require. You can reselect certain periods for final processing from the relevant average periods and store a delivered or modified final processing rule.
Define the comparison rules for calculated average values. If you do not want to compare the calculated average value, you do not need to make any settings.
The calculated value can be compared with a value specified here, for example, the standard pay. Specify which value should be used, under which conditions. The system then uses the calculated value or the comparison value accordingly as the average value.
Calculation Rules for Averages

Create the calculation rules using the previously defined relevancy rules, cumulation rules, final processing rules, and comparison rules.
Specify from how many previous periods the relevant average periods should be selected, and whether the current period should be included. Select a time unit for the relevant average periods.
Specify if the calculated average value should be frozen. The rate is then stored in the AVERAGE table in the payroll results. For example, in the case of an absence covering several payroll periods, use the calculated average value throughout. You can also use an average value that was calculated in the first payroll period of the year in all the payroll periods in the year.
If you want to use a relevancy test to determine the relevant period, you must enter the maximum number of relevant periods and the time unit you require.
If it is possible to pay the employee a definite amount instead of the calculated value, enter the wage type you wish to use for this purpose.
You can specify which weekday should be the last day in a calendar week with the help of feature LDAYW. If you want to change the feature, please consider that this will also affect Time Management.For example, you can use the Hourly Average field to create an average for an employee’s overtime for the last three months. The system calculates this average and places the value calculated in the Number field.
Assign Average Valuation to a Primary Wage Type

In this step, you must maintain all primary wage types that are to be valuated using an average. These wage types are created in payroll either after they were generated from the attendances and absences, or after you have entered them, for example, in the infotype 2010.
Specify which wage type should be calculated according to which average calculation rule.
Relevancy Rule for Average Calculation

While defining a relevancy rule, you need to specify whether an average period should be relevant for the calculation of averages under the conditions specified. You can use any 4-digit sequence of characters starting with the letter Z or a number between 0 and 9 as a name range.
If you do not use a relevancy rule, the system uses all the average periods for average calculation.
You can define the processing of the relevancy test under the following circumstances:
- Define processing of the relevancy test when the legal person changes: check (Y) or no check (N).
- Define processing of the relevancy test when an employee is rehired: check (Y) or no check (N).
- Define processing of the relevancy test for partially relevant periods: no check (N), only take the results that do not overlap into consideration (C) or take all the results into consideration (A).
- Define processing of the period’s relevancy: average period is relevant if a result (1) or if all results (A) are relevant.
If you perform a relevancy test with a function module, you specify its name.
Excluding the Relevancy of Off-Cycle Reasons

If you do not use an Off-Cycle Payroll, you do not need to make these settings. Otherwise, you specify which Off-Cycle Payroll runs should no longer be taken into consideration.
