SAP ABAP IMG Activity OHARUBP_PY_ABVAC_007 (Perform Relevance Test for Payroll Averages)
Hierarchy
SAP_HRCRU (Software Component) Sub component SAP_HRCRU of SAP_HR
   PY-RU (Application Component) Russia
     P33C (Package) HR Customizing: Russia
IMG Activity
ID OHARUBP_PY_ABVAC_007 Perform Relevance Test for Payroll Averages  
Transaction Code S_AC0_52000336   (empty) 
Created on 20041213    
Customizing Attributes OHARUBP   RU-PY: Business Processes 
Customizing Activity    
Document
Document Class SIMG   Hypertext: Object Class - Class to which a document belongs.
Document Name OHARUBP_PY_ABVAC_007    

Use

This IMG activity describes the different ways in which the system can calculate an employee's average pay. The system uses this data to determine the amount an employee receives during periods of absence.

To determine which period the system uses to calculate an employee's average income, you can use the following function modules in the function group HRPAYRU_PAYROLL_AVERAGES:

  • HR_RU_AV_REL_PREM_BOL
    If the event starts in January, the function module takes into account all periods in the previous year; if the event starts in any other month, the function module takes into account all periods since January in the current year.
  • HR_RU_AV_REL_MONTHS_BOL
    If the event starts in January the function module takes into account all periods in the previous year; if the event starts in any other month, the function module takes into account all periods since January.
    Based on these periods, the function module selects only those periods for which the value of the field NUM for the base wage type for cumulation for the period in question is not zero.
  • HR_RU_AV_REL_PER_VAC
    This function module takes into consideration N months before the event starts. In the case of paid absences, the function module takes into account the same number of months before the event as the event lasts.
    For example, if you want to calculate the average pay for an employee's vacation on April 10, 2006, the calculation should take into account the preceding N months before the start of vacation. However, if the employee was not paid in these N months, you must rollback to the previous N months to determine the average.
  • HR_RU_AV_REL_PREV_YEAR
    This function module selects all periods in the previous year.
    If you select the Also Current checkbox in the Customizing activity Determine Calculation Rules for Average Amounts, the function module selects the current period, too.
  • HR_RU_AV_REL_YEAR_TO_PREV_YEAR
    This function module selects all periods in the year before the previous year.
    If you select the Also Current checkbox in the Customizing activity Determine Calculation Rules for Average Amounts, the function module selects the current period, too.
  • HR_RU_AV_REL_QUART_VAC
    This function module takes into consideration periods based on an employee's salary.
    The function module uses the first month of the relevant period and determines the quarter before this month; all months in this quarter are relevant.
  • HR_RU_AV_REL_QUART_BOL
    If the event starts between January and March, the system takes into account all relevant periods from the previous year.
    If the event starts between April and December, the system takes into account all periods from January in the current year.
  • HR_RU_AV_REL_QMONTHS_BOL
    The function module takes into consideration payroll periods for which the value of the field NUM for the base wage type for cumulation is not zero.
    In this way, if the event starts between January and March, the function module takes into account all periods in the previous year.
    If the event starts between April and December, however, the function module takes into account all periods from the start of the year in which the event started.
  • HR_RU_AV_REL_QUART_VAC_LAST
    The function module takes into account the last period in which the employee was paid. To analyze the amount of pay, the function module uses a cumulation rule.
  • HR_RU_AV_REL_AS_MASTER_AVRULE
    The function module selects the same periods as those that the main calculation rule uses. You can use the BAdI Define Relationship Between Average Rules to determine the main calculation rule for averages.
    For regular vacation, the function module uses the calculation rule RU01and for calculating average bonuses, the function module uses a different rule, for example, RU25. (See the IMG activity Determine Calculation Rules for Average Amounts).
    However, for one and the same absence, the period that you use for calculating the average bonus must be the same as you use for calculating the average salary.
    Point 14 in the rule for calculation averages is the calculation for monthly and quarterly bonuses.
  • HR_RU_AV_REL_PER
    Works in a similar way to function module HR_RU_AV_REL_PER_VAC (see above), except that function module HR_RU_AV_REL_PER works only with past periods.
  • HR_RU_AV_REL_PER2
    Works in a similar way to function module HR_RU_AV_REL_PER (see above), except that function module HR_RU_AV_REL_PER2 works only with past periods after employees leave your company, or rejoin your company after a period of time.
  • HR_RU_AV_REL_LEAVE_VAC_COMPENS
    The system uses this function module when an employee leaves a company on the last day of the month and still has some of his or her vacation quota left. To receive payment for the unused leave, the function module includes the last month of employment in the average calculation to determine the payment if the employee leaves the company on the last day of the month. In other respects, the function module works in the same way as HR_RU_AV_REL_PER.
  • HR_RU_AV_REFINE_RESULTS
    This function module is used for cases when an employee receives more than one additional payment, for example, a bonus, in a particular period (month, quarter, or year). In such cases, Russian legislation stipulates that only the greatest payment is included in the average calculation.
    This function module selects the maximum payment and stores it in a separate wage type, before assigning the amounts of normal wage types to the separate wage type.
    For more information, see the IMG activity Refine Average Processing.
  • HR_RU_AV_REL_QUART_1 through HR_RU_AV_REL_QUART_4
    The above function modules check when additional payments (for example, bonuses) are paid out and based on the month in which the bonus is paid, return the previous quarter as relevant for calculations based on the additional payments.
    For example, if you pay your employees a first quarter, one-off bonus in May, the FOR period and IN period are different. To evaluate the average amounts for the first quarter, function module HR_RU_AV_REL_QUART_1 returns the period January through March as relevant for the average evaluation.
    To find the maximum payment amount during the relevant period, all four function modules call function module HR_RU_AV_REFINE_RESULTS.
  • HR_RU_AV_REL_SICK_2011
    The system uses this function module to calculate social insurance payments. The function module returns only one relevant period in which the system must calculate the average for absence pay. The function module also refines the Results (RT) table of the selected payroll period and excludes wage types that are related to a different absence. The function module specifically calculates social insurance payments based on the two calendar year algorithm.
  • HR_RU_AV_REL_SICK_2011_YEARS
    The system uses this function module to calculate social insurance payments by evaluating the base amount for one calendar year. The function module returns the following periods as being relevant: The selected calendar year that the function module determines by using the data in the Customizing activity Link Wage Type for Social Insurance Base to Calculation Modifier and the period in which the system must calculate the average for the absence.
    The function module also refines the Results (RT) table of the current payroll period and transfers the wage types with the base amounts that relate to the selected year, but that were made in periods that are not relevant. They are not relevant because the periods relate to an employee's previous employer and are specified in the Other and Previous Employers (0293) infotype. The function module specifically calculates social insurance payments based on the two calendar year algorithm.

Requirements

Standard settings

Activities

Example

Business Attributes
ASAP Roadmap ID 204   Establish Functions and Processes 
Mandatory / Optional 3   Nonrequired activity 
Critical / Non-Critical 2   Non-critical 
Country-Dependency I   Valid for countries specified 
Maintenance Objects
Maintenance object type    
History
Last changed by/on SAP  20070809 
SAP Release Created in 600