SAP ABAP Class CL_HRPAYVE_SENIORITY (Type for Seniority Calculation)
Hierarchy
☛
SAP_HRCVE (Software Component) Sub component SAP_HRCVE of SAP_HR
⤷
PY-VE (Application Component) Venezuela
⤷
PC17 (Package) Payroll - Venezuela
⤷
⤷
Properties
| Class | CL_HRPAYVE_SENIORITY | |
| Short Description | Type for Seniority Calculation | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | PC17 | Payroll - Venezuela |
| Created | 20120614 | SAP |
| Last change | 20130531 | SAP |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
Class CL_HRPAYVE_SENIORITY has no forward declaration.
Interfaces
Class CL_HRPAYVE_SENIORITY has no interface implemented.
Friends
Class CL_HRPAYVE_SENIORITY has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Constant | Public | Type reference (TYPE) | PVE_SENTP | 'AS' | 20130326 | |||
| 2 | Constant | Public | Type reference (TYPE) | PVE_SENTP | 'TA' | 20130326 | |||
| 3 | Constant | Public | Type reference (TYPE) | P_99SOPTIO | '0' | Seniority by Quarter | 20120719 | ||
| 4 | Static Attribute | Private | Object reference (TYPE REF TO) | CL_HRPAYVE_SENIORITY | Type for Seniority Calculation | 20120719 | |||
| 5 | Instance attribute | Private | Type reference (TYPE) | D | 20130326 | ||||
| 6 | Instance attribute | Private | Type reference (TYPE) | WAERS | 20130326 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Public | Method | Calculates highest amount between paid seniority and RA | 20121219 | |
| 2 | Instance method | Public | Method | Calculates the difference amount bet. paid seniority and RA | 20121219 | |
| 3 | Instance method | Private | Method | Calculates the seniority amount with 30 days/year | 20121219 | |
| 4 | Instance method | Private | Method | Calculates the seniority amount with less than 3 months | 20121219 | |
| 5 | Instance method | Public | Method | Calculate Vacation Bonus | 20120719 | |
| 6 | Instance method | Private | Method | Calculates the number of years valid for the RA | 20121219 | |
| 7 | Instance method | Public | Method | Performs currency conversion | 20130326 | |
| 8 | Instance method | Private | Method | Returns the sum of the payments of table SEN_EVAL | 20121219 | |
| 9 | Static method | Public | Method | Returns an instance of the type | 20120719 | |
| 10 | Instance method | Protected | Method | Returns an instance of the payroll reader | 20130326 | |
| 11 | Instance method | Public | Method | Returns the start date of the configuration option | 20120813 | |
| 12 | Instance method | Public | Method | Returns the Configuration Option value for Seniority | 20120719 | |
| 13 | Instance method | Public | Method | Takes full seniority table | 20130326 |
Events
Class CL_HRPAYVE_SENIORITY has no event.
Types
Class CL_HRPAYVE_SENIORITY has no local type.
Method Signatures
Method CALCULATE_COMPENSATION Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IT_SEN_EVAL | Call by reference | Type reference (TYPE) | HRPAYVE_SEN_EVAL | Severance/Seniority | 20121219 | |||
| 2 | IV_BASE_REM | Call by reference | Type reference (TYPE) | MAXBT | Personnel payroll: Amount | 20121219 | |||
| 3 | IV_FIRE_DATE | Call by reference | Type reference (TYPE) | ENDDA | Valid to | 20121219 | |||
| 4 | IV_HIRE_DATE | Call by reference | Type reference (TYPE) | BEGDA | Valid from date | 20121219 | |||
| 5 | RV_AMOUNT | Value transfer | Type reference (TYPE) | MAXBT | Personnel payroll: Amount | 20121219 |
Method CALCULATE_COMPENSATION on class CL_HRPAYVE_SENIORITY has no exception.
Method CALCULATE_RETRO_DIFFERENCE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IT_SEN_EVAL | Call by reference | Type reference (TYPE) | HRPAYVE_SEN_EVAL | Severance/Seniority | 20121219 | |||
| 2 | IV_BASE_REM | Call by reference | Type reference (TYPE) | MAXBT | Personnel payroll: Amount | 20121219 | |||
| 3 | IV_FIRE_DATE | Call by reference | Type reference (TYPE) | ENDDA | Valid to | 20121219 | |||
| 4 | IV_HIRE_DATE | Call by reference | Type reference (TYPE) | BEGDA | Valid from date | 20121219 | |||
| 5 | RV_AMOUNT | Value transfer | Type reference (TYPE) | MAXBT | Personnel payroll: Amount | 20121219 |
Method CALCULATE_RETRO_DIFFERENCE on class CL_HRPAYVE_SENIORITY has no exception.
Method CALCULATE_SENIORITY_RETRO Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_BASE_REMUN | Call by reference | Type reference (TYPE) | MAXBT | Payroll result: Result table | 20121219 | |||
| 2 | IV_FIRE_DATE | Call by reference | Type reference (TYPE) | ENDDA | Valid to | 20121219 | |||
| 3 | IV_HIRE_DATE | Call by reference | Type reference (TYPE) | BEGDA | Valid from date | 20121219 | |||
| 4 | RV_AMOUNT | Value transfer | Type reference (TYPE) | MAXBT | Personnel payroll: Amount | 20121219 |
Method CALCULATE_SENIORITY_RETRO on class CL_HRPAYVE_SENIORITY has no exception.
Method CALCULATE_SEN_3_MONTHS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_BASE_REM | Call by reference | Type reference (TYPE) | MAXBT | Personnel payroll: Amount | 20121219 | |||
| 2 | IV_FIRE_DATE | Call by reference | Type reference (TYPE) | ENDDA | Valid to | 20121219 | |||
| 3 | IV_HIRE_DATE | Call by reference | Type reference (TYPE) | BEGDA | Valid from date | 20121219 | |||
| 4 | RV_AMOUNT | Value transfer | Type reference (TYPE) | MAXBT | Personnel payroll: Amount | 20121219 |
Method CALCULATE_SEN_3_MONTHS on class CL_HRPAYVE_SENIORITY has no exception.
Method CALCULATE_VACATION_BONUS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EV_DAILY_AMOUNT | Call by reference | Type reference (TYPE) | MAXBT | Personnel payroll: Amount | 20120719 | |||
| 2 | IT_P0001 | Call by reference | Type reference (TYPE) | P0001_TAB | Personnel master record infotype 0001 (Org. Assignment) | 20120719 | |||
| 3 | IT_P0007 | Call by reference | Type reference (TYPE) | P0007_TAB | Personnel master record Infotype 0007 (Theor. work schedule) | 20120719 | |||
| 4 | IT_P0008 | Call by reference | Type reference (TYPE) | P0008_TAB | Personnel master record Infotype 0007 (Theor. work schedule) | 20120719 | |||
| 5 | IT_P0016 | Call by reference | Type reference (TYPE) | P0016_TAB | Personnel master record Infotype 0016 (Contract elements) | 20120719 | |||
| 6 | IV_BASE_REMUN | Call by reference | Type reference (TYPE) | MAXBT | Personnel payroll: Amount | 20120719 | |||
| 7 | IV_DATE | Call by reference | Type reference (TYPE) | DATUM | Date | 20120719 | |||
| 8 | IV_YEARS_IN_COMPANY | Call by reference | Type reference (TYPE) | P | Employee Seniority | 20120719 |
Method CALCULATE_VACATION_BONUS on class CL_HRPAYVE_SENIORITY has no exception.
Method CALCULATE_YEARS_FOR_RETRO Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_FIRE_DATE | Call by reference | Type reference (TYPE) | ENDDA | Valid to | 20121219 | |||
| 2 | IV_HIRE_DATE | Call by reference | Type reference (TYPE) | BEGDA | Valid from date | 20121219 | |||
| 3 | RV_YEARS | Value transfer | Type reference (TYPE) | NUMC4 | Number of days | 20121219 |
Method CALCULATE_YEARS_FOR_RETRO on class CL_HRPAYVE_SENIORITY has no exception.
Method CONVERT_CURRENCY Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CT_SEN_EVAL | Call by reference | Type reference (TYPE) | HRPAYVE_SEN_EVAL | 20130326 | ||||
| 2 | IV_DATE | Call by reference | Type reference (TYPE) | D | 20130326 |
Method CONVERT_CURRENCY on class CL_HRPAYVE_SENIORITY has no exception.
Method GET_AMOUNT_PAID_IN_SEN_EVAL Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IT_SEN_EVAL | Call by reference | Type reference (TYPE) | HRPAYVE_SEN_EVAL | Severance/Seniority | 20121219 | |||
| 2 | RV_AMOUNT | Value transfer | Type reference (TYPE) | MAXBT | Personnel payroll: Amount | 20121219 |
Method GET_AMOUNT_PAID_IN_SEN_EVAL on class CL_HRPAYVE_SENIORITY has no exception.
Method GET_INSTANCE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RO_INSTANCE | Value transfer | Object reference (TYPE REF TO) | CL_HRPAYVE_SENIORITY | Type for Seniority Calculation | 20120719 |
Method GET_INSTANCE on class CL_HRPAYVE_SENIORITY has no exception.
Method GET_PAYROLL_RESULT_READER Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RO_PAYROLL_RESULT_READER | Value transfer | Object reference (TYPE REF TO) | CL_HR_PAY_ACCESS | 20130326 |
Method GET_PAYROLL_RESULT_READER on class CL_HRPAYVE_SENIORITY has no exception.
Method GET_QUARTER_SEN_START Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_DATE | Call by reference | Type reference (TYPE) | DATUM | Date | 20120813 | |||
| 2 | RV_BEGDA | Value transfer | Type reference (TYPE) | DATUM | Date | 20120813 |
Method GET_QUARTER_SEN_START on class CL_HRPAYVE_SENIORITY has no exception.
Method GET_SENIORITY_TYPE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_DATE | Call by reference | Type reference (TYPE) | DATUM | Date | 20120719 | |||
| 2 | RV_SENIORITY | Value transfer | Type reference (TYPE) | P_99SOPTVA | Value for configuration option | 20120719 |
Method GET_SENIORITY_TYPE on class CL_HRPAYVE_SENIORITY has no exception.
Method READ_FULL_SEN_EVAL Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IT_SEN_EVAL | Call by reference | Type reference (TYPE) | HRPAYVE_SEN_EVAL | 20130326 | ||||
| 2 | IV_FIRE_DATE | Call by reference | Type reference (TYPE) | ENDDA | 20130326 | ||||
| 3 | IV_HIRE_DATE | Call by reference | Type reference (TYPE) | BEGDA | 20130326 | ||||
| 4 | IV_PERNR | Call by reference | Type reference (TYPE) | PERNR-PERNR | 20130326 | ||||
| 5 | RT_FULL_SEN_EVAL | Value transfer | Type reference (TYPE) | HRPAYVE_SEN_EVAL | 20130326 |
Method READ_FULL_SEN_EVAL on class CL_HRPAYVE_SENIORITY has no exception.
History
| Last changed by/on | SAP | 20130531 |
| SAP Release Created in |