SAP ABAP Class CL_HRPAYBE_SB_BL (Social Balance: BUSINESS LIBRARY common class)
Hierarchy
SAP_HRCBE (Software Component) Sub component SAP_HRCBE of SAP_HR
   PY-BE (Application Component) Belgium
     PC12 (Package) HR accounting: Belgium
Meta Relationship - Using
# Relationship type Using Short Description Created on
1 Interface implementation (CLASS c. INTERFACES i_ref)  IF_HRPAYBE_SB_CO Social Balance: Constants 20090513
2 Interface implementation (CLASS c. INTERFACES i_ref)  IF_HRPAYBE_SB_DAQ_CO Social Balance: Constants 20090513
3 Interface implementation (CLASS c. INTERFACES i_ref)  IF_HRPAYBE_SB_DOMA_CO Social Balance: DOMAIN values Constants 20100220
Properties
Class CL_HRPAYBE_SB_BL  
Short Description Social Balance: BUSINESS LIBRARY common class    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package PC12   HR accounting: Belgium 
Created 20090513   SAP 
Last change 20110809   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
# Type group / Object type Type Type Description
1 P99SD Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
2 P99SF Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
3 P99SG Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
4 P99SH Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
5 PBEBW Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
6 PBESB Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
7 PBEU0 Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
Interfaces
# Interface Abstract Final Description Created on
1 IF_HRPAYBE_SB_CO Social Balance: Constants 20090513
2 IF_HRPAYBE_SB_DAQ_CO Social Balance: Constants 20090513
3 IF_HRPAYBE_SB_DOMA_CO Social Balance: DOMAIN values Constants 20100220
Friends
Class CL_HRPAYBE_SB_BL has no friend class.
Attributes
Class CL_HRPAYBE_SB_BL has no attribute.
Methods
# Method Level Visibility Method type Description Created on
1 ADD_ERROR_MESSAGE Static method Public Method Add Social Balance error message 20090528
2 GET_5_FIRST_BEGPC Static method Public Method Get first 5 Labour commision from declaration 20100220
3 GET_COMPANY_DATA Static method Public Method Get Company Institution Tables Data 20090615
4 GET_COMPANY_NAME Static method Public Method Get Company Institution Tables Data for sy-langu 20100126
5 GET_EE_CTTYP Static method Public Method Get Employee Contrat Type 20090701
6 GET_EE_EMPCT Static method Public Method Get Employee Employment Percentage 20090619
7 GET_EE_MWHWK Static method Public Method Get Employee Meaning Working hours per Week 20100204
8 GET_EE_RFMWH Static method Public Method Get Employee Reference Working hours 20100202
9 GET_EE_SB_CTTYP Static method Public Method Get Employee SB Contrat Type Classification 20090701
10 GET_EE_SB_HIGHEST_EDTYP Static method Public Method Get Employee SB Highest Educational Establishment 20100209
11 GET_EE_SB_MASSG Static method Public Method Get Employee Leave Reason 20090702
12 GET_F4_HELP_COMID Static method Public Method Selection: F4 for company id 20100126
13 GET_LAST_LEAVE_DATE Static method Public Method Return the last leave date for the given period 20130412
14 GET_SBSCD_TEXT Static method Public Method Get the description of the Social Balance SAP Code 20090824
15 IS_MASSB_ENTRY Static method Public Method Check if the MASSB correspond to an Entry 20120918
16 IS_MASSB_LEAVE Static method Public Method Check if the MASSB correspond to an Leave 20120918
17 MAPPING_CTTYP_TO_SB_CTTYP Static method Public Method Get the Social Balance Contract Type from the CCTYP 20090630
18 MAPPING_MASSG_TO_SB_MASSG Static method Public Method Get the Social Balance Leave Reason from the MASSN- MASSG 20090702
19 MOVE_DECL_BODY_TO_FLAT_STRUCT Static method Public Method Compile all the declaration BODY into a FLAT struct. data 20100113
20 MOVE_DECL_FLAT_STRUCT_TO_BODY Static method Public Method Structured FLAT into declaration BODY data 20100113
21 UPDATE_HISTORY_DATA Static method Public Method Update hisotory data (relevant for next year) 20100113
Events
Class CL_HRPAYBE_SB_BL has no event.
Types
Class CL_HRPAYBE_SB_BL has no local type.
Method Signatures

