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 | 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 | Constant | Public | Type reference (TYPE) | BOOLEAN | '-' | False | 20130419 | ||
| 2 | Constant | Public | Type reference (TYPE) | SHLPNAME | 'H_T5BPC' | Name of a Search Help | 20130419 | ||
| 3 | Constant | Public | Type reference (TYPE) | SHLPNAME | 'H_T5B51' | Name of a Search Help | 20130419 | ||
| 4 | Constant | Private | Type reference (TYPE) | I | 4 | Length of the new postal code | 20130514 | ||
| 5 | Constant | Private | Type reference (TYPE) | T549B-NAMEN | 'BEPCT' | Name of feature | 20130514 | ||
| 6 | Constant | Public | Type reference (TYPE) | FIELDNAME | 'PCODE' | Field Name | 20130419 | ||
| 7 | Constant | Public | Type reference (TYPE) | FIELDNAME | 'BEPST' | Field Name | 20130419 | ||
| 8 | Constant | Public | Type reference (TYPE) | FIELDNAME | 'TXT' | Field Name | 20130419 | ||
| 9 | Constant | Public | Type reference (TYPE) | FIELDNAME | 'TXT25' | Field Name | 20130419 | ||
| 10 | Constant | Public | Type reference (TYPE) | BOOLEAN | 'X' | True | 20130419 | ||
| 11 | Static Attribute | Private | Type reference (TYPE) | BEGDA | Date | 20130419 | |||
| 12 | Static Attribute | Private | Type reference (TYPE) | PERNR_D | Personnel Number | 20130419 | |||
| 13 | Static Attribute | Private | Type reference (TYPE) | BOOLEAN | ' ' | Harmonization active | 20130419 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Static method | Public | Method | Checks postal code+name, if not unique then f4 help | 20130419 | |
| 2 | Static method | Public | Method | 20130620 | ||
| 3 | Static method | Private | Method | Opens F4 help and returns marked entry | 20130419 | |
| 4 | Static method | Private | Method | Throws error message | 20130419 | |
| 5 | Static method | Public | Method | Switch for Harmonization active/not active | 20130411 | |
| 6 | Static method | Public | Method | Checks the validity of the postal code | 20130514 | |
| 7 | Static method | Private | Method | Switch already read? | 20130419 | |
| 8 | Static method | Private | Method | Reads entries for table t5b51 (old design) | 20130419 | |
| 9 | Static method | Private | Method | Reads entries for table t5bpct (2013 design) | 20130419 | |
| 10 | 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 | CV_PCODE | Call by reference | Type reference (TYPE) | PSTLZ_HR | Postal Code | 20130419 | |||
| 2 | CV_TXT | Call by reference | Type reference (TYPE) | TEXT40 | Postal Code name | 20130419 | |||
| 3 | EV_SUBRC | Call by reference | Type reference (TYPE) | SYSUBRC | <> if not found | 20130419 | |||
| 4 | IV_DATE | Call by reference | Type reference (TYPE) | D | 20130514 | ||||
| 5 | IV_PERNR | Call by reference | Type reference (TYPE) | PERNR_D | 00000000 | Personnel Number | 20130514 | ||
| 6 | 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 | CT_HELP_VALUES | Call by reference | Type reference (TYPE) | TY_T_PSTLZ_TXT | 20130620 | ||||
| 2 | IV_DATE | Call by reference | Type reference (TYPE) | D | 20130620 | ||||
| 3 | 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 | CV_PCODE | Call by reference | Type reference (TYPE) | PSTLZ_HR | Postal Code | 20130419 | |||
| 2 | CV_TXT | Call by reference | Type reference (TYPE) | TEXT40 | Postal Code name | 20130419 | |||
| 3 | EV_SUBRC | Call by reference | Type reference (TYPE) | SYSUBRC | if <> 0, error / abort | 20130419 | |||
| 4 | IT_SELOPT | Call by reference | Type reference (TYPE) | DDSHSELOPS | Selection Options for Search Helps | 20130419 | |||
| 5 | 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 | IV_DATE | Call by reference | Type reference (TYPE) | D | 20130514 | ||||
| 2 | IV_DIRECT_MODE | Call by reference | Type reference (TYPE) | BOOLEAN | 'X' | throw message directly | 20130419 | ||
| 3 | IV_PCODE | Call by reference | Type reference (TYPE) | PSTLZ_HR | Postal Code | 20130419 | |||
| 4 | IV_PERNR | Call by reference | Type reference (TYPE) | PERNR_D | 00000000 | Personnel Number | 20130514 | ||
| 5 | 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 | CV_ACTIVE | Call by reference | Type reference (TYPE) | BOOLEAN | Link field for view query | 20130411 | |||
| 2 | IV_DATE | Call by reference | Type reference (TYPE) | ENDDA | date | 20130419 | |||
| 3 | IV_PCODE | Call by reference | Type reference (TYPE) | PSTLZ_HR | Postal Code | 20130514 | |||
| 4 | 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 | CV_VALID | Call by reference | Type reference (TYPE) | BOOLEAN | Boolean Variable (X=True, -=False, Space=Unknown) | 20130514 | |||
| 2 | IV_DATE | Call by reference | Type reference (TYPE) | D | 20130514 | ||||
| 3 | IV_PCODE | Call by reference | Type reference (TYPE) | PSTLZ_HR | Postal Code | 20130514 | |||
| 4 | IV_PERNR | Call by reference | Type reference (TYPE) | PERNR_D | 00000000 | Personnel Number | 20130514 | ||
| 5 | IV_TXT | Call by reference | Type reference (TYPE) | TEXT40 | Text, 40 Characters Long | 20130514 | |||
| 6 | 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 | EV_IS_BUFFERED | Call by reference | Type reference (TYPE) | BOOLEAN | Boolean Variable (X=True, -=False, Space=Unknown) | 20130419 | |||
| 2 | IV_DATE | Call by reference | Type reference (TYPE) | ENDDA | Date | 20130419 | |||
| 3 | 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 | CT_T5B51 | Call by reference | Type reference (TYPE) | TY_T_T5B51 | 20130419 | ||||
| 2 | IV_PCODE | Call by reference | Type reference (TYPE) | PSTLZ_HR | Postal Code | 20130419 | |||
| 3 | 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 | CT_T5BPCT | Call by reference | Type reference (TYPE) | TY_T_T5BPCT | 20130419 | ||||
| 2 | IV_PCODE | Call by reference | Type reference (TYPE) | PSTLZ_HR | Postal Code | 20130419 | |||
| 3 | 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 | CV_PCODE | Call by reference | Type reference (TYPE) | PSTLZ_HR | Postal Code | 20130419 | |||
| 2 | CV_TXT | Call by reference | Type reference (TYPE) | TEXT40 | Postal Code text | 20130419 | |||
| 3 | EV_SUBRC | Call by reference | Type reference (TYPE) | SYSUBRC | if <> 0, error / abort | 20130419 | |||
| 4 | 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 |