SAP ABAP Class CL_HRPA_INFOTYPE_0021_CA (Decoupled Class for Infotype 21 for Canada)
Hierarchy
EA-HRCCA (Software Component) Sub component EA-HRCCA of EA-HR
   PA-PA-CA (Application Component) Canada
     PAOC_PAD_INFTY_0021_CA (Package) Infotype Decoupling for Infotype 21 for Canada
Meta Relationship - Using
# Relationship type Using Short Description Created on
1 Inheritance (c INHERITING FROM c_ref)  CL_HRPA_INFOTYPE_0021 HR: Infotype 0021 International 20021127
Properties
Class CL_HRPA_INFOTYPE_0021_CA  
Short Description Decoupled Class for Infotype 21 for Canada    
Super Class CL_HRPA_INFOTYPE_0021 HR: Infotype 0021 International 
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package PAOC_PAD_INFTY_0021_CA   Infotype Decoupling for Infotype 21 for Canada 
Created 20021127   SAP 
Last change 20041209   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
Class CL_HRPA_INFOTYPE_0021_CA has no forward declaration.
Interfaces
Class CL_HRPA_INFOTYPE_0021_CA has no interface implemented.
Friends
Class CL_HRPA_INFOTYPE_0021_CA has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 A_PSKEY Static Attribute Protected Type reference (TYPE) PSKEY Keys for HR Master Data 20021127
2 C_DELETE Constant Protected Type reference (TYPE) IOPER 'DEL ' Delete operation 20021127
3 C_DOMESTIC_CHILD Constant Protected Type reference (TYPE) SUBTY '14 ' Subtype for Domestic Child 20021127
4 C_DOMESTIC_PARTNER Constant Protected Type reference (TYPE) SUBTY '13 ' Subtype for Domestic Partner 20021127
5 C_INSERT Constant Protected Type reference (TYPE) IOPER 'INS ' Insert operation 20021127
6 C_MODIFY Constant Protected Type reference (TYPE) IOPER 'MOD ' Modify operation 20021127
7 C_NO_MSG Constant Protected Type reference (TYPE) SY-MSGTY 'N' No Message 20021127
8 C_PERSON Constant Protected Type reference (TYPE) RPBENBNF-ITS01 '0' Person 20021127
9 C_SAP_USER_EXIT01 Constant Protected Type reference (TYPE) RSEXSCRN-EXIT_NAME 'HRPADUS_PBAS_0001' Business Add-in Definition 20021217
10 C_SPOUSE Constant Protected Type reference (TYPE) SUBTY '1 ' Subtype for Spouse 20021127
Methods
# Method Level Visibility Method type Description Created on
1 CHECK_ADDRESS Instance method Protected Method Check if address has been entered completely 20021127
2 CHECK_COUNTRY Instance method Protected Method Validate Country 20021127
3 CHECK_FIELDS Instance method Protected Method Validate infotype fields 20021127
4 CHECK_INSURANCE_PLAN Instance method Protected Method Check if the family member is linked with Insurance Plan 20021127
5 CHECK_OTHER_FIELDS Instance method Protected Method Check other checkbox fields for valid values 20021127
6 CHECK_PARTNER_CHILD_RELAT Instance method Protected Method Check Relationship between Domestic Partner and Child 20021127
7 CHECK_POSTAL_CODE_FORMAT Instance method Protected Method Check Postal Code format for Canada 20021127
8 CHECK_POSTAL_CODE_FOR_STATE Instance method Protected Method Check if Postal Code is valid for a Canadian State 20021127
9 CHECK_SIN Instance method Protected Method Check Validity of Social Insurance Number 20021128
10 CHECK_SPOUSE_EXISTS Instance method Protected Method Check if Spouse Exists 20021127
11 CHECK_STATE Instance method Protected Method Validate State 20021127
12 CHECK_TELEPHONE_FORMAT Instance method Protected Method Check if the telephone number is entered in the right format 20021128
13 GET_NEW_OBJPS Instance method Protected Method Determine next OBJID 20021127
Events
Class CL_HRPA_INFOTYPE_0021_CA has no event.
Types
Class CL_HRPA_INFOTYPE_0021_CA has no local type.
Method Signatures

Method CHECK_ADDRESS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing CITY Call by reference Type reference (TYPE) ORT01 City 20021127
2 Exporting IS_OK Call by reference Type reference (TYPE) BOOLE_D Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') 20021127
3 Importing LAND Call by reference Type reference (TYPE) LAND Country of company 20021127
4 Importing MESSAGE_HANDLER Call by reference Object reference (TYPE REF TO) IF_HRPA_MESSAGE_HANDLER HR Master Data: Messages 20021127
5 Importing POSTAL_CODE Call by reference Type reference (TYPE) PSTLZ Postal Code 20021127
6 Importing STATE Call by reference Type reference (TYPE) REGIO Region (State, Province, County) 20021127
7 Importing STREET Call by reference Type reference (TYPE) STRAS House number and street 20021127

