SAP ABAP Class CL_HRPADBE_COMPANY (Institution tables: company class)
Hierarchy
SAP_HRCBE (Software Component) Sub component SAP_HRCBE of SAP_HR
   PA-PA-BE (Application Component) Belgium
     PB12 (Package) HR Master Data: Belgium
Properties
Class CL_HRPADBE_COMPANY  
Short Description Institution tables: company class    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package PB12   HR Master Data: Belgium 
Created 20020930   SAP 
Last change 20110809   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
# Type group / Object type Type Type Description
1 PBE04 Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
Interfaces
Class CL_HRPADBE_COMPANY has no interface implemented.
Friends
Class CL_HRPADBE_COMPANY has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 ACTIVATED Constant Private Type reference (TYPE) C 1 New code execution 20021002
2 BELGIUM Constant Private Type reference (TYPE) MOLGA 12 Country 20021002
3 BTRTL Instance attribute Private Type reference (TYPE) BTRTL Associated PSA (old design only) 20021002
4 COMPANY_OLD_STRUC Instance attribute Private Type reference (TYPE) T5B9A Company data from old table 20021002
5 COMPANY_STRUC Instance attribute Public Type reference (TYPE) T5B1S Company data from new table 20021002
6 COMP_CODE Instance attribute Public Type reference (TYPE) P_99S_INST Institution code 20020930
7 DATE Instance attribute Private Type reference (TYPE) CDATE Default Date 20021002
8 EEGRM Instance attribute Private Type reference (TYPE) P12_EEGR_MOD Employee grouping modifier 20060310
9 LANGUAGE Instance attribute Private Type reference (TYPE) SPRSL Language of T5B9A 20021002
10 NEW_DESIGN Instance attribute Private Type reference (TYPE) ABRWT Flag for the new code 20021002
11 WERKS Instance attribute Private Type reference (TYPE) PERSA Associated PA (old design only) 20021002
12 WINWW Instance attribute Private Type reference (TYPE) WINWW Company Address 20021002
Methods
# Method Level Visibility Method type Description Created on
1 ACTIVE_EMPLOYEES_FSF Instance method Public Method Appends data to the details' table (used in get_details). 20021205
2 APPEND_TO_REL_TABLE Instance method Private Method Appends data to the details' table (used in get_details). 20021002
3 CONSTRUCTOR Instance method Public Constructor CONSTRUCTOR 20021002
4 GET_ADDRESS Instance method Public Method Gets the address of the company in the specified language. 20021002
5 GET_COMPANY_ID Instance method Public Method Get info of the Company ID linked to the company 20110504
6 GET_CONTRIB_FOR_RSK_GROUPS Instance method Public Method Gets contribution for financing risk groups based on PC 20030804
7 GET_DETAILS Instance method Public Method Gets a table with all the registration numbers of a company. 20021002
8 GET_OFFICIAL_LANGUAGE Instance method Public Method Search the offical language of the company 20110324
9 GET_REGNO_HISTORY Instance method Public Method Table with reg. nr. history for a certain inst. group 20050509
Events
Class CL_HRPADBE_COMPANY has no event.
Types
Class CL_HRPADBE_COMPANY has no local type.
Method Signatures

Method ACTIVE_EMPLOYEES_FSF Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ACTIVE_AT30THJUNE Call by reference Type reference (TYPE) RSZE1 Active persons at june 30th 20021205
2 Exporting ACTIVE_PERS Call by reference Type reference (TYPE) RSZE2 Mean number of active persons 20021205
3 Importing REF_YEAR Call by reference Type reference (TYPE) RSZAA Reference year; when missing the date in constructor is used 20021205
# Exception Resumable Description Created on
1 DATA_NOT_FOUND_IN_T5BV8 For the specified ref.year and comp. gr. no record was found 20021205

Method APPEND_TO_REL_TABLE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CHG_DATE Call by reference Type reference (TYPE) CDATE Date 20021002
2 Changing CHG_RELATIONSHIP Call by reference Type reference (TYPE) P12_REL_COMP_INST Relationships between companies and institutions 20021002
3 Changing CHG_REL_TABLE Call by reference Type reference (TYPE) P12_REL_COMP_INST_TABL The relationship table 20021002
4 Importing IMP_INST_GROUP Call by reference Type reference (TYPE) P_99S_INSTGR Institutional group 20021002
5 Importing IMP_INST_ID Call by reference Type reference (TYPE) INSTL Institution code 20021002
6 Importing IMP_REGNO Call by reference Type reference (TYPE) P12_REGNO Registration number in front of social institutions 20021002
# Exception Resumable Description Created on
1 NO_COMPANY No company defined with this code 20021002
2 NO_INSTITUTION No institution defined with this code 20021002

Method CONSTRUCTOR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IMP_COMP_CODE Call by reference Type reference (TYPE) BUKRS Company code - the instancing basis 20021002
2 Importing IMP_DATE Call by reference Type reference (TYPE) CDATE Date taken as default if no time dep is specified in methods 20021002
3 Importing IMP_LANG Call by reference Type reference (TYPE) SPRSL Language of T5B9A/temporary not to use in new design 20021002
# Exception Resumable Description Created on
1 CONSTANT_NOT_FOUND Constant 'INSRE' not found in table T511K 20021002
2 NO_COMPANY No company defined with this code 20021002
3 NO_COMPANY_DEFINED_IN_LANG No company defined in this language 20021002
4 NO_PERS_AREA For this company there are no pers. area/subareas defined 20021002

