SAP ABAP Class CL_HRPAYBR_SENIORITY (Class for objects that represent seniority)
Hierarchy
☛
SAP_HRCBR (Software Component) Sub component SAP_HRCBR of SAP_HR
⤷
PY-BR (Application Component) Brazil
⤷
PC37 (Package) HR settlement: Brazil
⤷
⤷
Properties
| Class | CL_HRPAYBR_SENIORITY | |
| Short Description | Class for objects that represent seniority | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | PC37 | HR settlement: Brazil |
| Created | 20120102 | SAP |
| Last change | 20130531 | SAP |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
Class CL_HRPAYBR_SENIORITY has no forward declaration.
Interfaces
Class CL_HRPAYBR_SENIORITY has no interface implemented.
Friends
Class CL_HRPAYBR_SENIORITY has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Instance attribute | Private | Object reference (TYPE REF TO) | CL_HRPAYBR_EMPLOYEE | Class that encapsulates the employee details | 20120215 | |||
| 2 | Instance attribute | Private | Type reference (TYPE) | CMP_NODYS | Length of service | 20120215 | |||
| 3 | Instance attribute | Private | Type reference (TYPE) | CMP_NOMNS | Length of service | 20120215 | |||
| 4 | Instance attribute | Private | Type reference (TYPE) | CMP_NOYRS | Length of service | 20120215 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Public | Constructor | CONSTRUCTOR | 20120215 | |
| 2 | Instance method | Public | Method | Returns the amount of days of the company | 20120215 | |
| 3 | Instance method | Public | Method | Returns the amount of months of the company | 20120215 | |
| 4 | Instance method | Public | Method | Returns the amount of years of the company | 20120215 |
Events
Class CL_HRPAYBR_SENIORITY has no event.
Types
Class CL_HRPAYBR_SENIORITY has no local type.
Method Signatures
Method CONSTRUCTOR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IO_EMPLOYEE | Call by reference | Object reference (TYPE REF TO) | CL_HRPAYBR_EMPLOYEE | 20120215 | ||||
| 2 | IV_REF_DATE | Call by reference | Type reference (TYPE) | DATUM | Reference date for calculation | 20120215 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20120215 | |||
| 2 | 20120215 |
Method GET_DAYS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RV_DAYS | Value transfer | Type reference (TYPE) | CMP_NODYS | Length of service | 20120215 |
Method GET_DAYS on class CL_HRPAYBR_SENIORITY has no exception.
Method GET_MONTHS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RV_MONTHS | Value transfer | Type reference (TYPE) | CMP_NOMNS | Length of service | 20120215 |
Method GET_MONTHS on class CL_HRPAYBR_SENIORITY has no exception.
Method GET_YEARS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RV_YEARS | Value transfer | Type reference (TYPE) | CMP_NOYRS | Length of service | 20120215 |
Method GET_YEARS on class CL_HRPAYBR_SENIORITY has no exception.
History
| Last changed by/on | SAP | 20130531 |
| SAP Release Created in |