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 PBRGO 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 MO_CURRENT_EMPLOYEE Instance attribute Private Object reference (TYPE REF TO) CL_HRPADBR_EMPLOYEE Class to encapsulate an employee (pernr) 20120607
2 MO_READER Instance attribute Private Object reference (TYPE REF TO) LIF_HAZARD_HEALTH_RISK_READER 20120607
3 MS_WPBP Instance attribute Private Type reference (TYPE) PC205 Payroll result: work center/basic remuneration 20120607
4 MT_T7BRRK Static Attribute Private Type reference (TYPE) PBRGO_T_T7BRRK 20120607
5 MV_ABKRS Instance attribute Private Type reference (TYPE) ABKRS Payroll area 20120607
6 MV_PERNR Instance attribute Private Type reference (TYPE) PERNR_D Personnel no. 20120607
Methods
# Method Level Visibility Method type Description Created on
1 CONSTRUCTOR Instance method Public Constructor CONSTRUCTOR 20120607
2 GET_HAZARD_HEALTH_RISK_GROUP Instance method Private Method Returns the hazard and health risk grouping 20120607
3 GET_HAZARD_RATE Instance method Public Method Returns the health risk percentage 20120607
4 GET_HEALTH_RISK_RATE Instance method Public Method Returns the hazard percentage 20120607
5 LOAD_T7BRRK Instance method Private Method Loads data bank data for member table 20120607
6 READ_T7BRRK 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 Importing IO_EMPLOYEE Call by reference Object reference (TYPE REF TO) CL_HRPADBR_EMPLOYEE Class to encapsulate an employee (pernr) 20120607
2 Importing IV_DATREF Call by reference Type reference (TYPE) DATUM Reference date 20120607
3 Returning 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 Importing IO_EMPLOYEE Call by reference Object reference (TYPE REF TO) CL_HRPADBR_EMPLOYEE Class to encapsulate an employee (pernr) 20120607
2 Importing IV_DATREF Call by reference Type reference (TYPE) DATUM Reference date 20120607
3 Returning RV_RATE Value transfer Type reference (TYPE) PBR_PERIC Hazard 20120607
# Exception Resumable Description Created on
1 CX_HRPAYBR_EXCEPTION 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 Importing IO_EMPLOYEE Call by reference Object reference (TYPE REF TO) CL_HRPADBR_EMPLOYEE Class to encapsulate an employee (pernr) 20120607
2 Importing IV_DATREF Call by reference Type reference (TYPE) DATUM reference date 20120607
3 Returning RV_RATE Value transfer Type reference (TYPE) PBR_INSAL Health risk 20120607
# Exception Resumable Description Created on
1 CX_HRPAYBR_EXCEPTION 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 Importing IO_EMPLOYEE Call by reference Object reference (TYPE REF TO) CL_HRPADBR_EMPLOYEE Class to encapsulate an employee (pernr) 20120607
2 Importing IV_DATREF Call by reference Type reference (TYPE) DATUM Reference date 20120607
3 Returning RS_T7BRRK Value transfer Type reference (TYPE) T7BRRK Hazard and health risk grouping 20120607
# Exception Resumable Description Created on
1 CX_HRPAYBR_RECORD_NOT_FOUND Exception generated when a record is not found in a table 20120607
History
Last changed by/on SAP  20130531 
SAP Release Created in