Method ADD_ERROR_MESSAGE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_ERROR Call by reference Type reference (TYPE) TABLE 20090528
2 Importing IV_MSGV1 Call by reference Type reference (TYPE) SYMSGV Message Variable 20090528
3 Importing IV_MSGV2 Call by reference Type reference (TYPE) SYMSGV Message Variable 20090528
4 Importing IV_MSGV3 Call by reference Type reference (TYPE) SYMSGV Message Variable 20090528
5 Importing IV_MSGV4 Call by reference Type reference (TYPE) SYMSGV Message Variable 20090528
6 Importing IV_MSG_NUMBER Call by reference Type reference (TYPE) MSGNR Message number 20090528
7 Importing IV_MSG_TYPE Call by reference Type reference (TYPE) SYMSGTY Message Type 20090528

Method ADD_ERROR_MESSAGE on class CL_HRPAYBE_SB_BL has no exception.

Method GET_5_FIRST_BEGPC Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CS_PRINT_ADD_DATA Call by reference Type reference (TYPE) PBESB_S_PRINTOUT_ADD_DATA 20100220
2 Exporting EV_RETURN_CODE Call by reference Type reference (TYPE) SYSUBRC Return Value of ABAP Statements 20100220
3 Importing IR_DAQ_FORM Call by reference Object reference (TYPE REF TO) CL_HR99S00_DAQ Data acquistion for forms 20100220
4 Importing IS_FORM_SB Call by reference Type reference (TYPE) PBESB_S_FORM_SB00_ONE_ER 20100220
5 Importing IV_PRINT_LANGU Call by reference Type reference (TYPE) SPRAS Language Key 20100220

Method GET_5_FIRST_BEGPC on class CL_HRPAYBE_SB_BL has no exception.

Method GET_COMPANY_DATA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CR_COMPANY Call by reference Object reference (TYPE REF TO) CL_HRPADBE_COMPANY Institution tables: company class 20090615
2 Changing CS_COMPANY_ADDR_DE Call by reference Type reference (TYPE) ADDR1_VAL Address return structure 20100126
3 Changing CS_COMPANY_ADDR_FR Call by reference Type reference (TYPE) ADDR1_VAL Address return structure 20100122
4 Changing CS_COMPANY_ADDR_NL Call by reference Type reference (TYPE) ADDR1_VAL Address return structure 20100122
5 Changing CS_SB_REL_COMP_INST Call by reference Type reference (TYPE) P12_REL_COMP_INST Relationships between a company and institutions 20100125
6 Changing CT_ERROR Call by reference Type reference (TYPE) P99SF_TAB_ERROR 20090615
7 Changing CV_COMPANY_NAME_DE Call by reference Type reference (TYPE) P12_TEXT60 60 character text long 20100126
8 Changing CV_COMPANY_NAME_FR Call by reference Type reference (TYPE) P12_TEXT60 60 character text long 20100122
9 Changing CV_COMPANY_NAME_NL Call by reference Type reference (TYPE) P12_TEXT60 60 character text long 20100122
10 Changing CV_RETURN_CODE Call by reference Type reference (TYPE) SYSUBRC Return Value of ABAP Statements 20090615
11 Importing IV_BUKRS Call by reference Type reference (TYPE) BUKRS Company Code 20090615
12 Importing IV_DATE Call by reference Type reference (TYPE) D 20090615
13 Importing IV_LANGU Call by reference Type reference (TYPE) SYLANGU Language Key of Current Text Environment 20090615

Method GET_COMPANY_DATA on class CL_HRPAYBE_SB_BL has no exception.

