SAP ABAP Class CL_HRPAYRU_PLTAXRUN (RU Payroll Core)
Hierarchy
SAP_HRCRU (Software Component) Sub component SAP_HRCRU of SAP_HR
   PY-RU (Application Component) Russia
     PC33 (Package) HR accounting : Russia
Meta Relationship - Using
# Relationship type Using Short Description Created on
1 Interface implementation (CLASS c. INTERFACES i_ref)  IF_HRPAYRU_REPORT_CONTROL interface for public calls of other classes 20070130
Properties
Class CL_HRPAYRU_PLTAXRUN  
Short Description RU Payroll Core    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package PC33   HR accounting : Russia 
Created 20060503   SAP 
Last change 20110809   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
# Type group / Object type Type Type Description
1 P99SG Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
2 PRUPY Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
Interfaces
# Interface Abstract Final Description Created on
1 IF_HRPAYRU_REPORT_CONTROL interface for public calls of other classes 20070130
Friends
Class CL_HRPAYRU_PLTAXRUN has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 AC_TIMES Constant Private Type reference (TYPE) I 100 20070130
2 AS_COND Instance attribute Private Type reference (TYPE) PRUPY_S_SELOPT Select Options 20070130
3 AT_7RUN4 Instance attribute Private Type reference (TYPE) PRUPY_T_7RUN4 Cumulation wage codes 20070130
4 AT_7RUN6 Instance attribute Private Type reference (TYPE) PRUPY_T_7RUN6 Grouping of wage codes 20070130
5 AT_EXKEY Instance attribute Public Type reference (TYPE) PRUPY_T_SPLITTING_FIELDS 20070130
6 AT_GRP_CNT Instance attribute Private Type reference (TYPE) TT_GRP_COUNT 20070130
7 AT_INWAGE Instance attribute Private Type reference (TYPE) PRUPY_T_SRC_WAGES 20070130
8 AT_PAYROLL Instance attribute Private Type reference (TYPE) PRUPY_T_PERSON_RESULT Russian Payroll results 20070130
9 AT_PERMO Instance attribute Private Type reference (TYPE) P99SG_TAB_PERMO 20070130
10 AT_PERNRS Instance attribute Public Type reference (TYPE) PRUPY_T_REF_PERNR List of pernrs 20070202
11 AT_WAGES Instance attribute Public Type reference (TYPE) PRUPY_T_WAGES 20070202
12 AV_PERMO Instance attribute Protected Type reference (TYPE) PERMO Deault Period Parameter 20100922
13 A_BEGDA Instance attribute Private Attribute reference (LIKE) 20070130
14 A_BEGPER Instance attribute Private Type reference (TYPE) PAPER Payroll period 20070202
15 A_CLASS_ID Instance attribute Private Attribute reference (LIKE) 20070130
16 A_ENDDA Instance attribute Private Attribute reference (LIKE) 20070130
17 A_ENDPER Instance attribute Private Type reference (TYPE) PAPER Payroll period 20070202
18 A_FEATURE Instance attribute Public Type reference (TYPE) T549B-NAMEN Name of feature 20070202
19 A_IS_L Instance attribute Private Type reference (TYPE) FLAG Is 'Y' type wage type codes exist 20111107
20 A_MOLGA Instance attribute Private Attribute reference (LIKE) 20070202
21 A_ONDATE Instance attribute Private Attribute reference (LIKE) 20070130
22 A_PERNR Instance attribute Private Attribute reference (LIKE) 20070202
23 A_REPORT Instance attribute Private Attribute reference (LIKE) 20070202
24 A_REPPER Instance attribute Private Type reference (TYPE) PAPER Payroll period 20070202
25 C_PERMO Constant Private Type reference (TYPE) PERMO '01' Period Parameters 20070130
26 GC_EXTID_SPLITTING Constant Public Type reference (TYPE) PRUPY_S_SPLITTING_FIELD-TABLE 'EXTID' 20070130
27 GC_L_TYPE Constant Private Type reference (TYPE) P33_EXTTY 'L' Processing Type 20111107
28 GC_PRUMY_SPLITTING Constant Public Type reference (TYPE) PRUPY_S_SPLITTING_FIELD-TABLE 'PRUMY' 20070130
29 GC_SPLIT_BY_CNTR1 Constant Public Type reference (TYPE) PRUPY_S_SPLITTING_FIELD-TABLE 'TAX' 20100414
30 GV_NEW_ALGORITHM Instance attribute Private Type reference (TYPE) T7RURPTCST00-CONTN Variable contents 20081215
31 MO_EXTID_PROVIDER Instance attribute Public Object reference (TYPE REF TO) IF_HRPAYRU_PLTAXRUN External TimePeriod<->ID provider 20070130
32 MT_ORGASS Instance attribute Public Type reference (TYPE) PRUPY_T_ORGASS 20070130
33 MT_TAX Instance attribute Public Type reference (TYPE) HRPAYRU_TAX Russian Tax Table 20090619
34 MT_TAXSCHEMA Instance attribute Public Type reference (TYPE) TY_TT_TAXSCHEMA 20100506
35 MV_SPLIT_BY_CNTR1 Instance attribute Public Type reference (TYPE) FLAG Split result by CNTR1 20090619
36 MV_SPLIT_BY_ORG Instance attribute Public Type reference (TYPE) FLAG General Flag 20070130
Methods
# Method Level Visibility Method type Description Created on
1 CALL_FEATURE Instance method Private Method 20070130
2 COLLECT_OUTWAGE Instance method Private Method 20070130
3 CONSTRUCTOR Instance method Public Constructor CONSTRUCTOR 20070130
4 CUMULATE_WAGES Instance method Private Method 20070130
5 GET_DATA Instance method Private Method 20070202
6 GET_EXKEY Instance method Private Method 20070130
7 GET_PERMO Instance method Private Method 20070130
8 GET_SUM Instance method Private Method 20070130
9 GET_TAX Instance method Protected Method Get record from Tax table or append new 20100506
10 GET_TAXSCHEMA Instance method Protected Method Detect TaxSchema and Grouping 33TAX from PA 20100506
11 GET_WCODE Instance method Public Method 20070202
12 GET_WCODE_ATTRIBS Instance method Public Method 20070202
13 READ_CLUSTER Instance method Private Method 20070130
14 REARRANGE_CNTR1 Instance method Protected Method Method process WCodes with partional exist CNTR1 20100506
15 RECONSTRUCT_TAX_TABLE Instance method Protected Method ReConstruct TAX in P results 20100506
16 SAVE_RESULTS Instance method Private Method 20070130
17 SET_CONDITIONS Instance method Public Method 20070130
18 SET_EXTID_PRVD Instance method Public Method Set External ID Provider 20070130
19 SET_PERMO Instance method Private Method 20070130
20 SET_PERSON Instance method Private Method 20070202
Events
Class CL_HRPAYRU_PLTAXRUN has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 TS_GRP_COUNT Protected See coding 20100506 begin of ts_grp_count, wcode type t7run2ext-wcode, amt type pc207-betrg, end of ts_grp_count
2 TS_WPBP_CHECK Protected See coding 20100506 BEGIN OF ts_wpbp_check. include type pc205. TYPES: exkey TYPE prupy_s_wages-exkey, END OF ts_wpbp_check
3 TT_GRP_COUNT Protected See coding 20100506 tt_grp_count TYPE SORTED TABLE OF ts_grp_count WITH UNIQUE DEFAULT KEY
4 TT_WPBP_CHECK Protected See coding 20100506 tt_wpbp_check TYPE SORTED TABLE OF ts_wpbp_check WITH UNIQUE KEY apznr
5 TY_TS_TAXSCHEMA Public See coding 20100506 begin of TY_Ts_TAXSCHEMA, begda type pc2aper-begda, ENDDA TYPE pc2aper-endda, mdtax type pc2_ru02-mdtax, s33tax type pc2_ru02-33tax, end of ty_ts_taxschema
6 TY_TT_TAXSCHEMA Public See coding 20100506 ty_tt_taxschema type TABLE OF TY_Ts_TAXSCHEMA
Method Signatures

