Hierarchy
⤷ 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
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 |