Method GET_COMPANY_NAME Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CR_COMPANY Call by reference Object reference (TYPE REF TO) CL_HRPADBE_COMPANY Institution tables: company class 20100126
2 Changing CS_COMPANY_ADDR Call by reference Type reference (TYPE) ADDR1_VAL Address return structure 20100126
3 Changing CT_ERROR Call by reference Type reference (TYPE) P99SF_TAB_ERROR 20100126
4 Changing CV_COMPANY_NAME Call by reference Type reference (TYPE) P12_TEXT60 60 character text long 20100126
5 Changing CV_RETURN_CODE Call by reference Type reference (TYPE) SYSUBRC Return Value of ABAP Statements 20100126
6 Importing IV_BUKRS Call by reference Type reference (TYPE) BUKRS Company Code 20100126
7 Importing IV_DATE Call by reference Type reference (TYPE) D 20100126
8 Importing IV_LANGU Call by reference Type reference (TYPE) SYLANGU SY-LANGU Language Key of Current Text Environment 20100126

Method GET_COMPANY_NAME on class CL_HRPAYBE_SB_BL has no exception.

Method GET_EE_CTTYP Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_EE_CTTYP Call by reference Type reference (TYPE) CTTYP Employment percentage 20090701
2 Exporting EV_RETURN_CODE Call by reference Type reference (TYPE) SYSUBRC Return Value of ABAP Statements 20090701
3 Importing IS_SV Call by reference Type reference (TYPE) PBEU0_SV 20090701

Method GET_EE_CTTYP on class CL_HRPAYBE_SB_BL has no exception.

Method GET_EE_EMPCT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_EE_EMPCT Call by reference Type reference (TYPE) EMPCT Employment percentage 20090619
2 Exporting EV_RETURN_CODE Call by reference Type reference (TYPE) SYSUBRC Return Value of ABAP Statements 20090619
3 Importing IS_SV Call by reference Type reference (TYPE) PBEU0_SV 20090619
4 Importing IS_SVEVL Call by reference Type reference (TYPE) PBEU0_SVEVL 20090619
5 Importing IV_PERNR Call by reference Type reference (TYPE) P_PERNR Personnel Number 20090619

Method GET_EE_EMPCT on class CL_HRPAYBE_SB_BL has no exception.

Method GET_EE_MWHWK Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_EE_MWHWK Call by reference Type reference (TYPE) P12_SB_MWHWK Employment percentage 20100204
2 Exporting EV_RETURN_CODE Call by reference Type reference (TYPE) SYSUBRC Return Value of ABAP Statements 20100204
3 Importing IS_SV Call by reference Type reference (TYPE) PBEU0_SV 20100204
4 Importing IS_SVEVL Call by reference Type reference (TYPE) PBEU0_SVEVL 20100204
5 Importing IV_PERNR Call by reference Type reference (TYPE) P_PERNR Personnel Number 20100204

Method GET_EE_MWHWK on class CL_HRPAYBE_SB_BL has no exception.

Method GET_EE_RFMWH Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_EE_RFMWH Call by reference Type reference (TYPE) P12_SB_RFMWH Employment percentage 20100202
2 Exporting EV_RETURN_CODE Call by reference Type reference (TYPE) SYSUBRC Return Value of ABAP Statements 20100202
3 Importing IS_SV Call by reference Type reference (TYPE) PBEU0_SV 20100202
4 Importing IS_SVEVL Call by reference Type reference (TYPE) PBEU0_SVEVL 20100202
5 Importing IV_PERNR Call by reference Type reference (TYPE) P_PERNR Personnel Number 20100202

Method GET_EE_RFMWH on class CL_HRPAYBE_SB_BL has no exception.

Method GET_EE_SB_CTTYP Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_EE_SB_CTTYP Call by reference Type reference (TYPE) P12_SB_CTTYP Employment percentage 20090701
2 Exporting EV_RETURN_CODE Call by reference Type reference (TYPE) SYSUBRC Return Value of ABAP Statements 20090701
3 Importing IS_SV Call by reference Type reference (TYPE) PBEU0_SV 20090701

Method GET_EE_SB_CTTYP on class CL_HRPAYBE_SB_BL has no exception.

