SAP ABAP Class CL_HRPA_INFOTYPE_0221 (Business logic for infotype 0221)
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
Meta Relationship - Using
# Relationship type Using Short Description Created on
1 Inheritance (c INHERITING FROM c_ref)  CL_HRPA_INFOTYPE_NNNN HR Master Data: Generic IT Logic 20021029
Meta Relationship - Used By
# Relationship type Used by Short Description Created on
1 Inheritance (c INHERITING FROM c_ref)  CL_HRPA_INFOTYPE_0221_CA Business logic class infotype 0221 CA 20021212
2 Inheritance (c INHERITING FROM c_ref)  CL_HRPA_INFOTYPE_0221_US Business logic class for 0221 US 20021212
Properties
Class CL_HRPA_INFOTYPE_0221  
Short Description Business logic for infotype 0221    
Super Class CL_HRPA_INFOTYPE_NNNN HR Master Data: Generic IT Logic 
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 20021029   SAP 
Last change 20021212   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
# Type group / Object type Type Type Description
1 CL_HR_T500C Forward declaration class (CLASS c DEFINITION DEFERRED)  Forward declaration class (CLASS c DEFINITION DEFERRED)
2 CL_HR_T500P Forward declaration class (CLASS c DEFINITION DEFERRED)  Forward declaration class (CLASS c DEFINITION DEFERRED)
3 CL_HR_T511 Forward declaration class (CLASS c DEFINITION DEFERRED)  Forward declaration class (CLASS c DEFINITION DEFERRED)
4 CL_HR_T51P1 Forward declaration class (CLASS c DEFINITION DEFERRED)  Forward declaration class (CLASS c DEFINITION DEFERRED)
5 CL_HR_T52OCC Forward declaration class (CLASS c DEFINITION DEFERRED)  Forward declaration class (CLASS c DEFINITION DEFERRED)
6 CL_HR_T52OCR Forward declaration class (CLASS c DEFINITION DEFERRED)  Forward declaration class (CLASS c DEFINITION DEFERRED)
7 CL_HR_T549Q Forward declaration class (CLASS c DEFINITION DEFERRED)  Forward declaration class (CLASS c DEFINITION DEFERRED)
8 CL_HR_T5U0P Forward declaration class (CLASS c DEFINITION DEFERRED)  Forward declaration class (CLASS c DEFINITION DEFERRED)
9 CL_HR_T5UTL Forward declaration class (CLASS c DEFINITION DEFERRED)  Forward declaration class (CLASS c DEFINITION DEFERRED)
10 CL_HR_T5UTO Forward declaration class (CLASS c DEFINITION DEFERRED)  Forward declaration class (CLASS c DEFINITION DEFERRED)
11 CL_HR_T5UTZ Forward declaration class (CLASS c DEFINITION DEFERRED)  Forward declaration class (CLASS c DEFINITION DEFERRED)
Interfaces
Class CL_HRPA_INFOTYPE_0221 has no interface implemented.
Friends
Class CL_HRPA_INFOTYPE_0221 has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 C_CANADA Constant Protected Type reference (TYPE) MOLGA '07' 20021212
2 C_CA_NAMC_YEAD Constant Protected Type reference (TYPE) P0221-SUBTY 'YEAD' Subtype 20021029
3 C_NA_NAMC_GANA Constant Protected Type reference (TYPE) P0221-SUBTY 'GANA' Subtype 20021029
4 C_NA_NAMC_GAWA Constant Protected Type reference (TYPE) P0221-SUBTY 'GAWA' Subtype 20021029
5 C_NA_NAMC_YANA Constant Protected Type reference (TYPE) P0221-SUBTY 'YANA' Subtype 20021029
6 C_NA_NAMC_YAWA Constant Protected Type reference (TYPE) P0221-SUBTY 'YAWA' Subtype 20021029
7 C_PAYTY_ADJUSTMENT Constant Protected Type reference (TYPE) P0221-PAYTY 'C' Payroll type 20021213
8 C_USA Constant Protected Type reference (TYPE) MOLGA '10' 20021212
9 C_US_NAMC_ADJT Constant Protected Type reference (TYPE) P0221-SUBTY 'ADJT' Subtype 20021029
10 C_US_NAMC_TCRT Constant Protected Type reference (TYPE) P0221-SUBTY 'TCRT' Subtype 20021029
11 C_US_NAMC_TWEG Constant Protected Type reference (TYPE) P0221-SUBTY 'TWEG' Subtype 20021029
Methods
# Method Level Visibility Method type Description Created on
1 CHECK_DUPLICATES Instance method Protected Method Check for duplicate records 20021212
2 CHECK_HIDDEN_FIELDS Instance method Protected Method Check fields according to subtype 20021116
3 CHECK_LASTPAY Instance method Private Method Read the last pay results and check begin date 20021212
4 CHECK_LGART Instance method Protected Method Check the wage types 20021212
5 CHECK_LGART_ADDITIONAL Instance method Protected Method Allow for country specific checks (check redefinitions) 20021212
6 GET_WAERS Instance method Protected Method Get the default currency from configuration 20021117
7 P0000 Instance method Private Method Read infotype 0000 20021104
8 SPECIFIC_COMPUTATIONS Instance method Protected Method Business logic checks 20021106
Events
Class CL_HRPA_INFOTYPE_0221 has no event.
Types
Class CL_HRPA_INFOTYPE_0221 has no local type.
Method Signatures

