SAP ABAP Class CL_HRPAYBR_HAZARD_HEALTH_RISK (Class for hazard bonus and health risk premium)
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_HAZARD_HEALTH_RISK | |
| Short Description | Class for hazard bonus and health risk premium | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | PC37 | HR settlement: Brazil |
| Created | 20120314 | SAP |
| Last change | 20130531 | SAP |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
| # | Type group / Object type | Type | Type Description |
|---|---|---|---|
| 1 | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) |
Interfaces
Class CL_HRPAYBR_HAZARD_HEALTH_RISK has no interface implemented.
Friends
Class CL_HRPAYBR_HAZARD_HEALTH_RISK 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_HRPADBR_EMPLOYEE | Class to encapsulate an employee (pernr) | 20120607 | |||
| 2 | Instance attribute | Private | Object reference (TYPE REF TO) | LIF_HAZARD_HEALTH_RISK_READER | 20120607 | ||||
| 3 | Instance attribute | Private | Type reference (TYPE) | PC205 | Payroll result: work center/basic remuneration | 20120607 | |||
| 4 | Static Attribute | Private | Type reference (TYPE) | PBRGO_T_T7BRRK | 20120607 | ||||
| 5 | Instance attribute | Private | Type reference (TYPE) | ABKRS | Payroll area | 20120607 | |||
| 6 | Instance attribute | Private | Type reference (TYPE) | PERNR_D | Personnel no. | 20120607 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Public | Constructor | CONSTRUCTOR | 20120607 | |
| 2 | Instance method | Private | Method | Returns the hazard and health risk grouping | 20120607 | |
| 3 | Instance method | Public | Method | Returns the health risk percentage | 20120607 | |
| 4 | Instance method | Public | Method | Returns the hazard percentage | 20120607 | |
| 5 | Instance method | Private | Method | Loads data bank data for member table | 20120607 | |
| 6 | Instance method | Private | Method | Member table reading according to period | 20120607 |
Events
Class CL_HRPAYBR_HAZARD_HEALTH_RISK has no event.
Types
Class CL_HRPAYBR_HAZARD_HEALTH_RISK has no local type.
Method Signatures
Method CONSTRUCTOR Signature
Method CONSTRUCTOR on class CL_HRPAYBR_HAZARD_HEALTH_RISK has no parameter.
Method CONSTRUCTOR on class CL_HRPAYBR_HAZARD_HEALTH_RISK has no exception.
Method GET_HAZARD_HEALTH_RISK_GROUP 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_HRPADBR_EMPLOYEE | Class to encapsulate an employee (pernr) | 20120607 | |||
| 2 | IV_DATREF | Call by reference | Type reference (TYPE) | DATUM | Reference date | 20120607 | |||
| 3 | RV_GRPRK | Value transfer | Type reference (TYPE) | PBR_GRPRK | Hazard and health risk group | 20120607 |
Method GET_HAZARD_HEALTH_RISK_GROUP on class CL_HRPAYBR_HAZARD_HEALTH_RISK has no exception.
Method GET_HAZARD_RATE 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_HRPADBR_EMPLOYEE | Class to encapsulate an employee (pernr) | 20120607 | |||
| 2 | IV_DATREF | Call by reference | Type reference (TYPE) | DATUM | Reference date | 20120607 | |||
| 3 | RV_RATE | Value transfer | Type reference (TYPE) | PBR_PERIC | Hazard | 20120607 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Brazilian payroll exception | 20120607 |
Method GET_HEALTH_RISK_RATE 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_HRPADBR_EMPLOYEE | Class to encapsulate an employee (pernr) | 20120607 | |||
| 2 | IV_DATREF | Call by reference | Type reference (TYPE) | DATUM | reference date | 20120607 | |||
| 3 | RV_RATE | Value transfer | Type reference (TYPE) | PBR_INSAL | Health risk | 20120607 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Brazilian payroll exception | 20120607 |
Method LOAD_T7BRRK Signature
Method LOAD_T7BRRK on class CL_HRPAYBR_HAZARD_HEALTH_RISK has no parameter.
Method LOAD_T7BRRK on class CL_HRPAYBR_HAZARD_HEALTH_RISK has no exception.
Method READ_T7BRRK 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_HRPADBR_EMPLOYEE | Class to encapsulate an employee (pernr) | 20120607 | |||
| 2 | IV_DATREF | Call by reference | Type reference (TYPE) | DATUM | Reference date | 20120607 | |||
| 3 | RS_T7BRRK | Value transfer | Type reference (TYPE) | T7BRRK | Hazard and health risk grouping | 20120607 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Exception generated when a record is not found in a table | 20120607 |
History
| Last changed by/on | SAP | 20130531 |
| SAP Release Created in |