Method GET_EE_SB_HIGHEST_EDTYP Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_EE_SB_EDTYP Call by reference Type reference (TYPE) P12_SB_HIGHEST_EDTYP 20100209
2 Exporting EV_EE_SB_SLABS Call by reference Type reference (TYPE) P12_SB_HIGHEST_SLABS Highest Certificate 20100209
3 Exporting EV_EE_SB_SLART Call by reference Type reference (TYPE) P12_SB_HIGHEST_SLART Social Balance: Highest Educational establishment 20100209
4 Exporting EV_RETURN_CODE Call by reference Type reference (TYPE) SYSUBRC Return Value of ABAP Statements 20100209
5 Importing IT_P0022 Call by reference Type reference (TYPE) PBESB_T_P0022 20100209
6 Importing IV_DATE Call by reference Type reference (TYPE) DATUM 20100209

Method GET_EE_SB_HIGHEST_EDTYP on class CL_HRPAYBE_SB_BL has no exception.

Method GET_EE_SB_MASSG Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_EE_SB_MASSG Call by reference Type reference (TYPE) P12_SB_MASSG Employment percentage 20090702
2 Exporting EV_RETURN_CODE Call by reference Type reference (TYPE) SYSUBRC Return Value of ABAP Statements 20090702
3 Importing IS_WPBP Call by reference Type reference (TYPE) PC205 20090702

Method GET_EE_SB_MASSG on class CL_HRPAYBE_SB_BL has no exception.

Method GET_F4_HELP_COMID Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CS_F4_COMID Call by reference Type reference (TYPE) PBESB_S_F4_COMID 20100126
2 Changing CT_ERROR Call by reference Type reference (TYPE) P99SF_TAB_ERROR 20100126
3 Changing CT_F4_COMID Call by reference Type reference (TYPE) PBESB_T_F4_COMID 20100126
4 Changing CV_COMID Call by reference Type reference (TYPE) P12_COMID Company ID 20100126
5 Changing CV_COMID_NAME Call by reference Type reference (TYPE) P_99S_NAME Name text 20100126
6 Changing CV_RETURN_CODE Call by reference Type reference (TYPE) SYSUBRC Return Value of ABAP Statements 20100126
7 Importing IV_DATE Call by reference Type reference (TYPE) D SY-DATUM 20100126
8 Importing IV_LANGU Call by reference Type reference (TYPE) SYLANGU 20100126

Method GET_F4_HELP_COMID on class CL_HRPAYBE_SB_BL has no exception.

Method GET_LAST_LEAVE_DATE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_PHIFI Call by reference Type reference (TYPE) P99SH_TAB_PHIFI 20130412
2 Exporting EV_LEAVE_DATE Call by reference Type reference (TYPE) ENDDA End Date 20130412
3 Exporting EV_RETURN_CODE Call by reference Type reference (TYPE) SY-SUBRC Return Value of ABAP Statements 20130412
4 Importing IT_CRITERIA Call by reference Type reference (TYPE) P99SH_TAB_CRITERIA 20130412
5 Importing IT_PRELP Call by reference Type reference (TYPE) P99SG_TAB_PRELP 20130412
6 Importing IV_BEGDA Call by reference Type reference (TYPE) BEGDA '01011800' Start Date 20130412
7 Importing IV_ENDDA Call by reference Type reference (TYPE) ENDDA '31129999' End Date 20130412
8 Importing IV_PERNR Call by reference Type reference (TYPE) PERNR-PERNR Personnel Number 20130412

Method GET_LAST_LEAVE_DATE on class CL_HRPAYBE_SB_BL has no exception.

Method GET_SBSCD_TEXT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_TEXT Call by reference Type reference (TYPE) P12_SB_SAP_CODE_TEXT Text Field 20090824
2 Importing IV_LANGU Call by reference Type reference (TYPE) SPRAS SY-LANGU Language Key 20090824
3 Importing IV_SBSCD Call by reference Type reference (TYPE) P12_SB_SAP_CODE Social Balance: SAP Code 20090824

Method GET_SBSCD_TEXT on class CL_HRPAYBE_SB_BL has no exception.

Method IS_MASSB_ENTRY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_MASSB Call by reference Type reference (TYPE) P12MG Reason of action - Belgium 20120918
2 Returning RV_IS_ENTRY Value transfer Type reference (TYPE) BOOLE_D Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') 20120918