Method CHECK_DUPLICATES 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 (=' ') 20021212
2 Importing MESSAGE_HANDLER Call by reference Object reference (TYPE REF TO) IF_HRPA_MESSAGE_HANDLER HR Master Data: Messages 20021212
3 Changing P0221 Call by reference Type reference (TYPE) P0221 Manual checks 20021212
4 Importing TCLAS Call by reference Type reference (TYPE) TCLAS Transaction class for data storage 20021212
# Exception Resumable Description Created on
1 CX_HRPA_VIOLATED_ASSERTION HR: Stammdaten, unerfüllte Programmbedingung 20021213

Method CHECK_HIDDEN_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 20021116
2 Importing MESSAGE_HANDLER Call by reference Object reference (TYPE REF TO) IF_HRPA_MESSAGE_HANDLER HR Master Data: Messages 20021116
3 Changing P0221 Call by reference Type reference (TYPE) P0221 20021116
4 Importing TCLAS Call by reference Type reference (TYPE) TCLAS 20021116
# Exception Resumable Description Created on
1 CX_HRPA_VIOLATED_ASSERTION HR: Stammdaten, unerfüllte Programmbedingung 20021213

Method CHECK_LASTPAY 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 (=' ') 20021212
2 Importing MESSAGE_HANDLER Call by reference Object reference (TYPE REF TO) IF_HRPA_MESSAGE_HANDLER HR Master Data: Messages 20021212
3 Changing P0221 Call by reference Type reference (TYPE) P0221 Manual checks 20021212
4 Importing RGDIR Call by reference Type reference (TYPE) H99_CLST_T_RGDIR RPCLST: Table Type for RGDIR 20021212
5 Importing TCLAS Call by reference Type reference (TYPE) TCLAS Transaction class for data storage 20021212
# Exception Resumable Description Created on
1 CX_HRPA_VIOLATED_ASSERTION HR: Stammdaten, unerfüllte Programmbedingung 20021213

Method CHECK_LGART 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 (=' ') 20021212
2 Importing MESSAGE_HANDLER Call by reference Object reference (TYPE REF TO) IF_HRPA_MESSAGE_HANDLER HR Master Data: Messages 20021212
3 Changing P0221 Call by reference Type reference (TYPE) P0221 Manual checks 20021212
4 Importing TCLAS Call by reference Type reference (TYPE) TCLAS Transaction class for data storage 20021212
# Exception Resumable Description Created on
1 CX_HRPA_VIOLATED_ASSERTION HR: Stammdaten, unerfüllte Programmbedingung 20021213

