SAP ABAP Class CL_HRPADES_IRPF_INFOTYPE (Infotype 0062 processing class)
Hierarchy
SAP_HRCES (Software Component) Sub component SAP_HRCES of SAP_HR
   PA-PA-ES (Application Component) Spain
     PB04 (Package) HR Master Data: Spain
Properties
Class CL_HRPADES_IRPF_INFOTYPE  
Short Description Infotype 0062 processing class    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status P  SAP Standard Production Program 
Category 0   
Package PB04   HR Master Data: Spain 
Created 20121008   SAP 
Last change 20131127   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
# Type group / Object type Type Type Description
1 ABAP Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
2 PEST0 Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
3 PESUP Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
Interfaces
Class CL_HRPADES_IRPF_INFOTYPE has no interface implemented.
Friends
Class CL_HRPADES_IRPF_INFOTYPE has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 MC_CHAR_SPAIN Constant Protected Type reference (TYPE) P0006-LAND1 'ES' Country code 20121030
2 MC_CHECK_CLASS Constant Protected Type reference (TYPE) STRING 'CHECK' 20130304
3 MC_TAX_CODE_ES Constant Protected Type reference (TYPE) P0062-QLAND '011' Country code 20121030
4 MS_BASEL_RESULT Instance attribute Protected Type reference (TYPE) PEST0_BASEL_RESULT 20121030
5 MS_P0062 Instance attribute Protected Type reference (TYPE) P0062 HR master record Infotype 0062 (Tax - Spain) 20121030
6 MS_Q0062 Instance attribute Protected Type reference (TYPE) Q0062 Screen fields Infotype 0062 (Tax data - Spain) 20121030
7 MT_T511P Instance attribute Protected See coding Payroll constants (Intl) 20130304
8 MV_COMPUTATION_IRPF Instance attribute Protected Type reference (TYPE) T511K-KWERT Payroll constants value 20121030
9 MV_RESID_IN_SPAIN Instance attribute Protected Type reference (TYPE) ABAP_BOOL 20121030
Methods
# Method Level Visibility Method type Description Created on
1 CALCULATE_PAYROLL_PERCENTAGE Instance method Public Method 20130304
2 CHECK_CLOSED_PAYROLL_PERIOD Instance method Public Method auxiliary to calculate_payroll_percentage 20130304
3 CHECK_CODIM Instance method Public Method 20130304
4 CHECK_DEDUCTION Instance method Public Method 20130304
5 CHECK_TAX_RATE Instance method Public Method 20130304
6 CHECK_TICON Instance method Public Method 20130304
7 CONSTRUCTOR Instance method Public Constructor CONSTRUCTOR 20121030
8 CORREGIR_PORCE_CON_MOCON Instance method Public Method 20130304
9 FILL_IGA_RT Instance method Public Method Fill in the results table of IGA 20130304
10 FILL_PAYROLL_RESULTS Instance method Public Method Read and save the payroll results table 20130304
11 GET_COMPUTATION_IRPF Instance method Public Method Returns calculation type of employment tax 20130304
12 GET_CUSTOMER_DECISION Instance method Public Method Returns the customer decision 20121030
13 GET_IRPF_RATE Instance method Public Method Fill in the calculation type of the employment tax 20130304
14 GET_P0062 Instance method Public Method Returns the p0062 structure 20121030
15 GET_TIPO_IRPF Instance method Public Method 20130304
16 READ_511P Instance method Public Method 20130304
17 READ_ABKRS Instance method Public Method Reads the payroll area 20130304
18 READ_INFOTYPE Instance method Protected Method Reads an infotype 20130304
19 READ_IRPF_MODIFIER Instance method Public Method Returns tax modifier (employment tax): codau 20130304
20 READ_PERCENTAGE_CLUSTER Instance method Public Method Reads the Employment Tax percentage of the cluster 20130304
21 READ_RESIDENCE_INDICATOR Instance method Public Method Auxiliary reading to fill the qland 20130304
22 READ_STATE Instance method Public Method Returns the T5E01 structure containing the province: provn 20130304
23 READ_T5E40 Instance method Public Method 20130304
24 READ_T5E41 Instance method Public Method 20130304
25 SETTLEMENT_BASIS_COMP Instance method Public Method Wizard for calculating the settlement basis 20121030
26 SET_IRPF_MODIFIER Instance method Public Method Fills in the provn(state) and codau(irpf modifier) fields 20130304
27 SET_P0062 Instance method Public Method Fills in structure p0062 20130304
28 SET_PREVIOUS_PERCENTAGE Instance method Public Method Reads the Employment Tax percentage of the previous record 20130304
29 SET_QLAND Instance method Public Method Fills in field qland of attribute MS_Q0062 20121030
30 SET_SETTL_BASIS Instance method Public Method Settlement basis calculation 20121030
31 TAX_CORRECTION Instance method Public Method 20130304
Events
Class CL_HRPADES_IRPF_INFOTYPE has no event.
Types
Class CL_HRPADES_IRPF_INFOTYPE has no local type.
Method Signatures

