SAP ABAP Class CL_HR_US_SERVICES (Services Class For US Infotypoes)
Hierarchy
☛
EA-HRCUS (Software Component) Sub component EA-HRCUS of EA-HR
⤷
PA-PA-US (Application Component) USA
⤷
PAOC_PAD_US (Package) Add-On Development Personnel Administration USA
⤷
⤷
Properties
| Class | CL_HR_US_SERVICES | |
| Short Description | Services Class For US Infotypoes | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | PAOC_PAD_US | Add-On Development Personnel Administration USA |
| Created | 20021120 | SAP |
| Last change | 00000000 | SAP |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
| # | Type group / Object type | Type | Type Description |
|---|---|---|---|
| 1 | Forward declaration interface (INTERFACE i DEFINITION DEF... | Forward declaration interface (INTERFACE i DEFINITION DEF... |
Interfaces
Class CL_HR_US_SERVICES has no interface implemented.
Friends
Class CL_HR_US_SERVICES has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Constant | Protected | Type reference (TYPE) | BOOLE_D | IF_HRPA_BOOLE_D=>FALSE | False | 20021122 | ||
| 2 | Constant | Protected | Type reference (TYPE) | BOOLE_D | IF_HRPA_BOOLE_D=>TRUE | True | 20021122 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Static method | Public | Method | Check Social Security Number | 20021122 | |
| 2 | Static method | Public | Method | Check the format of the US Zip Code | 20021122 | |
| 3 | Static method | Public | Method | Check if the Zip Code is valid for a US State | 20021122 |
Events
Class CL_HR_US_SERVICES has no event.
Types
Class CL_HR_US_SERVICES has no local type.
Method Signatures
Method CHECK_SSN Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RET_CODE | Value transfer | Type reference (TYPE) | SY-SUBRC | Return Code | 20021122 | |||
| 2 | SSN | Call by reference | Type reference (TYPE) | PRDNI | Personnel ID Number | 20021122 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Lenght of the SSN is invalid | 20021122 | ||
| 2 | SSN entered is invalid | 20021122 |
Method CHECK_ZIP_CODE_FORMAT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | FIELD_LIST | Call by reference | Type reference (TYPE) | HRPAD_FIELD_TAB | Field List | 20021126 | |||
| 2 | IS_OK | Call by reference | Type reference (TYPE) | BOOLE_D | Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') | 20021122 | |||
| 3 | LAND | Call by reference | Type reference (TYPE) | LAND | Country of company | 20021122 | |||
| 4 | MESSAGE_HANDLER | Call by reference | Object reference (TYPE REF TO) | IF_HRPA_MESSAGE_HANDLER | HR Master Data: Messages | 20021122 | |||
| 5 | STATE | Call by reference | Type reference (TYPE) | REGIO | Region (State, Province, County) | 20021122 | |||
| 6 | ZIP_CODE | Call by reference | Type reference (TYPE) | PSTLZ | Postal Code | 20021122 |
Method CHECK_ZIP_CODE_FORMAT on class CL_HR_US_SERVICES has no exception.
Method CHECK_ZIP_CODE_FOR_STATE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | BEGDA | Call by reference | Type reference (TYPE) | BEGDA | Start Date | 20021122 | |||
| 2 | ENDDA | Call by reference | Type reference (TYPE) | ENDDA | End Date | 20021122 | |||
| 3 | FIELD_LIST | Call by reference | Type reference (TYPE) | HRPAD_FIELD_TAB | Default values for fast entry: field name | 20021128 | |||
| 4 | IS_OK | Call by reference | Type reference (TYPE) | BOOLE_D | Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') | 20021122 | |||
| 5 | LAND | Call by reference | Type reference (TYPE) | LAND | Country of company | 20021122 | |||
| 6 | MESSAGE_HANDLER | Call by reference | Object reference (TYPE REF TO) | IF_HRPA_MESSAGE_HANDLER | HR Master Data: Messages | 20021122 | |||
| 7 | STATE | Call by reference | Type reference (TYPE) | REGIO | Region (State, Province, County) | 20021122 | |||
| 8 | ZIP_CODE | Call by reference | Type reference (TYPE) | PSTLZ | Postal Code | 20021122 |
Method CHECK_ZIP_CODE_FOR_STATE on class CL_HR_US_SERVICES has no exception.
History
| Last changed by/on | SAP | 00000000 |
| SAP Release Created in | 200 |