Method CHECK_LGART_ADDITIONAL Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing BETRG Call by reference Type reference (TYPE) P0221-BET01 Wage Type Amount for Payments 20021212
2 Importing BWGRL Call by reference Type reference (TYPE) P0221-BWG01 Valuation basis 20021212
3 Importing ENSTD Call by reference Type reference (TYPE) P0221-STD01 No.of hours for remuneration info. 20021212
4 Importing FIELD_LIST Call by reference Type reference (TYPE) HRPAD_FIELD_TAB Field List 20021212
5 Exporting IS_OK Call by reference Type reference (TYPE) BOOLE_D Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') 20021212
6 Importing LGART Call by reference Type reference (TYPE) P0221-LGA01 Wage type 20021212
7 Importing MESSAGE_HANDLER Call by reference Object reference (TYPE REF TO) IF_HRPA_MESSAGE_HANDLER HR Master Data: Messages 20021212
8 Importing OPKEN Call by reference Type reference (TYPE) P0221-OPK01 Operation Indicator for Wage Types 20021212
9 Importing P0221 Call by reference Type reference (TYPE) P0221 Start Date 20021212
10 Importing T511 Call by reference Type reference (TYPE) T511 Wage Types 20021212
11 Importing T512W Call by reference Type reference (TYPE) T512W Wage Type Valuation 20021212
12 Importing TAXAU Call by reference Type reference (TYPE) P0221-TAX01 Tax authority 20021212
13 Importing TXCMP Call by reference Type reference (TYPE) P0221-TCP01 Tax company 20021212
# Exception Resumable Description Created on
1 CX_HRPA_VIOLATED_ASSERTION HR: Stammdaten, unerfüllte Programmbedingung 20021213

Method GET_WAERS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing BEGDA Call by reference Type reference (TYPE) P0221-BEGDA Start Date 20021117
2 Importing PERNR Call by reference Type reference (TYPE) P0221-PERNR Standard Selections for HR Master Data Reporting 20021117
3 Importing TCLAS Call by reference Type reference (TYPE) TCLAS Transaction class for data storage 20021117
4 Returning WAERS Value transfer Type reference (TYPE) P0221-WAERS Currency Key 20021117
# Exception Resumable Description Created on
1 CX_HRPA_VIOLATED_ASSERTION HR: Stammdaten, unerfüllte Programmbedingung 20021213

Method P0000 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 20021104
2 Importing ENDDA Call by reference Type reference (TYPE) ENDDA End Date 20021104
3 Returning P0000 Value transfer Type reference (TYPE) P0000 20021104
4 Importing PERNR Call by reference Type reference (TYPE) PERNR_D Personnel Number 20021104
5 Importing TCLAS Call by reference Type reference (TYPE) TCLAS Transaction class for data storage 20021104
# Exception Resumable Description Created on
1 CX_HRPA_VIOLATED_ASSERTION HR: Stammdaten, unerfüllte Programmbedingung 20021213

Method SPECIFIC_COMPUTATIONS 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 (=' ') 20021106
2 Importing MESSAGE_HANDLER Call by reference Object reference (TYPE REF TO) IF_HRPA_MESSAGE_HANDLER HR Master Data: Messages 20021106
3 Changing P0221 Call by reference Type reference (TYPE) P0221 Manual checks 20021106
4 Importing PREF Call by reference Type reference (TYPE) PREF Assignment Values for HR Objects 20021116
5 Importing TCLAS Call by reference Type reference (TYPE) TCLAS Transaction class for data storage 20021106
# Exception Resumable Description Created on
1 CX_HRPA_VIOLATED_ASSERTION HR: Stammdaten, unerfüllte Programmbedingung 20021213
History
Last changed by/on SAP  20021212 
SAP Release Created in 200