Method CHECK_ADDRESS on class CL_HRPA_INFOTYPE_0021_CA has no exception.

Method CHECK_COUNTRY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting IS_OK Call by reference Type reference (TYPE) BOOLE_D Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') 20021127
2 Importing LAND Call by reference Type reference (TYPE) P0106-LAND1 Country Key 20021127
3 Importing MESSAGE_HANDLER Call by reference Object reference (TYPE REF TO) IF_HRPA_MESSAGE_HANDLER HR Master Data: Messages 20021127

Method CHECK_COUNTRY on class CL_HRPA_INFOTYPE_0021_CA has no exception.

Method CHECK_FIELDS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing IS_OK Call by reference Type reference (TYPE) BOOLE_D Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') 20021127
2 Importing MESSAGE_HANDLER Call by reference Object reference (TYPE REF TO) IF_HRPA_MESSAGE_HANDLER HR Master Data: Messages 20021127
3 Importing OPERATION Call by reference Type reference (TYPE) IOPER Infotype operation 20021127
4 Changing P0021 Call by reference Type reference (TYPE) P0021 HR Master Record: Infotype 0021 (Family) 20021127
5 Changing P0106 Call by reference Type reference (TYPE) P0106 HR Master Record: Infotype 0106 (Related Persons NA) 20021127
6 Importing TCLAS Call by reference Type reference (TYPE) TCLAS Transaction class for data storage 20021127

Method CHECK_FIELDS on class CL_HRPA_INFOTYPE_0021_CA has no exception.

Method CHECK_INSURANCE_PLAN Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting IS_OK Call by reference Type reference (TYPE) BOOLE_D Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') 20021127
2 Importing MESSAGE_HANDLER Call by reference Object reference (TYPE REF TO) IF_HRPA_MESSAGE_HANDLER HR Master Data: Messages 20021127
3 Importing OPERATION Call by reference Type reference (TYPE) IOPER Infotype operation 20021127
4 Importing P0021 Call by reference Type reference (TYPE) P0021 HR Master Record: Infotype 0021 (Family) 20021127
5 Importing P0106 Call by reference Type reference (TYPE) P0106 HR Master Record: Infotype 0106 (Related Persons NA) 20021127
6 Importing TCLAS Call by reference Type reference (TYPE) TCLAS Transaction class for data storage 20021217

Method CHECK_INSURANCE_PLAN on class CL_HRPA_INFOTYPE_0021_CA has no exception.

Method CHECK_OTHER_FIELDS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting IS_OK Call by reference Type reference (TYPE) BOOLE_D Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') 20021127
2 Importing MESSAGE_HANDLER Call by reference Object reference (TYPE REF TO) IF_HRPA_MESSAGE_HANDLER HR Master Data: Messages 20021127
3 Importing P0106 Call by reference Type reference (TYPE) P0106 HR Master Record: Infotype 0106 (Related Persons NA) 20021127

Method CHECK_OTHER_FIELDS on class CL_HRPA_INFOTYPE_0021_CA has no exception.

Method CHECK_PARTNER_CHILD_RELAT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting IS_OK Call by reference Type reference (TYPE) BOOLE_D Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') 20021127
2 Importing MESSAGE_HANDLER Call by reference Object reference (TYPE REF TO) IF_HRPA_MESSAGE_HANDLER HR Master Data: Messages 20021127
3 Importing OPERATION Call by reference Type reference (TYPE) IOPER Infotype operation 20021127
4 Importing P0021 Call by reference Type reference (TYPE) P0021 HR Master Record: Infotype 0021 (Family) 20021127
5 Importing P0106 Call by reference Type reference (TYPE) P0106 HR Master Record: Infotype 0106 (Related Persons NA) 20021127
6 Importing PERNR Call by reference Type reference (TYPE) P0021-PERNR Personnel Number 20021127
7 Importing SUBTY Call by reference Type reference (TYPE) P0021-SUBTY Subtype 20021127
8 Importing TCLAS Call by reference Type reference (TYPE) TCLAS Transaction class for data storage 20021127

Method CHECK_PARTNER_CHILD_RELAT on class CL_HRPA_INFOTYPE_0021_CA has no exception.