Method IS_MASSB_ENTRY on class CL_HRPAYBE_SB_BL has no exception.

Method IS_MASSB_LEAVE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_MASSB Call by reference Type reference (TYPE) P12MG Reason of action - Belgium 20120918
2 Returning RV_IS_LEAVE Value transfer Type reference (TYPE) BOOLE_D Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') 20120918

Method IS_MASSB_LEAVE on class CL_HRPAYBE_SB_BL has no exception.

Method MAPPING_CTTYP_TO_SB_CTTYP Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_RETURN_CODE Call by reference Type reference (TYPE) SYSUBRC Return Value of ABAP Statements 20090630
2 Exporting EV_SB_CTTYP Call by reference Type reference (TYPE) P12_SB_CTTYP Social Balance: Contrat Type 20090630
3 Importing IV_CTTYP Call by reference Type reference (TYPE) CTTYP Contract Type 20090630

Method MAPPING_CTTYP_TO_SB_CTTYP on class CL_HRPAYBE_SB_BL has no exception.

Method MAPPING_MASSG_TO_SB_MASSG Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_RETURN_CODE Call by reference Type reference (TYPE) SYSUBRC Return Value of ABAP Statements 20090702
2 Exporting EV_SB_MASSG Call by reference Type reference (TYPE) P12_SB_MASSG 20090702
3 Importing IV_MASSG Call by reference Type reference (TYPE) MASSG 20090702
4 Importing IV_MASSN Call by reference Type reference (TYPE) MASSN 20090702

Method MAPPING_MASSG_TO_SB_MASSG on class CL_HRPAYBE_SB_BL has no exception.

Method MOVE_DECL_BODY_TO_FLAT_STRUCT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_ERROR Call by reference Type reference (TYPE) P99SF_TAB_ERROR 20100113
2 Changing CV_RETURN_CODE Call by reference Type reference (TYPE) SYSUBRC Return Value of ABAP Statements 20100113
3 Exporting ES_DECL_BODY_FLAT Call by reference Type reference (TYPE) PBESB_S_DECL_BODY_FLAT 20100113
4 Importing IS_DECL_BODY Call by reference Type reference (TYPE) PBESB_S_DECL_BODY 20100113

Method MOVE_DECL_BODY_TO_FLAT_STRUCT on class CL_HRPAYBE_SB_BL has no exception.

Method MOVE_DECL_FLAT_STRUCT_TO_BODY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_ERROR Call by reference Type reference (TYPE) P99SF_TAB_ERROR 20100113
2 Changing CV_RETURN_CODE Call by reference Type reference (TYPE) SYSUBRC Return Value of ABAP Statements 20100113
3 Exporting ES_DECL_BODY Call by reference Type reference (TYPE) PBESB_S_DECL_BODY 20100113
4 Importing IS_DECL_BODY_FLAT Call by reference Type reference (TYPE) PBESB_S_DECL_BODY_FLAT 20100113

Method MOVE_DECL_FLAT_STRUCT_TO_BODY on class CL_HRPAYBE_SB_BL has no exception.

Method UPDATE_HISTORY_DATA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_ERROR Call by reference Type reference (TYPE) P99SF_TAB_ERROR 20100113
2 Changing CV_RETURN_CODE Call by reference Type reference (TYPE) SYSUBRC Return Value of ABAP Statements 20100113
3 Importing IR_DAQ_FORM Call by reference Object reference (TYPE REF TO) CL_HR99S00_DAQ Data acquistion for forms 20100113
4 Importing IR_TEMSE_OBJECT Call by reference Object reference (TYPE REF TO) CL_HR99S00_TEMSE class for TemSe Southern Europe 20100113
5 Importing IS_FORM_SB Call by reference Type reference (TYPE) PBESB_S_FORM_SB00_ONE_ER 20100113
6 Importing IS_TEMSE_ATR Call by reference Type reference (TYPE) PBESB_S_TEMSE_ATR 20100113

Method UPDATE_HISTORY_DATA on class CL_HRPAYBE_SB_BL has no exception.
History
Last changed by/on SAP  20110809 
SAP Release Created in 600