Method CALCULATE_PAYROLL_PERCENTAGE Signature

Method CALCULATE_PAYROLL_PERCENTAGE on class CL_HRPADES_IRPF_INFOTYPE has no parameter.
# Exception Resumable Description Created on
1 INDIC_IRPF_MANUALLY 20130304

Method CHECK_CLOSED_PAYROLL_PERIOD Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_ABKRS Call by reference Type reference (TYPE) P0001-ABKRS Payroll area 20130304
2 Returning RV_CLOSED Value transfer Type reference (TYPE) ABAP_BOOL 20130304

Method CHECK_CLOSED_PAYROLL_PERIOD on class CL_HRPADES_IRPF_INFOTYPE has no exception.

Method CHECK_CODIM Signature

Method CHECK_CODIM on class CL_HRPADES_IRPF_INFOTYPE has no parameter.
# Exception Resumable Description Created on
1 INCORRECT_CONT_DIGIT 20130304
2 NO_ENTRY_FOUND 20130304

Method CHECK_DEDUCTION Signature

Method CHECK_DEDUCTION on class CL_HRPADES_IRPF_INFOTYPE has no parameter.
# Exception Resumable Description Created on
1 TOTAL_RETRIB_LE_SATS_RETRIB Total retrib. value is less or equal to satisfied retrib. 20130304

Method CHECK_TAX_RATE Signature

Method CHECK_TAX_RATE on class CL_HRPADES_IRPF_INFOTYPE has no parameter.
# Exception Resumable Description Created on
1 FORCE_REGULARIZATION Force regularization is not possible due to housing payments 20130304
2 INDIC_IRPF_MANUALLY If expatriate, specify IRPF manually 20130304
3 MANDATORY_FIELD Compulsory field not filled in 20130304
4 NO_INPUT_WITH_VALUES No input for reg. code and date 20130304
5 NO_PAYMENT_SUBKEY W/o recipient subkey for reported codau 20130304
6 TYPE_DEDUCTION Error when determining type of deduction 20130304

Method CHECK_TICON Signature

Method CHECK_TICON on class CL_HRPADES_IRPF_INFOTYPE has no parameter.
# Exception Resumable Description Created on
1 BIG_CONTRACT_TYPE Contract type is too long 20130304

Method CONSTRUCTOR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_P0062 Call by reference Type reference (TYPE) P0062 HR master record Infotype 0062 (Tax - Spain) 20121030
2 Importing IV_ACTION Call by reference Type reference (TYPE) IOPER Infotype operation 20121030

Method CONSTRUCTOR on class CL_HRPADES_IRPF_INFOTYPE has no exception.

Method CORREGIR_PORCE_CON_MOCON Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_T511K_PORCL Call by reference Type reference (TYPE) T5EI1-PORCE Employment tax (IRPF): Deduction percentage 20130304

Method CORREGIR_PORCE_CON_MOCON on class CL_HRPADES_IRPF_INFOTYPE has no exception.

Method FILL_IGA_RT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_IGA_RT Call by reference Type reference (TYPE) PEST0_IGA_RT_TAB Fills in IGA_RT 20130304
2 Importing IV_ABKRS Call by reference Type reference (TYPE) P0001-ABKRS Payroll area 20130304
3 Importing IV_PREVIOUS Call by reference Type reference (TYPE) I Prvious 20130304

Method FILL_IGA_RT on class CL_HRPADES_IRPF_INFOTYPE has no exception.