Method CALL_FEATURE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_VALUE Call by reference Type reference (TYPE) ANY 20070130
2 Importing IS_PRUMY Call by reference Type reference (TYPE) PRUMY Limited Structure for T549B 20070130
# Exception Resumable Description Created on
1 FEATURE_ERROR 20070130

Method COLLECT_OUTWAGE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_OUTWAGE Call by reference Type reference (TYPE) PRUPY_T_WAGES 20070130
2 Importing IT_RESULTS Call by reference Type reference (TYPE) PAYRU_RESULT_TAB Table of PAYRU_RESULT 20070130
3 Importing I_PERIOD Call by reference Type reference (TYPE) PC261-FPPER For-period for payroll 20070130

Method COLLECT_OUTWAGE on class CL_HRPAYRU_PLTAXRUN has no exception.

Method CONSTRUCTOR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing BEGDA Value transfer Type reference (TYPE) D from period for payroll 20070130
2 Importing ENDDA Value transfer Type reference (TYPE) D till period for payroll 20070130
3 Importing FUPER Value transfer Type reference (TYPE) D Future period for payroll 20070130
4 Importing IV_SPLIT_BY_CNTR1 Call by reference Type reference (TYPE) FLAG Split result by CNTR1 20090619
5 Importing IV_SPLIT_BY_ORG Call by reference Type reference (TYPE) FLAG General Flag - to store PRUMY per TaxCode 20070130
6 Importing MOLGA Call by reference Type reference (TYPE) MOLGA '33' Country Grouping 20070130
7 Importing REPID Value transfer Type reference (TYPE) REPID ABAP Program Name 20070130
8 Importing SELCOND Value transfer Type reference (TYPE) PRUPY_S_SELOPT 20070130
# Exception Resumable Description Created on
1 PERIODS_ERROR 20070130

