SAP ABAP Class CL_HRPAYES_SS_UTIL (Utilities class for Social Insurance)
Hierarchy
SAP_HRCES (Software Component) Sub component SAP_HRCES of SAP_HR
   PY-ES (Application Component) Spain
     PC04 (Package) HR Payroll: Spain
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 ABAP Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
2 PESS0 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 MV_ACTUAL_DATE Instance attribute Protected Type reference (TYPE) BEGDA Utilization date of correction 20121030
2 MV_APPLICATION_DATE Instance attribute Protected Type reference (TYPE) BEGDA Operational start of correction 20121030
3 MV_CCC_TYPE Instance attribute Protected Type reference (TYPE) PES_TPCCC Contribution Account Code type 20121030
4 MV_CONTRACT_CATEGORY Instance attribute Protected Type reference (TYPE) PES_MODAL Contract category 20121030
5 MV_CONTRACT_KEY Instance attribute Protected Type reference (TYPE) PES_IDSEG Main contract key 20121030
6 MV_TEST_MODE Instance attribute Protected Type reference (TYPE) ABAP_BOOL Test mode 20121030
7 MV_WORK_RELATIONSHIP Instance attribute Protected Type reference (TYPE) PES_RELLAB Special work relationship 20121030
Methods
# Method Level Visibility Method type Description Created on
1 CHECK_APPLY_CORRECTION Instance method Protected Method Checks whether a note is applied to system 20121030
2 CONSTRUCTOR Instance method Public Constructor CONSTRUCTOR 20121030
3 DATE_PLUS_MONTHS Static method Public Method Add months to a date 20130603
4 DATE_PLUS_YEARS Static method Public Method Add years to a date 20130603
5 GET_ACTUAL_DATE Instance method Public Method Access method to attribute Utilization date 20121030
6 GET_APPLICATION_DATE Instance method Public Method Access method to attribute Operational start 20121030
7 GET_CCC_TYPE Instance method Public Method Access method to attribute CCC type 20121030
8 GET_CONTRACT_CATEGORY Instance method Public Method Access method to attribute Contract arrangement 20121030
9 GET_CONTRACT_KEY Instance method Public Method Access method to attribute Main contract key 20121030
10 GET_END_OF_TRAMO Static method Public Method Start date of a bonus section 20130603
11 GET_INTERSECTION_DAYS Static method Public Method Number of days of intersection between two dates 20130603
12 GET_TEST_MODE Instance method Public Method Access method to attribute Test Mode 20121030
13 GET_WORK_RELATIONSHIP Instance method Public Method Access method to attribute Special work relationship 20121030
14 IS_CC_LEARNING Instance method Public Method Checks whether a contract is a learning contract 20121030
15 IS_CC_PRACTICE Instance method Public Method Checks whether a contract is a practice contract 20121030
16 IS_CC_TRAINING Instance method Public Method Checks whether a contract is a training contract 20121030
17 IS_EE_BECARIO Instance method Public Method Checks whether an employee is grant holder 20121030
18 IS_EE_OLDER_65 Static method Public Method Checks if an employee is over 65 years old 20130516
19 IS_EE_PART_RETIRED Static method Public Method Checks if an employee is partially retired 20130516
20 IS_EE_RESEARCHER Instance method Public Method Checks whether an employee is investigator 20121030
21 IS_EE_RESEARCHER_RELAB Instance method Public Method Checks whether an employee is investigator only for RELAB 20121030
22 IS_ERE_BONIFICATION Static method Public Method Check if the bonus method is an ERE method 20130603
23 IS_NOTE_APPLIED Instance method Public Method Checks whether a note is applied to system 20121030
24 SET_ACTUAL_DATE Instance method Public Method Change method of attribute Utilization date 20121030
25 SET_APPLICATION_DATE Instance method Public Method Change method of attribute Operational start 20121030
26 SET_CCC_TYPE Instance method Public Method Change method of attribute CCC Type 20121030
27 SET_CONTRACT_CATEGORY Instance method Public Method Change method of attribute Contract arrangement 20121030
28 SET_CONTRACT_KEY Instance method Public Method Change method of attribute Contract key 20121030
29 SET_TEST_MODE Instance method Public Method Change method of attribute Test Mode 20121030
30 SET_WORK_RELATIONSHIP 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 Importing IV_GROUP Call by reference Type reference (TYPE) P_99S_GROUP 'NOTE' Classifier for change categories 20121030
2 Importing IV_NUMBER Call by reference Type reference (TYPE) P_99S_CORRNR Identifier of correction 20121030
3 Importing IV_READ_ONLY Call by reference Type reference (TYPE) ABAP_BOOL ABAP_FALSE Do not update table of applied notes 20121030
4 Returning 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 Importing IS_SS_DATA Call by reference Type reference (TYPE) PESS0_IN Data for Social Insurance 20121030
2 Importing IV_ACTUAL_DATE Call by reference Type reference (TYPE) BEGDA Utilization date of correction 20121030
3 Importing IV_APPLICATION_DATE Call by reference Type reference (TYPE) BEGDA Operational start of correction 20121030
4 Importing IV_CCC_TYPE Call by reference Type reference (TYPE) PES_TPCCC Contribution Account Code type 20121030
5 Importing IV_CONTRACT_CATEGORY Call by reference Type reference (TYPE) PES_MODAL Contract category 20121030
6 Importing IV_CONTRACT_KEY Call by reference Type reference (TYPE) PES_IDSEG Main contract key 20121030
7 Importing IV_TEST_MODE Call by reference Type reference (TYPE) ABAP_BOOL ABAP_FALSE Test mode 20121030
8 Importing 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 Changing CV_ENDDA Call by reference Type reference (TYPE) ENDDA End date 20130603
2 Importing IV_BEGDA Call by reference Type reference (TYPE) BEGDA Start date 20130603
3 Importing 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 Changing CV_ENDDA Call by reference Type reference (TYPE) ENDDA End date 20130603
2 Importing IV_BEGDA Call by reference Type reference (TYPE) BEGDA Start date 20130603
3 Importing 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 Returning 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 Returning 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 Returning 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 Returning 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 Returning 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 Changing CV_TRAMO_ENDDA Call by reference Type reference (TYPE) ENDDA Valid to 20130603
2 Importing IV_TIME_DURATION Call by reference Type reference (TYPE) PES_DURMO Duration of allowance/reduction 20130603
3 Importing IV_TIME_UNIT Call by reference Type reference (TYPE) PES_UNIMO Time unit for duration 20130603
4 Importing 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 Exporting EV_INTERSECTION Call by reference Type reference (TYPE) I Number of intersection days 20130603
2 Importing IV_BEGDA1 Call by reference Type reference (TYPE) BEGDA Valid from date 20130603
3 Importing IV_BEGDA2 Call by reference Type reference (TYPE) BEGDA Valid from date 20130603
4 Importing IV_ENDDA1 Call by reference Type reference (TYPE) ENDDA Valid to 20130603
5 Importing 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 Returning 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 Returning 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 Returning 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 Returning 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 Returning 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 Returning 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 Importing IV_METO2 Call by reference Type reference (TYPE) PES_METO2 Bonification method 20130516
2 Importing IV_METO3 Call by reference Type reference (TYPE) PES_METO2 Bonification method 20130516
3 Importing IV_METO4 Call by reference Type reference (TYPE) PES_METO2 Bonification method 20130516
4 Importing IV_METOD Call by reference Type reference (TYPE) PES_METODO Bonification method 20130516
5 Returning 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 Importing IV_METO2 Call by reference Type reference (TYPE) PES_METO2 Bonification method 20130516
2 Importing IV_METO3 Call by reference Type reference (TYPE) PES_METO2 Bonification method 20130516
3 Importing IV_METO4 Call by reference Type reference (TYPE) PES_METO2 Bonification method 20130516
4 Importing IV_METOD Call by reference Type reference (TYPE) PES_METODO Bonification method 20130516
5 Returning 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 Returning 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 Returning 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 Importing IV_METOD Call by reference Type reference (TYPE) T5ES3-METOD Bonification method 20130603
2 Returning 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 Importing IV_NOTE_NUMBER Call by reference Type reference (TYPE) P_99S_CORRNR Note number 20121030
2 Returning 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 Importing 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 Importing 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 Importing 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 Importing 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 Importing 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 Importing 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 Importing 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