SAP ABAP Class CL_HR_BE_POSTAL_CODE (Postal Code Service 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_HR_BE_POSTAL_CODE  
Short Description Postal Code Service 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 20130227   SAP 
Last change 20131127   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
# Type group / Object type Type Type Description
1 P99SG Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
Interfaces
Class CL_HR_BE_POSTAL_CODE has no interface implemented.
Friends
Class CL_HR_BE_POSTAL_CODE has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 GC_FALSE Constant Public Type reference (TYPE) BOOLEAN '-' False 20130419
2 GC_HELP_NEW Constant Public Type reference (TYPE) SHLPNAME 'H_T5BPC' Name of a Search Help 20130419
3 GC_HELP_OLD Constant Public Type reference (TYPE) SHLPNAME 'H_T5B51' Name of a Search Help 20130419
4 GC_NEW_PCODE_LENGTH Constant Private Type reference (TYPE) I 4 Length of the new postal code 20130514
5 GC_PCODE_FEATURE Constant Private Type reference (TYPE) T549B-NAMEN 'BEPCT' Name of feature 20130514
6 GC_PCODE_NEW Constant Public Type reference (TYPE) FIELDNAME 'PCODE' Field Name 20130419
7 GC_PCODE_OLD Constant Public Type reference (TYPE) FIELDNAME 'BEPST' Field Name 20130419
8 GC_TEXT_NEW Constant Public Type reference (TYPE) FIELDNAME 'TXT' Field Name 20130419
9 GC_TEXT_OLD Constant Public Type reference (TYPE) FIELDNAME 'TXT25' Field Name 20130419
10 GC_TRUE Constant Public Type reference (TYPE) BOOLEAN 'X' True 20130419
11 GV_BUFFERED_DATE Static Attribute Private Type reference (TYPE) BEGDA Date 20130419
12 GV_BUFFERED_PERNR Static Attribute Private Type reference (TYPE) PERNR_D Personnel Number 20130419
13 GV_HARMONIZATION_ACTIVE Static Attribute Private Type reference (TYPE) BOOLEAN ' ' Harmonization active 20130419
Methods
# Method Level Visibility Method type Description Created on
1 CHECK_POSTAL_CODE Static method Public Method Checks postal code+name, if not unique then f4 help 20130419
2 GET_ESS_F4_HELP_VALUES Static method Public Method 20130620
3 GET_F4_HELP_VALUES Static method Private Method Opens F4 help and returns marked entry 20130419
4 GET_NOT_FOUND_MESSAGE Static method Private Method Throws error message 20130419
5 IS_HARMONIZATION_ACTIVE Static method Public Method Switch for Harmonization active/not active 20130411
6 IS_POSTAL_CODE_VALID Static method Public Method Checks the validity of the postal code 20130514
7 IS_SWITCH_BUFFERED Static method Private Method Switch already read? 20130419
8 READ_T5B51 Static method Private Method Reads entries for table t5b51 (old design) 20130419
9 READ_T5BPCT Static method Private Method Reads entries for table t5bpct (2013 design) 20130419
10 START_CUSTOM_F4_HELP Static method Private Method Starts custom F4 help and returns marked values 20130419
Events
Class CL_HR_BE_POSTAL_CODE has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 TY_PSTLZ_TXT Public See coding 20130620 begin of ty_pstlz_txt, pstlz type pstlz, txt type text40, end of ty_pstlz_txt
2 TY_T_PSTLZ_TXT Public See coding 20130620 ty_t_pstlz_txt TYPE STANDARD TABLE OF ty_pstlz_txt
3 TY_T_T5B51 Public See coding 20130419 ty_t_t5b51 TYPE STANDARD TABLE OF t5b51
4 TY_T_T5BPCT Public See coding 20130419 ty_t_t5bpct TYPE STANDARD TABLE OF t5bpct
Method Signatures

Method CHECK_POSTAL_CODE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CV_PCODE Call by reference Type reference (TYPE) PSTLZ_HR Postal Code 20130419
2 Changing CV_TXT Call by reference Type reference (TYPE) TEXT40 Postal Code name 20130419
3 Exporting EV_SUBRC Call by reference Type reference (TYPE) SYSUBRC <> if not found 20130419
4 Importing IV_DATE Call by reference Type reference (TYPE) D 20130514
5 Importing IV_PERNR Call by reference Type reference (TYPE) PERNR_D 00000000 Personnel Number 20130514
6 Importing IV_WITH_F4_HELP Call by reference Type reference (TYPE) BOOLEAN 'X' Boolean Variable (X=True, -=False, Space=Unknown) 20130620

Method CHECK_POSTAL_CODE on class CL_HR_BE_POSTAL_CODE has no exception.

Method GET_ESS_F4_HELP_VALUES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_HELP_VALUES Call by reference Type reference (TYPE) TY_T_PSTLZ_TXT 20130620
2 Importing IV_DATE Call by reference Type reference (TYPE) D 20130620
3 Importing IV_PERNR Call by reference Type reference (TYPE) PERNR_D Personnel Number 20130620

Method GET_ESS_F4_HELP_VALUES on class CL_HR_BE_POSTAL_CODE has no exception.

Method GET_F4_HELP_VALUES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CV_PCODE Call by reference Type reference (TYPE) PSTLZ_HR Postal Code 20130419
2 Changing CV_TXT Call by reference Type reference (TYPE) TEXT40 Postal Code name 20130419
3 Exporting EV_SUBRC Call by reference Type reference (TYPE) SYSUBRC if <> 0, error / abort 20130419
4 Importing IT_SELOPT Call by reference Type reference (TYPE) DDSHSELOPS Selection Options for Search Helps 20130419
5 Importing IV_ACTIVE Call by reference Type reference (TYPE) BOOLEAN ' ' Apply Harmonization Switch 20130514

Method GET_F4_HELP_VALUES on class CL_HR_BE_POSTAL_CODE has no exception.

Method GET_NOT_FOUND_MESSAGE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_DATE Call by reference Type reference (TYPE) D 20130514
2 Importing IV_DIRECT_MODE Call by reference Type reference (TYPE) BOOLEAN 'X' throw message directly 20130419
3 Importing IV_PCODE Call by reference Type reference (TYPE) PSTLZ_HR Postal Code 20130419
4 Importing IV_PERNR Call by reference Type reference (TYPE) PERNR_D 00000000 Personnel Number 20130514
5 Importing IV_TXT Call by reference Type reference (TYPE) TEXT40 Text, 40 Characters Long 20130514

Method GET_NOT_FOUND_MESSAGE on class CL_HR_BE_POSTAL_CODE has no exception.

Method IS_HARMONIZATION_ACTIVE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CV_ACTIVE Call by reference Type reference (TYPE) BOOLEAN Link field for view query 20130411
2 Importing IV_DATE Call by reference Type reference (TYPE) ENDDA date 20130419
3 Importing IV_PCODE Call by reference Type reference (TYPE) PSTLZ_HR Postal Code 20130514
4 Importing IV_PERNR Call by reference Type reference (TYPE) PERNR_D 00000000 Personnel Number 20130419

Method IS_HARMONIZATION_ACTIVE on class CL_HR_BE_POSTAL_CODE has no exception.

Method IS_POSTAL_CODE_VALID Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CV_VALID Call by reference Type reference (TYPE) BOOLEAN Boolean Variable (X=True, -=False, Space=Unknown) 20130514
2 Importing IV_DATE Call by reference Type reference (TYPE) D 20130514
3 Importing IV_PCODE Call by reference Type reference (TYPE) PSTLZ_HR Postal Code 20130514
4 Importing IV_PERNR Call by reference Type reference (TYPE) PERNR_D 00000000 Personnel Number 20130514
5 Importing IV_TXT Call by reference Type reference (TYPE) TEXT40 Text, 40 Characters Long 20130514
6 Importing IV_WITH_ERROR_MESSAGE Call by reference Type reference (TYPE) BOOLEAN Boolean Variable (X=True, -=False, Space=Unknown) 20130514

Method IS_POSTAL_CODE_VALID on class CL_HR_BE_POSTAL_CODE has no exception.

Method IS_SWITCH_BUFFERED Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_IS_BUFFERED Call by reference Type reference (TYPE) BOOLEAN Boolean Variable (X=True, -=False, Space=Unknown) 20130419
2 Importing IV_DATE Call by reference Type reference (TYPE) ENDDA Date 20130419
3 Importing IV_PERNR Call by reference Type reference (TYPE) PERNR_D Personnel Number 20130419

Method IS_SWITCH_BUFFERED on class CL_HR_BE_POSTAL_CODE has no exception.

Method READ_T5B51 Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_T5B51 Call by reference Type reference (TYPE) TY_T_T5B51 20130419
2 Importing IV_PCODE Call by reference Type reference (TYPE) PSTLZ_HR Postal Code 20130419
3 Importing IV_TXT Call by reference Type reference (TYPE) TEXT40 Text, 40 Characters Long 20130419

Method READ_T5B51 on class CL_HR_BE_POSTAL_CODE has no exception.

Method READ_T5BPCT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_T5BPCT Call by reference Type reference (TYPE) TY_T_T5BPCT 20130419
2 Importing IV_PCODE Call by reference Type reference (TYPE) PSTLZ_HR Postal Code 20130419
3 Importing IV_TXT Call by reference Type reference (TYPE) TEXT40 Text, 40 Characters Long 20130419

Method READ_T5BPCT on class CL_HR_BE_POSTAL_CODE has no exception.

Method START_CUSTOM_F4_HELP Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CV_PCODE Call by reference Type reference (TYPE) PSTLZ_HR Postal Code 20130419
2 Changing CV_TXT Call by reference Type reference (TYPE) TEXT40 Postal Code text 20130419
3 Exporting EV_SUBRC Call by reference Type reference (TYPE) SYSUBRC if <> 0, error / abort 20130419
4 Importing IV_ACTIVE Call by reference Type reference (TYPE) BOOLEAN ' ' Apply Harmonization Switch 20130514

Method START_CUSTOM_F4_HELP on class CL_HR_BE_POSTAL_CODE has no exception.
History
Last changed by/on SAP  20131127 
SAP Release Created in