Method CUMULATE_WAGES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing PT_WAGES Call by reference Type reference (TYPE) PRUPY_T_WAGES 20070130

Method CUMULATE_WAGES on class CL_HRPAYRU_PLTAXRUN has no exception.

Method GET_DATA Signature

Method GET_DATA on class CL_HRPAYRU_PLTAXRUN has no parameter.
Method GET_DATA on class CL_HRPAYRU_PLTAXRUN has no exception.

Method GET_EXKEY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_EXKEY Call by reference Type reference (TYPE) PRUPY_S_WAGES-EXKEY 20070130
2 Importing IS_EVP Call by reference Type reference (TYPE) PC261 20070130
3 Importing IS_RESULT Call by reference Type reference (TYPE) PAYRU_RESULT HR-PAY-RU: Structure for payroll result 20071005
4 Importing IS_RT Call by reference Type reference (TYPE) PC207 Payroll Results: Results Table 20070130
5 Importing IS_WPBP_CHK Call by reference Type reference (TYPE) TS_WPBP_CHECK 20070130
6 Importing IV_CNTR1 Call by reference Type reference (TYPE) PC207-CNTR1 National assignment indicator 20100414
7 Importing IV_INPER Call by reference Type reference (TYPE) C Flag 'X' if in-period 20110315

Method GET_EXKEY on class CL_HRPAYRU_PLTAXRUN has no exception.

Method GET_PERMO Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning E_PERMO Value transfer Type reference (TYPE) PERMO Period Parameters 20070130
2 Importing I_PERIOD Call by reference Type reference (TYPE) PAPER Payroll period 20070130

Method GET_PERMO on class CL_HRPAYRU_PLTAXRUN has no exception.

Method GET_SUM Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_EVP Call by reference Type reference (TYPE) PC261 Cluster Directory (For Export and Import of Payroll Results) 20070130
2 Importing IS_INWAGE Call by reference Type reference (TYPE) PRUPY_S_SRC_WAGES 20070130
3 Importing IS_RT Call by reference Type reference (TYPE) PC207 Payroll Results: Results Table 20070130
4 Exporting R_SUM Call by reference Type reference (TYPE) PRUPY_S_WAGES-SUM 20070130

Method GET_SUM on class CL_HRPAYRU_PLTAXRUN has no exception.

Method GET_TAX Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CS_TAX Call by reference Type reference (TYPE) PC2_RU02 Russian Tax 20100506
2 Changing CT_TAX Call by reference Type reference (TYPE) HRPAYRU_TAX Russian Tax Table 20100506

Method GET_TAX on class CL_HRPAYRU_PLTAXRUN has no exception.

Method GET_TAXSCHEMA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_33TAX Call by reference Type reference (TYPE) P33_33TAXVALUE Value from Feature 33TAX 20100506
2 Exporting EV_MDTAX Call by reference Type reference (TYPE) P33_MDTAX Tax Schema 20100506
3 Importing IS_RESULT Call by reference Type reference (TYPE) PAYRU_RESULT HR-PAY-RU: Structure for payroll result 20100506
4 Importing IV_INPER Call by reference Type reference (TYPE) C 20110315

Method GET_TAXSCHEMA on class CL_HRPAYRU_PLTAXRUN has no exception.