Method GET_ADDRESS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CHG_DATE Call by reference Type reference (TYPE) CDATE address at this date; not used yet 20021002
2 Changing CHG_LANGUAGE Call by reference Type reference (TYPE) SPRSL language of the address version 20021002
3 Exporting EXP_ADDRESS Call by reference Type reference (TYPE) ADDR1_VAL address structure 20021002
4 Exporting EXP_COMPANY_NAME Call by reference Type reference (TYPE) P12_TEXT60 Name of the company 20021002
5 Importing IMP_OWN Call by reference Type reference (TYPE) BOOLEAN Set this to true to get own company address not the mother 20041210
# Exception Resumable Description Created on
1 ADDRESS_NOT_FOUND Error when reading the address values 20021002
2 INT_NOT_ENABLED International versions are not enabled. 20021002
3 NOT_DEFINED The address is not defined at all. 20021002
4 NOT_DEFINED_IN_LANG The address is not defined in this language. 20021002
5 NO_COMPANY_ADDRESS No address for this company in T001 20021002
6 NO_MAPPING_DEFINED The mapping table is not customized (T5B1V). 20021002
7 NO_NATION No nation for this language in table T5B1V 20021002

Method GET_COMPANY_ID Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EXP_ADDRESS Call by reference Type reference (TYPE) ADDR1_VAL Address return structure 20110504
2 Exporting EXP_COMPANY_ID_NAME Call by reference Type reference (TYPE) CHAR20 60 character text long 20110504
3 Importing IMP_DATE Call by reference Type reference (TYPE) CDATE Date 20110504
# Exception Resumable Description Created on
1 NO_ADDRESS_EXIST There is no address linked to the Company ID 20110504
2 NO_COMPANY_ID_CUSTOMIZED There is no name that exists for the Company ID 20110504
3 NO_COMPANY_ID_DEFINED The company has not a Company ID assigned 20110504

Method GET_CONTRIB_FOR_RSK_GROUPS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing BEGPC Call by reference Type reference (TYPE) BEGPC PC (paritaar comite) work comission 20030804
2 Importing DATE Call by reference Type reference (TYPE) CDATE Validity date 20030804
3 Importing NO_CPGR_POS Call by reference Type reference (TYPE) BOOLEAN 'X' When not found, reselection of data with no company grouping 20041007
4 Exporting RSZRI Call by reference Type reference (TYPE) RSZRI Calculation of contribution to "Riskgroup" 20030804
5 Exporting RSZTX Call by reference Type reference (TYPE) RSZTX Contribution rate for riskgroups 20030804
# Exception Resumable Description Created on
1 ENTRY_T5BV9_NOT_FOUND Missing entry in t5bv9 20041007

Method GET_DETAILS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CHG_DATE Call by reference Type reference (TYPE) CDATE Details/reg.no's at date DATE 20021002
2 Exporting EXP_DETAILS Call by reference Type reference (TYPE) P12_REL_COMP_INST_TABL Relationships between a company and institutions 20021002
3 Importing IMP_INSTG Call by reference Type reference (TYPE) P_99S_INSTGR Institutional group 20060310
4 Importing IMP_PERSG Call by reference Type reference (TYPE) PERSG Employee Group 20060310
5 Importing IMP_PERSK Call by reference Type reference (TYPE) PERSK Employee Subgroup 20060310
6 Importing IV_PERNR Call by reference Type reference (TYPE) P_PERNR Personnel Number 20090810
# Exception Resumable Description Created on
1 NO_DATA_FOUND_FOR_COMPANY No data was defined for this company 20021002
2 NO_RELATIONSHIPS_WITH_INSTITUT No relationships defined with any social institution 20021002

Method GET_OFFICIAL_LANGUAGE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EXP_LANGUAGE Call by reference Type reference (TYPE) LANGU Language Key 20110324
2 Importing IMP_PERNR Call by reference Type reference (TYPE) PERNR_D Personnel Number 20110324

Method GET_OFFICIAL_LANGUAGE on class CL_HRPADBE_COMPANY has no exception.

Method GET_REGNO_HISTORY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing BEGDA Call by reference Type reference (TYPE) BEGDA '01012005' Start Date 20050509
2 Importing ENDDA Call by reference Type reference (TYPE) ENDDA '31129999' End Date 20050509
3 Importing IMP_PERSG Call by reference Type reference (TYPE) PERSG Employee Group 20060310
4 Importing IMP_PERSK Call by reference Type reference (TYPE) PERSK Employee Subgroup 20060310
5 Importing INST_GROUP Call by reference Type reference (TYPE) T5F99IG-INSTG Institutional group 20050509
6 Exporting TAB_HISTORY Call by reference Type reference (TYPE) PBE04_TAB_REGNO_HISTORY History of the relationship with a certain institution 20050509

Method GET_REGNO_HISTORY on class CL_HRPADBE_COMPANY has no exception.
History
Last changed by/on SAP  20110809 
SAP Release Created in 500