Method CHECK_POSTAL_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 20021127
2 Exporting IS_OK Call by reference Type reference (TYPE) BOOLE_D Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') 20021127
3 Importing LAND Call by reference Type reference (TYPE) LAND Country 20021127
4 Importing MESSAGE_HANDLER Call by reference Object reference (TYPE REF TO) IF_HRPA_MESSAGE_HANDLER HR Master Data: Messages 20021127
5 Importing POSTAL_CODE Call by reference Type reference (TYPE) PSTLZ Postal Code 20021127
6 Importing STATE Call by reference Type reference (TYPE) REGIO State 20021127

Method CHECK_POSTAL_CODE_FORMAT on class CL_HRPA_INFOTYPE_0021_CA has no exception.

Method CHECK_POSTAL_CODE_FOR_STATE 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 20021127
2 Exporting IS_OK Call by reference Type reference (TYPE) BOOLE_D Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') 20021127
3 Importing MESSAGE_HANDLER Call by reference Object reference (TYPE REF TO) IF_HRPA_MESSAGE_HANDLER HR Master Data: Messages 20021127
4 Importing POSTAL_CODE Call by reference Type reference (TYPE) PSTLZ Postal Code 20021127
5 Importing STATE Call by reference Type reference (TYPE) REGIO Region (State, Province, County) 20021127

Method CHECK_POSTAL_CODE_FOR_STATE on class CL_HRPA_INFOTYPE_0021_CA has no exception.

Method CHECK_SIN Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting IS_OK Call by reference Type reference (TYPE) BOOLE_D Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') 20021128
2 Importing MESSAGE_HANDLER Call by reference Object reference (TYPE REF TO) IF_HRPA_MESSAGE_HANDLER HR Master Data: Messages 20021128
3 Importing PERID Call by reference Type reference (TYPE) P0106-PERID Period: day, week, month, posting period as rep. internally 20021128

Method CHECK_SIN on class CL_HRPA_INFOTYPE_0021_CA has no exception.

Method CHECK_SPOUSE_EXISTS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting IS_OK Call by reference Type reference (TYPE) BOOLE_D Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') 20021127
2 Importing MESSAGE_HANDLER Call by reference Object reference (TYPE REF TO) IF_HRPA_MESSAGE_HANDLER HR Master Data: Messages 20021127
3 Importing OPERATION Call by reference Type reference (TYPE) IOPER Infotype operation 20021127
4 Importing P0021 Call by reference Type reference (TYPE) P0021 HR Master Record: Infotype 0021 (Family) 20021127
5 Importing PERNR Call by reference Type reference (TYPE) P0021-PERNR Personnel Number 20021127
6 Importing SUBTY Call by reference Type reference (TYPE) SUBTY Subtype 20021127
7 Importing TCLAS Call by reference Type reference (TYPE) TCLAS Transaction class for data storage 20021127

Method CHECK_SPOUSE_EXISTS on class CL_HRPA_INFOTYPE_0021_CA has no exception.

Method CHECK_STATE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting IS_OK Call by reference Type reference (TYPE) BOOLE_D Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') 20021127
2 Importing LAND Call by reference Type reference (TYPE) LAND1 Country Key 20021127
3 Importing MESSAGE_HANDLER Call by reference Object reference (TYPE REF TO) IF_HRPA_MESSAGE_HANDLER HR Master Data: Messages 20021127
4 Importing STATE Call by reference Type reference (TYPE) REGIO Region (State, Province, County) 20021127

Method CHECK_STATE on class CL_HRPA_INFOTYPE_0021_CA has no exception.

Method CHECK_TELEPHONE_FORMAT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting IS_OK Call by reference Type reference (TYPE) BOOLE_D Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') 20021128
2 Importing MESSAGE_HANDLER Call by reference Object reference (TYPE REF TO) IF_HRPA_MESSAGE_HANDLER HR Master Data: Messages 20021128
3 Importing TELNR Call by reference Type reference (TYPE) TELNR Telephone number 20021128

Method CHECK_TELEPHONE_FORMAT on class CL_HRPA_INFOTYPE_0021_CA has no exception.

Method GET_NEW_OBJPS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting OBJPS Call by reference Type reference (TYPE) P0021-OBJPS Object Identification 20021127
2 Importing PERNR Call by reference Type reference (TYPE) P0021-PERNR Personnel Number 20021127
3 Importing SUBTY Call by reference Type reference (TYPE) P0021-SUBTY Subtype 20021127
4 Importing TCLAS Call by reference Type reference (TYPE) TCLAS Transaction class for data storage 20021127

Method GET_NEW_OBJPS on class CL_HRPA_INFOTYPE_0021_CA has no exception.
History
Last changed by/on SAP  20041209 
SAP Release Created in 200