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
⤷ 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 | MO_EMPLOYEE | Instance attribute | Private | Object reference (TYPE REF TO) | CL_HRPAYBR_EMPLOYEE | Class that encapsulates the employee details | 20120215 | ||
2 | MV_DAYS | Instance attribute | Private | Type reference (TYPE) | CMP_NODYS | Length of service | 20120215 | ||
3 | MV_MONTHS | Instance attribute | Private | Type reference (TYPE) | CMP_NOMNS | Length of service | 20120215 | ||
4 | MV_YEARS | Instance attribute | Private | Type reference (TYPE) | CMP_NOYRS | Length of service | 20120215 |
Methods
# | Method | Level | Visibility | Method type | Description | Created on |
---|---|---|---|---|---|---|
1 | CONSTRUCTOR | Instance method | Public | Constructor | CONSTRUCTOR | 20120215 |
2 | GET_DAYS | Instance method | Public | Method | Returns the amount of days of the company | 20120215 |
3 | GET_MONTHS | Instance method | Public | Method | Returns the amount of months of the company | 20120215 |
4 | GET_YEARS | 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 | Importing | IO_EMPLOYEE | Call by reference | Object reference (TYPE REF TO) | CL_HRPAYBR_EMPLOYEE | 20120215 | |||
2 | Importing | IV_REF_DATE | Call by reference | Type reference (TYPE) | DATUM | Reference date for calculation | 20120215 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | CX_HRPAYBR_INFTY_NOT_FOUND | 20120215 | ||
2 | CX_HRPAYBR_UNBOUND | 20120215 |
Method GET_DAYS Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Returning | 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 | Returning | 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 | Returning | 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 |