Ansicht
Dokumentation

HR_RU_SEN_WC_MAIN - HR RU - Special work conditions

HR_RU_SEN_WC_MAIN - HR RU - Special work conditions

Addresses (Business Address Services)   CL_GUI_FRONTEND_SERVICES - Frontend Services  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

This function module was created to be used in report HRULPFP5 to create reporting for the Russian Pension Fund.

The function module is used to calculate an employment period.

It is customized in table T525V (selection exit with key RUP1) and used to calculate (or get) the following data:

Working time in hazardous working conditions (HWC). It is customized in selection rule RUV7 with object type CH.

Working time in regional working conditions (RWC). It is customized in selection rule RUV3 with object type CR.

Working time in special working conditions (SWC) - long service. It is customized in selection rule RUV5 with object type CL.

Working time in special working conditions (SWC) - calculated seniority. It is customized in selection rule RUV6 with object type CT.

The function module reads infotype 0001 and gets all working conditions relevant for organizational unit (using evaluation path O-WC) and position (using evaluation path S-WC).

Furthermore, the function module reads infotypes 2002 and 2003 and gets all working conditions relevant for the position (using evaluation path S-WC) and for work center (using evaluation path WC_FOR_A).

To get the correct result, it is important that the process for calculating general seniority is customized (table T525P). By default, process RU01 is taken. It can be changed in table T7RURPTCST00 in parameter G_PROCE_COM_SEN.

When the function module calculates working time in HWC, it calculates work in constant HWC and variable HWC (maintained in infotype 0876).

When the function module calculates working time in RWC, it calculates working in constant RWC and working in rotating shift method (watch method) in RWC.

It is possible not to calculate them together if you leave the parameter value for parameter G_ADD_VARIABLE_WC in table T7RURPTCST00 blank.

By default, working time in variable HWC is subtracted from working in constant HWC. The same is relevant for rotating shift method when working in RWC is calculated. But if the parameter value for parameter G_DEDUCT_VARIABLE_WC in table T7RURPTCST00 is blank, then these periods are not subtracted.

Example

An employee works from 01.03.2007 to 31.03.2007 in constant HWC 1.

Additionally, in infotype 0876, you enter working time in HWC 2 from 15.03.2007 to 15.03.2007.

By default (G_ADD_VARIABLE_WC = 'X', G_DEDUCT_VARIABLE_WC = 'X'), the function module calculates the time in HWC as follows:

  • HWC1 in the period 01.03.2007 - 31.03.2007 is 30 days
  • HWC2 in the period 01.03.2007 - 31.03.2007 is 1 day

If parameter G_ADD_VARIABLE_WC = ' ' , the function module does not calculate working time in HWC 2.

If parameter G_DEDUCT_VARIABLE_WC = ' ', the function module calculates time in HWC1 in the period 01.03.2007 - 31.03.2007 as 31 days.

Notes

All object types and evaluation paths can be changed using Customizing in table T7RURPTCST00 (see Determine Parameters for Working Conditions).

RUADM,,G_WEGID_A_WC,,,,WC_FOR_A

RUADM,,G_WEGID_O_WC,,,,O-WC

RUADM,,G_WEGID_S_WC,,,,S-WC

RUADM,,G_OTYPE_HWC,,,,CH

RUADM,,G_OTYPE_RWC,,,,CR

RUADM,,G_OTYPE_SWC_CS,,CT

RUADM,,G_OTYPE_SWC_LS,,CL

Further information





Parameters

ET_DATE_DURATION
ET_PERIOD_WEIGHT
ID_AUTHO
ID_BEGDA
ID_ENDDA
ID_PERNR
ID_SELDATE
ID_SEL_VALUE
IS_T525U

Exceptions

INTERNAL_ERROR
NO_AUTHORIZATION

Function Group

HRPADRU_RULES2

Fill RESBD Structure from EBP Component Structure   SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up  
This documentation is copyright by SAP AG.

Length: 3993 Date: 20240523 Time: 101702     sap01-206 ( 64 ms )