Method FILL_PAYROLL_RESULTS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_PAYROLL_RESULTS Call by reference Type reference (TYPE) PESUP_TAB_PAYES_RESULT 20130304
2 Importing IV_ABKRS Call by reference Type reference (TYPE) P0001-ABKRS Payroll area 20130304
3 Importing IV_PABRJ Call by reference Type reference (TYPE) T549Q-PABRJ Payroll year 20130304
4 Importing IV_PABRP Call by reference Type reference (TYPE) T549Q-PABRP Payroll period 20130304

Method FILL_PAYROLL_RESULTS on class CL_HRPADES_IRPF_INFOTYPE has no exception.

Method GET_COMPUTATION_IRPF Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RV_COMPUTATION_IRPF Value transfer Type reference (TYPE) T511K-KWERT Payroll constants value 20130304

Method GET_COMPUTATION_IRPF on class CL_HRPADES_IRPF_INFOTYPE has no exception.

Method GET_CUSTOMER_DECISION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CV_DECISION Call by reference Type reference (TYPE) ABAP_BOOL Customer decision 20121030
2 Importing IV_BEGDA Call by reference Type reference (TYPE) P0062-BEGDA Validity start 20121030

Method GET_CUSTOMER_DECISION on class CL_HRPADES_IRPF_INFOTYPE has no exception.

Method GET_IRPF_RATE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_WAY_COMP Call by reference Type reference (TYPE) T511K-KWERT Payroll constants value 20130304
2 Importing IV_CODAU Call by reference Type reference (TYPE) P0062-CODAU Tax modifier (employment tax) 20130304
3 Importing IV_DATE Call by reference Type reference (TYPE) PREL-BEGDA Valid from date 20130304
# Exception Resumable Description Created on
1 MOD_IRPF_COMP The Employment Tax calculation type could not be determine 20130304
2 MOD_IRPF_COMP_CHANGE The Employment Tax calculation type changes during validity 20130304

Method GET_P0062 Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RS_P0062 Value transfer Type reference (TYPE) P0062 HR master record Infotype 0062 (Tax - Spain) 20121030

Method GET_P0062 on class CL_HRPADES_IRPF_INFOTYPE has no exception.

Method GET_TIPO_IRPF Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_SUMME Call by reference Type reference (TYPE) Q0062-SUMME Settlement basis for employment tax (IRPF) 20130304
# Exception Resumable Description Created on
1 FORCE_REGULARIZATION Force regularization is not possible due to housing payments 20130304
2 TYPE_DEDUCTION Error when determining type of deduction 20130304

Method READ_511P Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_DATUM Call by reference Type reference (TYPE) T511P-BEGDA Valid from date 20130304
2 Importing IV_KONST Call by reference Type reference (TYPE) T511P-KONST Payroll constant for amounts 20130304
3 Importing IV_MOLGA Call by reference Type reference (TYPE) T511P-MOLGA Country grouping 20130304
4 Returning RS_T511P Value transfer Type reference (TYPE) T511P 20130304

Method READ_511P on class CL_HRPADES_IRPF_INFOTYPE has no exception.

Method READ_ABKRS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RV_ABKRS Value transfer Type reference (TYPE) P0001-ABKRS Payroll area 20130304

Method READ_ABKRS on class CL_HRPADES_IRPF_INFOTYPE has no exception.

Method READ_INFOTYPE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ES_LAST_RECORD Call by reference Type reference (TYPE) ANY 20130304
2 Exporting ET_INFOTYPE Call by reference Type reference (TYPE) ANY TABLE 20130304
3 Importing IV_BEGDA Call by reference Type reference (TYPE) BEGDA Valid from date 20130304
4 Importing IV_ENDDA Call by reference Type reference (TYPE) ENDDA Validity to date 20130304
5 Importing IV_INFOTYPE Call by reference Type reference (TYPE) CHAR4 Area not defined, may be for patch levels 20130304

Method READ_INFOTYPE on class CL_HRPADES_IRPF_INFOTYPE has no exception.

