Hierarchy
⤷
⤷
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 | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) | |
| 2 | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) | |
| 3 | 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 | Constant | Protected | Type reference (TYPE) | P0006-LAND1 | 'ES' | Country code | 20121030 | ||
| 2 | Constant | Protected | Type reference (TYPE) | STRING | 'CHECK' | 20130304 | |||
| 3 | Constant | Protected | Type reference (TYPE) | P0062-QLAND | '011' | Country code | 20121030 | ||
| 4 | Instance attribute | Protected | Type reference (TYPE) | PEST0_BASEL_RESULT | 20121030 | ||||
| 5 | Instance attribute | Protected | Type reference (TYPE) | P0062 | HR master record Infotype 0062 (Tax - Spain) | 20121030 | |||
| 6 | Instance attribute | Protected | Type reference (TYPE) | Q0062 | Screen fields Infotype 0062 (Tax data - Spain) | 20121030 | |||
| 7 | Instance attribute | Protected | See coding | Payroll constants (Intl) | 20130304 | ||||
| 8 | Instance attribute | Protected | Type reference (TYPE) | T511K-KWERT | Payroll constants value | 20121030 | |||
| 9 | 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 | 20130304 |
Method CHECK_CLOSED_PAYROLL_PERIOD Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_ABKRS | Call by reference | Type reference (TYPE) | P0001-ABKRS | Payroll area | 20130304 | |||
| 2 | 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 | 20130304 | |||
| 2 | 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. 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 is not possible due to housing payments | 20130304 | ||
| 2 | If expatriate, specify IRPF manually | 20130304 | ||
| 3 | Compulsory field not filled in | 20130304 | ||
| 4 | No input for reg. code and date | 20130304 | ||
| 5 | W/o recipient subkey for reported codau | 20130304 | ||
| 6 | 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 | Contract type is too long | 20130304 |
Method CONSTRUCTOR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IS_P0062 | Call by reference | Type reference (TYPE) | P0062 | HR master record Infotype 0062 (Tax - Spain) | 20121030 | |||
| 2 | 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 | 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 | CT_IGA_RT | Call by reference | Type reference (TYPE) | PEST0_IGA_RT_TAB | Fills in IGA_RT | 20130304 | |||
| 2 | IV_ABKRS | Call by reference | Type reference (TYPE) | P0001-ABKRS | Payroll area | 20130304 | |||
| 3 | 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 | CT_PAYROLL_RESULTS | Call by reference | Type reference (TYPE) | PESUP_TAB_PAYES_RESULT | 20130304 | ||||
| 2 | IV_ABKRS | Call by reference | Type reference (TYPE) | P0001-ABKRS | Payroll area | 20130304 | |||
| 3 | IV_PABRJ | Call by reference | Type reference (TYPE) | T549Q-PABRJ | Payroll year | 20130304 | |||
| 4 | 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 | 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 | CV_DECISION | Call by reference | Type reference (TYPE) | ABAP_BOOL | Customer decision | 20121030 | |||
| 2 | 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 | EV_WAY_COMP | Call by reference | Type reference (TYPE) | T511K-KWERT | Payroll constants value | 20130304 | |||
| 2 | IV_CODAU | Call by reference | Type reference (TYPE) | P0062-CODAU | Tax modifier (employment tax) | 20130304 | |||
| 3 | IV_DATE | Call by reference | Type reference (TYPE) | PREL-BEGDA | Valid from date | 20130304 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | The Employment Tax calculation type could not be determine | 20130304 | ||
| 2 | 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 | 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 | 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 is not possible due to housing payments | 20130304 | ||
| 2 | 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 | IV_DATUM | Call by reference | Type reference (TYPE) | T511P-BEGDA | Valid from date | 20130304 | |||
| 2 | IV_KONST | Call by reference | Type reference (TYPE) | T511P-KONST | Payroll constant for amounts | 20130304 | |||
| 3 | IV_MOLGA | Call by reference | Type reference (TYPE) | T511P-MOLGA | Country grouping | 20130304 | |||
| 4 | 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 | 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 | ES_LAST_RECORD | Call by reference | Type reference (TYPE) | ANY | 20130304 | ||||
| 2 | ET_INFOTYPE | Call by reference | Type reference (TYPE) | ANY TABLE | 20130304 | ||||
| 3 | IV_BEGDA | Call by reference | Type reference (TYPE) | BEGDA | Valid from date | 20130304 | |||
| 4 | IV_ENDDA | Call by reference | Type reference (TYPE) | ENDDA | Validity to date | 20130304 | |||
| 5 | 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 | IV_STATE | Call by reference | Type reference (TYPE) | T5E20-PROVN | Province | 20130304 | |||
| 2 | RS_CODAU | Value transfer | Type reference (TYPE) | P0062-CODAU | Tax modifier (employment tax) | 20130304 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20130304 | |||
| 2 | 20130304 |
Method READ_PERCENTAGE_CLUSTER Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | 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 | EV_COUNTRY | Call by reference | Type reference (TYPE) | P0006-LAND1 | Country code | 20130304 | |||
| 2 | EV_READ_SUCCEED | Call by reference | Type reference (TYPE) | SY-SUBRC | ABAP statement return value | 20130304 | |||
| 3 | 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 | RS_T5E01 | Value transfer | Type reference (TYPE) | T5E01 | Provinces | 20130304 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20130304 | |||
| 2 | 20130304 |
Method READ_T5E40 Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_SUMGE1 | Call by reference | Type reference (TYPE) | T5E40-TOTBR | Gross annual salary | 20130304 | |||
| 2 | RS_T5E40 | Value transfer | Type reference (TYPE) | T5E40 | Employment tax deduction percentages | 20130304 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 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 | 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 | Lgthning wk. acty reduction option activated for EE under 65 | 20121030 | ||
| 2 | Lgthning wk. acty redtn. option activated for not active EE | 20121030 | ||
| 3 | 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 | Display current geographic code | 20130304 |
Method SET_P0062 Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | 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 | 20130304 |
Method SET_QLAND Signature
Method SET_QLAND on class CL_HRPADES_IRPF_INFOTYPE has no parameter.
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 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 | ROYAL DECREE 2189/1995: the minimum deduction percentage | 20130304 |
History
| Last changed by/on | SAP | 20131127 |
| SAP Release Created in |