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 IF_HRPA_BOOLE_D 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 FALSE Constant Protected Type reference (TYPE) BOOLE_D IF_HRPA_BOOLE_D=>FALSE False 20021122
2 TRUE Constant Protected Type reference (TYPE) BOOLE_D IF_HRPA_BOOLE_D=>TRUE True 20021122
Methods
# Method Level Visibility Method type Description Created on
1 CHECK_SSN Static method Public Method Check Social Security Number 20021122
2 CHECK_ZIP_CODE_FORMAT Static method Public Method Check the format of the US Zip Code 20021122
3 CHECK_ZIP_CODE_FOR_STATE 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 Exporting RET_CODE Value transfer Type reference (TYPE) SY-SUBRC Return Code 20021122
2 Importing SSN Call by reference Type reference (TYPE) PRDNI Personnel ID Number 20021122
# Exception Resumable Description Created on
1 INVALID_LENGTH Lenght of the SSN is invalid 20021122
2 INVALID_SSN 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 Importing FIELD_LIST Call by reference Type reference (TYPE) HRPAD_FIELD_TAB Field List 20021126
2 Exporting IS_OK Call by reference Type reference (TYPE) BOOLE_D Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') 20021122
3 Importing LAND Call by reference Type reference (TYPE) LAND Country of company 20021122
4 Importing MESSAGE_HANDLER Call by reference Object reference (TYPE REF TO) IF_HRPA_MESSAGE_HANDLER HR Master Data: Messages 20021122
5 Importing STATE Call by reference Type reference (TYPE) REGIO Region (State, Province, County) 20021122
6 Importing 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 Importing BEGDA Call by reference Type reference (TYPE) BEGDA Start Date 20021122
2 Importing ENDDA Call by reference Type reference (TYPE) ENDDA End Date 20021122
3 Importing FIELD_LIST Call by reference Type reference (TYPE) HRPAD_FIELD_TAB Default values for fast entry: field name 20021128
4 Exporting IS_OK Call by reference Type reference (TYPE) BOOLE_D Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') 20021122
5 Importing LAND Call by reference Type reference (TYPE) LAND Country of company 20021122
6 Importing MESSAGE_HANDLER Call by reference Object reference (TYPE REF TO) IF_HRPA_MESSAGE_HANDLER HR Master Data: Messages 20021122
7 Importing STATE Call by reference Type reference (TYPE) REGIO Region (State, Province, County) 20021122
8 Importing 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