Method READ_IRPF_MODIFIER Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_STATE Call by reference Type reference (TYPE) T5E20-PROVN Province 20130304
2 Returning RS_CODAU Value transfer Type reference (TYPE) P0062-CODAU Tax modifier (employment tax) 20130304
# Exception Resumable Description Created on
1 ENTRY_NOT_FOUND_T5E20 20130304
2 GEOGRAPHIC_CODE 20130304

Method READ_PERCENTAGE_CLUSTER Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RV_PORPR Value transfer Type reference (TYPE) P0062-PORPR Previous IRPF percentage 20130304

Method READ_PERCENTAGE_CLUSTER on class CL_HRPADES_IRPF_INFOTYPE has no exception.

Method READ_RESIDENCE_INDICATOR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_COUNTRY Call by reference Type reference (TYPE) P0006-LAND1 Country code 20130304
2 Exporting EV_READ_SUCCEED Call by reference Type reference (TYPE) SY-SUBRC ABAP statement return value 20130304
3 Exporting EV_RESID_IN_SPAIN Call by reference Type reference (TYPE) ABAP_BOOL 20130304

Method READ_RESIDENCE_INDICATOR on class CL_HRPADES_IRPF_INFOTYPE has no exception.

Method READ_STATE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RS_T5E01 Value transfer Type reference (TYPE) T5E01 Provinces 20130304
# Exception Resumable Description Created on
1 ENTRY_NOT_FOUND_IT0001 20130304
2 GEOGRAPHIC_CODE_NOT_FOUND 20130304

Method READ_T5E40 Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_SUMGE1 Call by reference Type reference (TYPE) T5E40-TOTBR Gross annual salary 20130304
2 Returning RS_T5E40 Value transfer Type reference (TYPE) T5E40 Employment tax deduction percentages 20130304
# Exception Resumable Description Created on
1 NO_INPUT_WITH_VALUES No input for reg. code and date 20130304

Method READ_T5E41 Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RS_T5E41 Value transfer Type reference (TYPE) T5E41 Payment subkeys 20130304

Method READ_T5E41 on class CL_HRPADES_IRPF_INFOTYPE has no exception.

Method SETTLEMENT_BASIS_COMP Signature

Method SETTLEMENT_BASIS_COMP on class CL_HRPADES_IRPF_INFOTYPE has no parameter.
# Exception Resumable Description Created on
1 RPAL_ON_GT_65_YEARS_EMP Lgthning wk. acty reduction option activated for EE under 65 20121030
2 RPAL_ON_NOT_ACTIVE_EMP Lgthning wk. acty redtn. option activated for not active EE 20121030
3 SETTLE_BASIS_ERROR Error calculating settlement base 20121030

Method SET_IRPF_MODIFIER Signature

Method SET_IRPF_MODIFIER on class CL_HRPADES_IRPF_INFOTYPE has no parameter.
# Exception Resumable Description Created on
1 GEOGRAPHIC_CODE Display current geographic code 20130304

Method SET_P0062 Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_P0062 Call by reference Type reference (TYPE) P0062 HR master record Infotype 0062 (Tax - Spain) 20130304

Method SET_P0062 on class CL_HRPADES_IRPF_INFOTYPE has no exception.

Method SET_PREVIOUS_PERCENTAGE Signature

Method SET_PREVIOUS_PERCENTAGE on class CL_HRPADES_IRPF_INFOTYPE has no parameter.
# Exception Resumable Description Created on
1 NO_PREVIOUS_IT0062 20130304

Method SET_QLAND Signature

Method SET_QLAND on class CL_HRPADES_IRPF_INFOTYPE has no parameter.
# Exception Resumable Description Created on
1 INDIC_COUNTRY_EXPATRIATE Specify country of residence for non-resident expatriate 20121030

Method SET_SETTL_BASIS Signature

Method SET_SETTL_BASIS on class CL_HRPADES_IRPF_INFOTYPE has no parameter.
Method SET_SETTL_BASIS on class CL_HRPADES_IRPF_INFOTYPE has no exception.

Method TAX_CORRECTION Signature

Method TAX_CORRECTION on class CL_HRPADES_IRPF_INFOTYPE has no parameter.
# Exception Resumable Description Created on
1 MINIMUM_DEDUCTION_PERCENTAGE ROYAL DECREE 2189/1995: the minimum deduction percentage 20130304
History
Last changed by/on SAP  20131127 
SAP Release Created in