SAP ABAP Class CL_HRPAYBR_NOTICE_PERIOD (Class for notice period calculation)
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_NOTICE_PERIOD | |
| Short Description | Class for notice period calculation | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | PC37 | HR settlement: Brazil |
| Created | 20111213 | SAP |
| Last change | 20130531 | SAP |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
Class CL_HRPAYBR_NOTICE_PERIOD has no forward declaration.
Interfaces
Class CL_HRPAYBR_NOTICE_PERIOD has no interface implemented.
Friends
Class CL_HRPAYBR_NOTICE_PERIOD has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Constant | Public | Type reference (TYPE) | I | 3 | Extra days of notice by worked year (from 2 years on) | 20120224 | ||
| 2 | Instance attribute | Protected | Object reference (TYPE REF TO) | CL_HRPAYBR_EMPLOYEE | Class that encapsulates the employee details | 20120224 | |||
| 3 | Instance attribute | Protected | Object reference (TYPE REF TO) | CL_HRPAYBR_ACTION | Class that encapsulates a personnel action infotype record | 20120224 | |||
| 4 | Instance attribute | Protected | Object reference (TYPE REF TO) | CL_HRPAYBR_TERMINATION_DATA | Class that encapsulates a record of infotype 0661 | 20120224 | |||
| 5 | Instance attribute | Protected | Type reference (TYPE) | P0000 | HR master record: infotype 0000 (Personnel actions) | 20120224 | |||
| 6 | Instance attribute | Protected | Type reference (TYPE) | P0661 | Termination: general data | 20120224 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Public | Method | 20120224 | ||
| 2 | Instance method | Protected | Method | 20120224 | ||
| 3 | Instance method | Protected | Method | 20120224 | ||
| 4 | Instance method | Public | Constructor | CONSTRUCTOR | 20120224 | |
| 5 | Instance method | Protected | Method | 20120224 | ||
| 6 | Instance method | Protected | Method | 20120224 |
Events
Class CL_HRPAYBR_NOTICE_PERIOD has no event.
Types
Class CL_HRPAYBR_NOTICE_PERIOD has no local type.
Method Signatures
Method CALCULATE_NOTICE_PERIOD_DAYS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RV_NOTICE_PERIOD_DAYS | Value transfer | Type reference (TYPE) | I | Amount of notice period days | 20120224 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | HR: master data, data shortage | 20120224 | ||
| 2 | Exception generated when a record is not found in a table | 20120224 |
Method CALCULATE_PERIOD Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_NOTICE_PERIOD_DAYS | Call by reference | Type reference (TYPE) | I | 20120224 | ||||
| 2 | RV_NOTICE_PERIOD_DAYS | Value transfer | Type reference (TYPE) | I | 20120224 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | HR: master data, data shortage | 20120224 |
Method CALCULATE_SENIORITY Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_REF_DATE | Call by reference | Type reference (TYPE) | DATUM | Date | 20120224 | |||
| 2 | RV_YEARS_AT_ORG | Value transfer | Type reference (TYPE) | I | 20120224 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Infotypes not found | 20120224 |
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 | Class that encapsulates the employee details | 20120224 | |||
| 2 | IO_TERMINATION | Call by reference | Object reference (TYPE REF TO) | CL_HRPAYBR_ACTION | Class that encapsulates a personnel action infotype record | 20120224 | |||
| 3 | IO_TERMINATION_DATA | Call by reference | Object reference (TYPE REF TO) | CL_HRPAYBR_TERMINATION_DATA | Class that encapsulates a record of infotype 0661 | 20120224 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | HR: master data, data shortage | 20120224 | ||
| 2 | Exception class for zero references | 20120224 |
Method GET_DAYS_FROM_FEATURE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RV_DAYS | Value transfer | Type reference (TYPE) | I | Fixed amount of days feature BRPRN | 20120224 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | HR: master data, data shortage | 20120224 |
Method GET_PROPORTIONALITY Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_YEARS_AT_ORG | Call by reference | Type reference (TYPE) | I | 20120224 | ||||
| 2 | RV_PROPORTIONAL_DAYS | Value transfer | Type reference (TYPE) | I | Amount of additional days proportional to seniority | 20120224 |
Method GET_PROPORTIONALITY on class CL_HRPAYBR_NOTICE_PERIOD has no exception.
History
| Last changed by/on | SAP | 20130531 |
| SAP Release Created in |