Hierarchy
⤷
⤷
Properties
| Class | CL_HRPAYES_SS_UTIL | |
| Short Description | Utilities class for Social Insurance | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | PC04 | HR Payroll: Spain |
| Created | 20121008 | SAP |
| Last change | 20130531 | 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) |
Interfaces
Class CL_HRPAYES_SS_UTIL has no interface implemented.
Friends
Class CL_HRPAYES_SS_UTIL has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Instance attribute | Protected | Type reference (TYPE) | BEGDA | Utilization date of correction | 20121030 | |||
| 2 | Instance attribute | Protected | Type reference (TYPE) | BEGDA | Operational start of correction | 20121030 | |||
| 3 | Instance attribute | Protected | Type reference (TYPE) | PES_TPCCC | Contribution Account Code type | 20121030 | |||
| 4 | Instance attribute | Protected | Type reference (TYPE) | PES_MODAL | Contract category | 20121030 | |||
| 5 | Instance attribute | Protected | Type reference (TYPE) | PES_IDSEG | Main contract key | 20121030 | |||
| 6 | Instance attribute | Protected | Type reference (TYPE) | ABAP_BOOL | Test mode | 20121030 | |||
| 7 | Instance attribute | Protected | Type reference (TYPE) | PES_RELLAB | Special work relationship | 20121030 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Protected | Method | Checks whether a note is applied to system | 20121030 | |
| 2 | Instance method | Public | Constructor | CONSTRUCTOR | 20121030 | |
| 3 | Static method | Public | Method | Add months to a date | 20130603 | |
| 4 | Static method | Public | Method | Add years to a date | 20130603 | |
| 5 | Instance method | Public | Method | Access method to attribute Utilization date | 20121030 | |
| 6 | Instance method | Public | Method | Access method to attribute Operational start | 20121030 | |
| 7 | Instance method | Public | Method | Access method to attribute CCC type | 20121030 | |
| 8 | Instance method | Public | Method | Access method to attribute Contract arrangement | 20121030 | |
| 9 | Instance method | Public | Method | Access method to attribute Main contract key | 20121030 | |
| 10 | Static method | Public | Method | Start date of a bonus section | 20130603 | |
| 11 | Static method | Public | Method | Number of days of intersection between two dates | 20130603 | |
| 12 | Instance method | Public | Method | Access method to attribute Test Mode | 20121030 | |
| 13 | Instance method | Public | Method | Access method to attribute Special work relationship | 20121030 | |
| 14 | Instance method | Public | Method | Checks whether a contract is a learning contract | 20121030 | |
| 15 | Instance method | Public | Method | Checks whether a contract is a practice contract | 20121030 | |
| 16 | Instance method | Public | Method | Checks whether a contract is a training contract | 20121030 | |
| 17 | Instance method | Public | Method | Checks whether an employee is grant holder | 20121030 | |
| 18 | Static method | Public | Method | Checks if an employee is over 65 years old | 20130516 | |
| 19 | Static method | Public | Method | Checks if an employee is partially retired | 20130516 | |
| 20 | Instance method | Public | Method | Checks whether an employee is investigator | 20121030 | |
| 21 | Instance method | Public | Method | Checks whether an employee is investigator only for RELAB | 20121030 | |
| 22 | Static method | Public | Method | Check if the bonus method is an ERE method | 20130603 | |
| 23 | Instance method | Public | Method | Checks whether a note is applied to system | 20121030 | |
| 24 | Instance method | Public | Method | Change method of attribute Utilization date | 20121030 | |
| 25 | Instance method | Public | Method | Change method of attribute Operational start | 20121030 | |
| 26 | Instance method | Public | Method | Change method of attribute CCC Type | 20121030 | |
| 27 | Instance method | Public | Method | Change method of attribute Contract arrangement | 20121030 | |
| 28 | Instance method | Public | Method | Change method of attribute Contract key | 20121030 | |
| 29 | Instance method | Public | Method | Change method of attribute Test Mode | 20121030 | |
| 30 | Instance method | Public | Method | Change method of attribute Special work relationship | 20121030 |
Events
Class CL_HRPAYES_SS_UTIL has no event.
Types
Class CL_HRPAYES_SS_UTIL has no local type.
Method Signatures
Method CHECK_APPLY_CORRECTION Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_GROUP | Call by reference | Type reference (TYPE) | P_99S_GROUP | 'NOTE' | Classifier for change categories | 20121030 | ||
| 2 | IV_NUMBER | Call by reference | Type reference (TYPE) | P_99S_CORRNR | Identifier of correction | 20121030 | |||
| 3 | IV_READ_ONLY | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | Do not update table of applied notes | 20121030 | ||
| 4 | RV_IS_APPLIED | Value transfer | Type reference (TYPE) | ABAP_BOOL | Shows whether note is applied | 20121030 |
Method CHECK_APPLY_CORRECTION on class CL_HRPAYES_SS_UTIL has no exception.
Method CONSTRUCTOR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IS_SS_DATA | Call by reference | Type reference (TYPE) | PESS0_IN | Data for Social Insurance | 20121030 | |||
| 2 | IV_ACTUAL_DATE | Call by reference | Type reference (TYPE) | BEGDA | Utilization date of correction | 20121030 | |||
| 3 | IV_APPLICATION_DATE | Call by reference | Type reference (TYPE) | BEGDA | Operational start of correction | 20121030 | |||
| 4 | IV_CCC_TYPE | Call by reference | Type reference (TYPE) | PES_TPCCC | Contribution Account Code type | 20121030 | |||
| 5 | IV_CONTRACT_CATEGORY | Call by reference | Type reference (TYPE) | PES_MODAL | Contract category | 20121030 | |||
| 6 | IV_CONTRACT_KEY | Call by reference | Type reference (TYPE) | PES_IDSEG | Main contract key | 20121030 | |||
| 7 | IV_TEST_MODE | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | Test mode | 20121030 | ||
| 8 | IV_WORK_RELATIONSHIP | Call by reference | Type reference (TYPE) | PES_RELLAB | Special work relationship | 20121030 |
Method CONSTRUCTOR on class CL_HRPAYES_SS_UTIL has no exception.
Method DATE_PLUS_MONTHS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CV_ENDDA | Call by reference | Type reference (TYPE) | ENDDA | End date | 20130603 | |||
| 2 | IV_BEGDA | Call by reference | Type reference (TYPE) | BEGDA | Start date | 20130603 | |||
| 3 | IV_MONTHS | Call by reference | Type reference (TYPE) | P | Number of months to add | 20130603 |
Method DATE_PLUS_MONTHS on class CL_HRPAYES_SS_UTIL has no exception.
Method DATE_PLUS_YEARS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CV_ENDDA | Call by reference | Type reference (TYPE) | ENDDA | End date | 20130603 | |||
| 2 | IV_BEGDA | Call by reference | Type reference (TYPE) | BEGDA | Start date | 20130603 | |||
| 3 | IV_YEARS | Call by reference | Type reference (TYPE) | P | Number of years to add | 20130603 |
Method DATE_PLUS_YEARS on class CL_HRPAYES_SS_UTIL has no exception.
Method GET_ACTUAL_DATE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RV_ACTUAL_DATE | Value transfer | Type reference (TYPE) | BEGDA | Utilization date of correction | 20121030 |
Method GET_ACTUAL_DATE on class CL_HRPAYES_SS_UTIL has no exception.
Method GET_APPLICATION_DATE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RV_APPLICATION_DATE | Value transfer | Type reference (TYPE) | BEGDA | Operational start of correction | 20121030 |
Method GET_APPLICATION_DATE on class CL_HRPAYES_SS_UTIL has no exception.
Method GET_CCC_TYPE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RV_CCC_TYPE | Value transfer | Type reference (TYPE) | PES_TPCCC | Contribution Account Code type | 20121030 |
Method GET_CCC_TYPE on class CL_HRPAYES_SS_UTIL has no exception.
Method GET_CONTRACT_CATEGORY Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RV_CONTRACT_CATEGORY | Value transfer | Type reference (TYPE) | PES_MODAL | Contract category | 20121030 |
Method GET_CONTRACT_CATEGORY on class CL_HRPAYES_SS_UTIL has no exception.
Method GET_CONTRACT_KEY Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RV_CONTRACT_KEY | Value transfer | Type reference (TYPE) | PES_IDSEG | Main contract key | 20121030 |
Method GET_CONTRACT_KEY on class CL_HRPAYES_SS_UTIL has no exception.
Method GET_END_OF_TRAMO Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CV_TRAMO_ENDDA | Call by reference | Type reference (TYPE) | ENDDA | Valid to | 20130603 | |||
| 2 | IV_TIME_DURATION | Call by reference | Type reference (TYPE) | PES_DURMO | Duration of allowance/reduction | 20130603 | |||
| 3 | IV_TIME_UNIT | Call by reference | Type reference (TYPE) | PES_UNIMO | Time unit for duration | 20130603 | |||
| 4 | IV_TRAMO_BEGDA | Call by reference | Type reference (TYPE) | BEGDA | Section start date | 20130603 |
Method GET_END_OF_TRAMO on class CL_HRPAYES_SS_UTIL has no exception.
Method GET_INTERSECTION_DAYS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EV_INTERSECTION | Call by reference | Type reference (TYPE) | I | Number of intersection days | 20130603 | |||
| 2 | IV_BEGDA1 | Call by reference | Type reference (TYPE) | BEGDA | Valid from date | 20130603 | |||
| 3 | IV_BEGDA2 | Call by reference | Type reference (TYPE) | BEGDA | Valid from date | 20130603 | |||
| 4 | IV_ENDDA1 | Call by reference | Type reference (TYPE) | ENDDA | Valid to | 20130603 | |||
| 5 | IV_ENDDA2 | Call by reference | Type reference (TYPE) | ENDDA | Valid to | 20130603 |
Method GET_INTERSECTION_DAYS on class CL_HRPAYES_SS_UTIL has no exception.
Method GET_TEST_MODE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RV_TEST_MODE | Value transfer | Type reference (TYPE) | ABAP_BOOL | Test mode | 20121030 |
Method GET_TEST_MODE on class CL_HRPAYES_SS_UTIL has no exception.
Method GET_WORK_RELATIONSHIP Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RV_WORK_RELATIONSHIP | Value transfer | Type reference (TYPE) | PES_RELLAB | Special work relationship | 20121030 |
Method GET_WORK_RELATIONSHIP on class CL_HRPAYES_SS_UTIL has no exception.
Method IS_CC_LEARNING Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RV_IS_LEARNING | Value transfer | Type reference (TYPE) | ABAP_BOOL | Shows whether contract is a learning contract | 20121030 |
Method IS_CC_LEARNING on class CL_HRPAYES_SS_UTIL has no exception.
Method IS_CC_PRACTICE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RV_IS_PRACTICE | Value transfer | Type reference (TYPE) | ABAP_BOOL | Shows whether contract is a practice contract | 20121030 |
Method IS_CC_PRACTICE on class CL_HRPAYES_SS_UTIL has no exception.
Method IS_CC_TRAINING Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RV_IS_TRAINING | Value transfer | Type reference (TYPE) | ABAP_BOOL | Shows whether contract is a training contract | 20121030 |
Method IS_CC_TRAINING on class CL_HRPAYES_SS_UTIL has no exception.
Method IS_EE_BECARIO Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RV_IS_BECARIO | Value transfer | Type reference (TYPE) | ABAP_BOOL | Shows whether employee is grant holder | 20121030 |
Method IS_EE_BECARIO on class CL_HRPAYES_SS_UTIL has no exception.
Method IS_EE_OLDER_65 Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_METO2 | Call by reference | Type reference (TYPE) | PES_METO2 | Bonification method | 20130516 | |||
| 2 | IV_METO3 | Call by reference | Type reference (TYPE) | PES_METO2 | Bonification method | 20130516 | |||
| 3 | IV_METO4 | Call by reference | Type reference (TYPE) | PES_METO2 | Bonification method | 20130516 | |||
| 4 | IV_METOD | Call by reference | Type reference (TYPE) | PES_METODO | Bonification method | 20130516 | |||
| 5 | RV_IS_EE_OLDER_65 | Value transfer | Type reference (TYPE) | ABAP_BOOL | Specifies if the employee is over 65 years old | 20130516 |
Method IS_EE_OLDER_65 on class CL_HRPAYES_SS_UTIL has no exception.
Method IS_EE_PART_RETIRED Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_METO2 | Call by reference | Type reference (TYPE) | PES_METO2 | Bonification method | 20130516 | |||
| 2 | IV_METO3 | Call by reference | Type reference (TYPE) | PES_METO2 | Bonification method | 20130516 | |||
| 3 | IV_METO4 | Call by reference | Type reference (TYPE) | PES_METO2 | Bonification method | 20130516 | |||
| 4 | IV_METOD | Call by reference | Type reference (TYPE) | PES_METODO | Bonification method | 20130516 | |||
| 5 | RV_IS_EE_PART_RETIRED | Value transfer | Type reference (TYPE) | ABAP_BOOL | Specifies if the employee is partially retired | 20130516 |
Method IS_EE_PART_RETIRED on class CL_HRPAYES_SS_UTIL has no exception.
Method IS_EE_RESEARCHER Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RV_IS_RESEARCHER | Value transfer | Type reference (TYPE) | ABAP_BOOL | Shows whether employee is investigator | 20121030 |
Method IS_EE_RESEARCHER on class CL_HRPAYES_SS_UTIL has no exception.
Method IS_EE_RESEARCHER_RELAB Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RV_IS_RESEARCHER | Value transfer | Type reference (TYPE) | ABAP_BOOL | Shows whether employee is investigator | 20121030 |
Method IS_EE_RESEARCHER_RELAB on class CL_HRPAYES_SS_UTIL has no exception.
Method IS_ERE_BONIFICATION Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_METOD | Call by reference | Type reference (TYPE) | T5ES3-METOD | Bonification method | 20130603 | |||
| 2 | RV_IS_ERE_BONIFICATION | Value transfer | Type reference (TYPE) | ABAP_BOOL | Specifies if the method is an ERE method | 20130603 |
Method IS_ERE_BONIFICATION on class CL_HRPAYES_SS_UTIL has no exception.
Method IS_NOTE_APPLIED Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_NOTE_NUMBER | Call by reference | Type reference (TYPE) | P_99S_CORRNR | Note number | 20121030 | |||
| 2 | RV_IS_APPLIED | Value transfer | Type reference (TYPE) | ABAP_BOOL | Shows whether note is applied | 20121030 |
Method IS_NOTE_APPLIED on class CL_HRPAYES_SS_UTIL has no exception.
Method SET_ACTUAL_DATE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_ACTUAL_DATE | Call by reference | Type reference (TYPE) | BEGDA | Utilization date of correction | 20121030 |
Method SET_ACTUAL_DATE on class CL_HRPAYES_SS_UTIL has no exception.
Method SET_APPLICATION_DATE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_APPLICATION_DATE | Call by reference | Type reference (TYPE) | BEGDA | Operational start of correction | 20121030 |
Method SET_APPLICATION_DATE on class CL_HRPAYES_SS_UTIL has no exception.
Method SET_CCC_TYPE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_CCC_TYPE | Call by reference | Type reference (TYPE) | PES_TPCCC | Contribution Account Code type | 20121030 |
Method SET_CCC_TYPE on class CL_HRPAYES_SS_UTIL has no exception.
Method SET_CONTRACT_CATEGORY Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_CONTRACT_CATEGORY | Call by reference | Type reference (TYPE) | PES_MODAL | Contract category | 20121030 |
Method SET_CONTRACT_CATEGORY on class CL_HRPAYES_SS_UTIL has no exception.
Method SET_CONTRACT_KEY Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_CONTRACT_KEY | Call by reference | Type reference (TYPE) | PES_IDSEG | Main contract key | 20121030 |
Method SET_CONTRACT_KEY on class CL_HRPAYES_SS_UTIL has no exception.
Method SET_TEST_MODE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_TEST_MODE | Call by reference | Type reference (TYPE) | ABAP_BOOL | Test mode | 20121030 |
Method SET_TEST_MODE on class CL_HRPAYES_SS_UTIL has no exception.
Method SET_WORK_RELATIONSHIP Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_WORK_RELATIONSHIP | Call by reference | Type reference (TYPE) | PES_RELLAB | Special work relationship | 20121030 |
Method SET_WORK_RELATIONSHIP on class CL_HRPAYES_SS_UTIL has no exception.
History
| Last changed by/on | SAP | 20130531 |
| SAP Release Created in |