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 | Static Attribute | Protected | Type reference (TYPE) | PSKEY | Keys for HR Master Data | 20021127 | |||
| 2 | Constant | Protected | Type reference (TYPE) | IOPER | 'DEL ' | Delete operation | 20021127 | ||
| 3 | Constant | Protected | Type reference (TYPE) | SUBTY | '14 ' | Subtype for Domestic Child | 20021127 | ||
| 4 | Constant | Protected | Type reference (TYPE) | SUBTY | '13 ' | Subtype for Domestic Partner | 20021127 | ||
| 5 | Constant | Protected | Type reference (TYPE) | IOPER | 'INS ' | Insert operation | 20021127 | ||
| 6 | Constant | Protected | Type reference (TYPE) | IOPER | 'MOD ' | Modify operation | 20021127 | ||
| 7 | Constant | Protected | Type reference (TYPE) | SY-MSGTY | 'N' | No Message | 20021127 | ||
| 8 | Constant | Protected | Type reference (TYPE) | RPBENBNF-ITS01 | '0' | Person | 20021127 | ||
| 9 | Constant | Protected | Type reference (TYPE) | RSEXSCRN-EXIT_NAME | 'HRPADUS_PBAS_0001' | Business Add-in Definition | 20021217 | ||
| 10 | Constant | Protected | Type reference (TYPE) | SUBTY | '1 ' | Subtype for Spouse | 20021127 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Protected | Method | Check if address has been entered completely | 20021127 | |
| 2 | Instance method | Protected | Method | Validate Country | 20021127 | |
| 3 | Instance method | Protected | Method | Validate infotype fields | 20021127 | |
| 4 | Instance method | Protected | Method | Check if the family member is linked with Insurance Plan | 20021127 | |
| 5 | Instance method | Protected | Method | Check other checkbox fields for valid values | 20021127 | |
| 6 | Instance method | Protected | Method | Check Relationship between Domestic Partner and Child | 20021127 | |
| 7 | Instance method | Protected | Method | Check Postal Code format for Canada | 20021127 | |
| 8 | Instance method | Protected | Method | Check if Postal Code is valid for a Canadian State | 20021127 | |
| 9 | Instance method | Protected | Method | Check Validity of Social Insurance Number | 20021128 | |
| 10 | Instance method | Protected | Method | Check if Spouse Exists | 20021127 | |
| 11 | Instance method | Protected | Method | Validate State | 20021127 | |
| 12 | Instance method | Protected | Method | Check if the telephone number is entered in the right format | 20021128 | |
| 13 | 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 | CITY | Call by reference | Type reference (TYPE) | ORT01 | City | 20021127 | |||
| 2 | IS_OK | Call by reference | Type reference (TYPE) | BOOLE_D | Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') | 20021127 | |||
| 3 | LAND | Call by reference | Type reference (TYPE) | LAND | Country of company | 20021127 | |||
| 4 | MESSAGE_HANDLER | Call by reference | Object reference (TYPE REF TO) | IF_HRPA_MESSAGE_HANDLER | HR Master Data: Messages | 20021127 | |||
| 5 | POSTAL_CODE | Call by reference | Type reference (TYPE) | PSTLZ | Postal Code | 20021127 | |||
| 6 | STATE | Call by reference | Type reference (TYPE) | REGIO | Region (State, Province, County) | 20021127 | |||
| 7 | 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 | IS_OK | Call by reference | Type reference (TYPE) | BOOLE_D | Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') | 20021127 | |||
| 2 | LAND | Call by reference | Type reference (TYPE) | P0106-LAND1 | Country Key | 20021127 | |||
| 3 | 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 | IS_OK | Call by reference | Type reference (TYPE) | BOOLE_D | Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') | 20021127 | |||
| 2 | MESSAGE_HANDLER | Call by reference | Object reference (TYPE REF TO) | IF_HRPA_MESSAGE_HANDLER | HR Master Data: Messages | 20021127 | |||
| 3 | OPERATION | Call by reference | Type reference (TYPE) | IOPER | Infotype operation | 20021127 | |||
| 4 | P0021 | Call by reference | Type reference (TYPE) | P0021 | HR Master Record: Infotype 0021 (Family) | 20021127 | |||
| 5 | P0106 | Call by reference | Type reference (TYPE) | P0106 | HR Master Record: Infotype 0106 (Related Persons NA) | 20021127 | |||
| 6 | 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 | IS_OK | Call by reference | Type reference (TYPE) | BOOLE_D | Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') | 20021127 | |||
| 2 | MESSAGE_HANDLER | Call by reference | Object reference (TYPE REF TO) | IF_HRPA_MESSAGE_HANDLER | HR Master Data: Messages | 20021127 | |||
| 3 | OPERATION | Call by reference | Type reference (TYPE) | IOPER | Infotype operation | 20021127 | |||
| 4 | P0021 | Call by reference | Type reference (TYPE) | P0021 | HR Master Record: Infotype 0021 (Family) | 20021127 | |||
| 5 | P0106 | Call by reference | Type reference (TYPE) | P0106 | HR Master Record: Infotype 0106 (Related Persons NA) | 20021127 | |||
| 6 | 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 | IS_OK | Call by reference | Type reference (TYPE) | BOOLE_D | Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') | 20021127 | |||
| 2 | MESSAGE_HANDLER | Call by reference | Object reference (TYPE REF TO) | IF_HRPA_MESSAGE_HANDLER | HR Master Data: Messages | 20021127 | |||
| 3 | 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 | IS_OK | Call by reference | Type reference (TYPE) | BOOLE_D | Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') | 20021127 | |||
| 2 | MESSAGE_HANDLER | Call by reference | Object reference (TYPE REF TO) | IF_HRPA_MESSAGE_HANDLER | HR Master Data: Messages | 20021127 | |||
| 3 | OPERATION | Call by reference | Type reference (TYPE) | IOPER | Infotype operation | 20021127 | |||
| 4 | P0021 | Call by reference | Type reference (TYPE) | P0021 | HR Master Record: Infotype 0021 (Family) | 20021127 | |||
| 5 | P0106 | Call by reference | Type reference (TYPE) | P0106 | HR Master Record: Infotype 0106 (Related Persons NA) | 20021127 | |||
| 6 | PERNR | Call by reference | Type reference (TYPE) | P0021-PERNR | Personnel Number | 20021127 | |||
| 7 | SUBTY | Call by reference | Type reference (TYPE) | P0021-SUBTY | Subtype | 20021127 | |||
| 8 | 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 | FIELD_LIST | Call by reference | Type reference (TYPE) | HRPAD_FIELD_TAB | Field List | 20021127 | |||
| 2 | IS_OK | Call by reference | Type reference (TYPE) | BOOLE_D | Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') | 20021127 | |||
| 3 | LAND | Call by reference | Type reference (TYPE) | LAND | Country | 20021127 | |||
| 4 | MESSAGE_HANDLER | Call by reference | Object reference (TYPE REF TO) | IF_HRPA_MESSAGE_HANDLER | HR Master Data: Messages | 20021127 | |||
| 5 | POSTAL_CODE | Call by reference | Type reference (TYPE) | PSTLZ | Postal Code | 20021127 | |||
| 6 | 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 | FIELD_LIST | Call by reference | Type reference (TYPE) | HRPAD_FIELD_TAB | Field List | 20021127 | |||
| 2 | IS_OK | Call by reference | Type reference (TYPE) | BOOLE_D | Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') | 20021127 | |||
| 3 | MESSAGE_HANDLER | Call by reference | Object reference (TYPE REF TO) | IF_HRPA_MESSAGE_HANDLER | HR Master Data: Messages | 20021127 | |||
| 4 | POSTAL_CODE | Call by reference | Type reference (TYPE) | PSTLZ | Postal Code | 20021127 | |||
| 5 | 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 | IS_OK | Call by reference | Type reference (TYPE) | BOOLE_D | Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') | 20021128 | |||
| 2 | MESSAGE_HANDLER | Call by reference | Object reference (TYPE REF TO) | IF_HRPA_MESSAGE_HANDLER | HR Master Data: Messages | 20021128 | |||
| 3 | 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 | IS_OK | Call by reference | Type reference (TYPE) | BOOLE_D | Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') | 20021127 | |||
| 2 | MESSAGE_HANDLER | Call by reference | Object reference (TYPE REF TO) | IF_HRPA_MESSAGE_HANDLER | HR Master Data: Messages | 20021127 | |||
| 3 | OPERATION | Call by reference | Type reference (TYPE) | IOPER | Infotype operation | 20021127 | |||
| 4 | P0021 | Call by reference | Type reference (TYPE) | P0021 | HR Master Record: Infotype 0021 (Family) | 20021127 | |||
| 5 | PERNR | Call by reference | Type reference (TYPE) | P0021-PERNR | Personnel Number | 20021127 | |||
| 6 | SUBTY | Call by reference | Type reference (TYPE) | SUBTY | Subtype | 20021127 | |||
| 7 | 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 | IS_OK | Call by reference | Type reference (TYPE) | BOOLE_D | Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') | 20021127 | |||
| 2 | LAND | Call by reference | Type reference (TYPE) | LAND1 | Country Key | 20021127 | |||
| 3 | MESSAGE_HANDLER | Call by reference | Object reference (TYPE REF TO) | IF_HRPA_MESSAGE_HANDLER | HR Master Data: Messages | 20021127 | |||
| 4 | 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 | IS_OK | Call by reference | Type reference (TYPE) | BOOLE_D | Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') | 20021128 | |||
| 2 | MESSAGE_HANDLER | Call by reference | Object reference (TYPE REF TO) | IF_HRPA_MESSAGE_HANDLER | HR Master Data: Messages | 20021128 | |||
| 3 | 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 | OBJPS | Call by reference | Type reference (TYPE) | P0021-OBJPS | Object Identification | 20021127 | |||
| 2 | PERNR | Call by reference | Type reference (TYPE) | P0021-PERNR | Personnel Number | 20021127 | |||
| 3 | SUBTY | Call by reference | Type reference (TYPE) | P0021-SUBTY | Subtype | 20021127 | |||
| 4 | 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 |