Method GET_WCODE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_WAGES Call by reference Type reference (TYPE) PRUPY_T_WAGES 20070202
2 Importing I_PERIOD Call by reference Type reference (TYPE) FUPER Period 20070202
3 Importing I_WCODE Call by reference Type reference (TYPE) P33_WCODE Wage code 20070202

Method GET_WCODE on class CL_HRPAYRU_PLTAXRUN has no exception.

Method GET_WCODE_ATTRIBS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning ES_ATT Value transfer Type reference (TYPE) PRUPY_S_WCODE_ATTRIBS 20070202
2 Importing IV_TEXT Value transfer Type reference (TYPE) FLAG ' ' General Flag 20070202
3 Importing I_WCODE Call by reference Type reference (TYPE) PRUPY_S_SRC_WAGES-WCODE 20070202

Method GET_WCODE_ATTRIBS on class CL_HRPAYRU_PLTAXRUN has no exception.

Method READ_CLUSTER Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing BEGPER Call by reference Type reference (TYPE) FUPER For-period for payroll 20070130
2 Importing ENDPER Call by reference Type reference (TYPE) FUPER For-period for payroll 20070130
3 Exporting IT_PAYROLL Call by reference Type reference (TYPE) PAYRU_RESULT_TAB Table of PAYRU_RESULT 20070130
4 Importing PERMO Call by reference Type reference (TYPE) PERMO Period Parameters 20070130
5 Importing PERNR Call by reference Type reference (TYPE) PERNR_D Personnel Number 20070130
# Exception Resumable Description Created on
1 PAYROLL_RESULTS 20070130

Method REARRANGE_CNTR1 Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_WAGES Call by reference Type reference (TYPE) PRUPY_T_WAGES 20100506

Method REARRANGE_CNTR1 on class CL_HRPAYRU_PLTAXRUN has no exception.

Method RECONSTRUCT_TAX_TABLE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_PAYROLL Call by reference Type reference (TYPE) PAYRU_RESULT_TAB Table of PAYRU_RESULT 20100506

Method RECONSTRUCT_TAX_TABLE on class CL_HRPAYRU_PLTAXRUN has no exception.

Method SAVE_RESULTS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_RESULTS Call by reference Type reference (TYPE) PAYRU_RESULT_TAB Table of PAYRU_RESULT 20070130
2 Changing OT_RESULTS Call by reference Type reference (TYPE) PAYRU_RESULT_TAB Table of PAYRU_RESULT 20070130

Method SAVE_RESULTS on class CL_HRPAYRU_PLTAXRUN has no exception.

Method SET_CONDITIONS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_COND Call by reference Type reference (TYPE) PRUPY_S_SELOPT 20070130
2 Importing IT_EXKEY Call by reference Type reference (TYPE) PRUPY_T_SPLITTING_FIELDS 20070130
3 Importing IV_SPLIT_BY_CNTR1 Call by reference Type reference (TYPE) FLAG Split result by CNTR1 20090619
4 Importing IV_SPLIT_BY_ORG Call by reference Type reference (TYPE) FLAG General Flag 20070130
5 Importing I_FEATURE Call by reference Type reference (TYPE) T549B-NAMEN Name of feature 20070130
# Exception Resumable Description Created on
1 FEATURE_ERROR 20070130

Method SET_EXTID_PRVD Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IO_PROVIDER Call by reference Object reference (TYPE REF TO) IF_HRPAYRU_PLTAXRUN TimePeriod provider for PLTAXRUN 20070130
# Exception Resumable Description Created on
1 CHANGING_NOT_POSSIBLE The previouse provider already used - chnaging is impossible 20070130

Method SET_PERMO Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning ET_PERMO Value transfer Type reference (TYPE) P99SG_TAB_PERMO 20070130
2 Importing I_BEGDA Call by reference Type reference (TYPE) D 20070130
3 Importing I_ENDDA Call by reference Type reference (TYPE) D 20070130
4 Importing I_PERNR Call by reference Type reference (TYPE) PERNR_D Personnel Number 20070130
# Exception Resumable Description Created on
1 ILLEGAL_PERMO 20100922

Method SET_PERSON Signature

Method SET_PERSON on class CL_HRPAYRU_PLTAXRUN has no parameter.
Method SET_PERSON on class CL_HRPAYRU_PLTAXRUN has no exception.
History
Last changed by/on SAP  20110809 
SAP Release Created in