SAP ABAP Class CL_HRPA_INFOTYPE_0146 (Business Logic for P0146)
Hierarchy
EA-HRCJP (Software Component) Sub component EA-HRCJP of EA-HR
   PA-PA-JP (Application Component) Japan
     PAOC_PAD_JP (Package) PA-JP: New infotype frame work
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 20021018
Properties
Class CL_HRPA_INFOTYPE_0146  
Short Description Business Logic for P0146    
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_JP   PA-JP: New infotype frame work 
Created 20021018   SAP 
Last change 00000000   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
Class CL_HRPA_INFOTYPE_0146 has no forward declaration.
Interfaces
Class CL_HRPA_INFOTYPE_0146 has no interface implemented.
Friends
Class CL_HRPA_INFOTYPE_0146 has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 NUMBER_OF_REPEATS_LIFE Constant Private Type reference (TYPE) I 15 number of repeat structure for life insurance 20021106
2 NUMBER_OF_REPEATS_LONG_ACCI Constant Private Type reference (TYPE) I 5 number of repeat structure for accident insurance 20021106
3 NUMBER_OF_REPEATS_PENSION Constant Private Type reference (TYPE) I 5 number of repeat structure for pension insurance 20021106
4 NUMBER_OF_REPEATS_SHORT_ACCI Constant Private Type reference (TYPE) I 5 number of repeat structure for accident insurance 20021106
5 NUMBER_OF_REPEATS_WAGETYPE Constant Private Type reference (TYPE) I 20 number of repeat structure for wagetype 20021106
6 YEAID_LIFE Constant Private Type reference (TYPE) T5J40-YEAID 2 Indicator for Y.E.A. tax deduction 20021106
7 YEAID_LONG_ACCIDENT Constant Private Type reference (TYPE) T5J40-YEAID 4 Indicator for Y.E.A. tax deduction 20021106
8 YEAID_PENSION Constant Private Type reference (TYPE) T5J40-YEAID 2 Indicator for Y.E.A. tax deduction 20021106
9 YEAID_SHORT_ACCIDENT Constant Private Type reference (TYPE) T5J40-YEAID 3 Indicator for Y.E.A. tax deduction 20021106
10 YEAID_SPOUSE Constant Private Type reference (TYPE) T5J40-YEAID 6 Indicator for Y.E.A. tax deduction 20021106
Methods
# Method Level Visibility Method type Description Created on
1 CHECK_AQUDT_ENDDA Instance method Private Method check p0146-aqudt, p0146-endda 20021029
2 CHECK_AQUDT_HSDED Instance method Private Method check p0146-aqudt, p0146-hsded 20021029
3 CHECK_IFWOD_SHORT_ACCI Instance method Private Method Check amount of short term insurance 20070123
4 CHECK_INSCC_INSCT Instance method Private Method Check inscc and insct 20021024
5 CHECK_INSCC_INSCT_LIFE Instance method Private Method Check Insurance company & contract type (Life insurance) 20021024
6 CHECK_INSCC_INSCT_LONG_ACCI Instance method Private Method Check Insurance company & contract type (Accident insurance) 20021029
7 CHECK_INSCC_INSCT_PENSION Instance method Private Method Check Insurance company & contract type (Pension insurance) 20021024
8 CHECK_INSCC_INSCT_SHORT_ACCI Instance method Private Method Check Insurance company & contract type (Accident insurance) 20021029
9 CHECK_INSTY_INSCC Instance method Private Method Check combination of Insurance company type, company code 20021024
10 CHECK_INSTY_INSCT Instance method Private Method Check combination of Insurance company type, contract type 20021024
11 CHECK_SPIID Instance method Private Method check if dependent spouse exists 20021029
12 CHECK_SPIID_SPINC Instance method Private Method Check P0146-SPIID, P0146-SPINC 20021029
13 GET_FEATURE_VALUE_22YEA Instance method Private Method get value of feature 22YEA 20021022
14 GET_SUM_IFWOD Instance method Private Method set Total of annual fee of common insurances in YEA 20021024
15 GET_TAX_CAL_AMT_LIFE Instance method Private Method get tax total amount of insurance 20060605
16 GET_TAX_CAL_AMT_LONG_ACCI Instance method Private Method get tax total amount of insurance 20060605
17 GET_TAX_CAL_AMT_PENSION Instance method Private Method get tax total amount of insurance 20060605
18 GET_TAX_CAL_AMT_SHORT_ACCI Instance method Private Method get tax total amount of insurance 20060605
19 SET_DEFAULT_BEGDA_ENDDA Instance method Private Method set default P0146-BEGDA, P0146-ENDDA 20021018
20 SET_DEFAULT_LGART Instance method Private Method set default wagetype according to feature 22YEA 20021018
21 SET_PME04_FOR_FEATURE_22YEA Instance method Private Method set value into structure PME04 for feature 22YEA 20021022
22 SPECIFIC_COMPUTATIONS Instance method Private Method Infotype-Specific Logic on Modify / Insert 20021018
Events
Class CL_HRPA_INFOTYPE_0146 has no event.
Types
Class CL_HRPA_INFOTYPE_0146 has no local type.
Method Signatures

Method CHECK_AQUDT_ENDDA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing AQUDT Call by reference Type reference (TYPE) P0146-AQUDT Start date of living in a newly aquired house 20021029
2 Importing ENDDA Call by reference Type reference (TYPE) P0146-ENDDA End Date 20021029
3 Changing IS_OK Call by reference Type reference (TYPE) BOOLE_D Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') 20021029
4 Importing MESSAGE_HANDLER Call by reference Object reference (TYPE REF TO) IF_HRPA_MESSAGE_HANDLER HR Master Data: Messages 20021029
# Exception Resumable Description Created on
1 CX_HRPA_VIOLATED_ASSERTION HR: Stammdaten, unerfüllte Programmbedingung 20021029

Method CHECK_AQUDT_HSDED Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing AQUDT Call by reference Type reference (TYPE) P0146-AQUDT Start date of living in a newly aquired house 20021029
2 Importing HSDED Call by reference Type reference (TYPE) P0146-HSDED The special deduction amount for housing 20021029
3 Changing IS_OK Call by reference Type reference (TYPE) BOOLE_D Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') 20021029
4 Importing MESSAGE_HANDLER Call by reference Object reference (TYPE REF TO) IF_HRPA_MESSAGE_HANDLER HR Master Data: Messages 20021029
# Exception Resumable Description Created on
1 CX_HRPA_VIOLATED_ASSERTION HR: Stammdaten, unerfüllte Programmbedingung 20021029

Method CHECK_IFWOD_SHORT_ACCI Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing FIELD_HEADER_INSNF Call by reference Type reference (TYPE) FIELDNAME Field Name 20070123
2 Changing IS_OK Call by reference Type reference (TYPE) BOOLE_D Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') 20070123
3 Importing MESSAGE_HANDLER Call by reference Object reference (TYPE REF TO) IF_HRPA_MESSAGE_HANDLER HR Master Data: Messages 20070123
4 Importing NUMBER_OF_REPEATS Call by reference Type reference (TYPE) I 20070123
5 Importing P0146 Call by reference Type reference (TYPE) P0146 HR Master Record: Infotype 0146 (Y.E.A. Data JP) 20070123

Method CHECK_IFWOD_SHORT_ACCI on class CL_HRPA_INFOTYPE_0146 has no exception.

Method CHECK_INSCC_INSCT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing FIELD_HEADER_INSCC Call by reference Type reference (TYPE) FIELDNAME Field Name 20021024
2 Importing FIELD_HEADER_INSCT Call by reference Type reference (TYPE) FIELDNAME Field Name 20021024
3 Changing IS_OK Call by reference Type reference (TYPE) BOOLE_D Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') 20021024
4 Importing LOCAL_INSTY Call by reference Type reference (TYPE) TY_LOCAL_INSTY 20021024
5 Importing MESSAGE_HANDLER Call by reference Object reference (TYPE REF TO) IF_HRPA_MESSAGE_HANDLER HR Master Data: Messages 20021024
6 Importing NUMBER_OF_REPEATS Call by reference Type reference (TYPE) I 20021024
7 Importing P0146 Call by reference Type reference (TYPE) P0146 HR Master Record: Infotype 0146 (Y.E.A. Data JP) 20021024
# Exception Resumable Description Created on
1 CX_HRPA_VIOLATED_ASSERTION HR: Stammdaten, unerfüllte Programmbedingung 20021024

Method CHECK_INSCC_INSCT_LIFE 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 (=' ') 20021024
2 Importing MESSAGE_HANDLER Call by reference Object reference (TYPE REF TO) IF_HRPA_MESSAGE_HANDLER HR Master Data: Messages 20021024
3 Importing P0146 Call by reference Type reference (TYPE) P0146 HR Master Record: Infotype 0146 (Y.E.A. Data JP) 20021024
# Exception Resumable Description Created on
1 CX_HRPA_VIOLATED_ASSERTION HR: Stammdaten, unerfüllte Programmbedingung 20021024

Method CHECK_INSCC_INSCT_LONG_ACCI 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 (=' ') 20021029
2 Importing MESSAGE_HANDLER Call by reference Object reference (TYPE REF TO) IF_HRPA_MESSAGE_HANDLER HR Master Data: Messages 20021029
3 Importing P0146 Call by reference Type reference (TYPE) P0146 HR Master Record: Infotype 0146 (Y.E.A. Data JP) 20021029
# Exception Resumable Description Created on
1 CX_HRPA_VIOLATED_ASSERTION HR: Stammdaten, unerfüllte Programmbedingung 20021029

Method CHECK_INSCC_INSCT_PENSION 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 (=' ') 20021024
2 Importing MESSAGE_HANDLER Call by reference Object reference (TYPE REF TO) IF_HRPA_MESSAGE_HANDLER HR Master Data: Messages 20021024
3 Importing P0146 Call by reference Type reference (TYPE) P0146 HR Master Record: Infotype 0146 (Y.E.A. Data JP) 20021024
# Exception Resumable Description Created on
1 CX_HRPA_VIOLATED_ASSERTION HR: Stammdaten, unerfüllte Programmbedingung 20021024

Method CHECK_INSCC_INSCT_SHORT_ACCI 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 (=' ') 20021029
2 Importing MESSAGE_HANDLER Call by reference Object reference (TYPE REF TO) IF_HRPA_MESSAGE_HANDLER HR Master Data: Messages 20021029
3 Importing P0146 Call by reference Type reference (TYPE) P0146 HR Master Record: Infotype 0146 (Y.E.A. Data JP) 20021029
# Exception Resumable Description Created on
1 CX_HRPA_VIOLATED_ASSERTION HR: Stammdaten, unerfüllte Programmbedingung 20021029

Method CHECK_INSTY_INSCC Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing FIELD_NAME Call by reference Type reference (TYPE) FIELDNAME Field Name 20021024
2 Importing INSCC Call by reference Type reference (TYPE) P22J_INSCC Insurance company code 20021024
3 Importing INSTY Call by reference Type reference (TYPE) P22J_INSTY Insurance company type 20021024
4 Changing IS_OK Call by reference Type reference (TYPE) BOOLE_D Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') 20021024
5 Importing MESSAGE_HANDLER Call by reference Object reference (TYPE REF TO) IF_HRPA_MESSAGE_HANDLER HR Master Data: Messages 20021024
# Exception Resumable Description Created on
1 CX_HRPA_VIOLATED_ASSERTION HR: Stammdaten, unerfüllte Programmbedingung 20021024

Method CHECK_INSTY_INSCT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing FIELD_NAME Call by reference Type reference (TYPE) FIELDNAME Field Name 20021024
2 Importing INSCT Call by reference Type reference (TYPE) P22J_INSCT Insurance Contract Type 20021024
3 Importing INSTY Call by reference Type reference (TYPE) P22J_INSTY Insurance company type 20021024
4 Changing IS_OK Call by reference Type reference (TYPE) BOOLE_D Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') 20021024
5 Importing MESSAGE_HANDLER Call by reference Object reference (TYPE REF TO) IF_HRPA_MESSAGE_HANDLER HR Master Data: Messages 20021024
# Exception Resumable Description Created on
1 CX_HRPA_VIOLATED_ASSERTION HR: Stammdaten, unerfüllte Programmbedingung 20021024

Method CHECK_SPIID Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing BEGDA Call by reference Type reference (TYPE) P0146-BEGDA Start Date 20021029
2 Importing ENDDA Call by reference Type reference (TYPE) P0146-ENDDA End Date 20021029
3 Changing IS_OK Call by reference Type reference (TYPE) BOOLE_D Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') 20021029
4 Importing MESSAGE_HANDLER Call by reference Object reference (TYPE REF TO) IF_HRPA_MESSAGE_HANDLER HR Master Data: Messages 20021029
5 Importing PERNR Call by reference Type reference (TYPE) P0146-PERNR Personnel Number 20021029
6 Importing SPIID Call by reference Type reference (TYPE) P0146-SPIID The indicator of application for the spouse's income in YEA 20021029
# Exception Resumable Description Created on
1 CX_HRPA_VIOLATED_ASSERTION HR: Stammdaten, unerfüllte Programmbedingung 20021029

Method CHECK_SPIID_SPINC 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 (=' ') 20021029
2 Importing MESSAGE_HANDLER Call by reference Object reference (TYPE REF TO) IF_HRPA_MESSAGE_HANDLER HR Master Data: Messages 20021029
3 Importing SPIID Call by reference Type reference (TYPE) P22J_SPIID The indicator of application for the spouse's income in YEA 20021029
4 Importing SPINC Call by reference Type reference (TYPE) P22J_SPINC The spouse's income for YEA 20021029
# Exception Resumable Description Created on
1 CX_HRPA_VIOLATED_ASSERTION HR: Stammdaten, unerfüllte Programmbedingung 20021029

Method GET_FEATURE_VALUE_22YEA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing BEGDA Call by reference Type reference (TYPE) P0146-BEGDA Start Date 20021022
2 Returning LGMUS Value transfer Type reference (TYPE) T511M-LGMUS Wage type model 20021022
3 Importing MASSN Call by reference Type reference (TYPE) MASSN Action Type 20021022
4 Importing PERNR Call by reference Type reference (TYPE) P0146-PERNR Personnel Number 20021022
5 Importing TCLAS Call by reference Type reference (TYPE) TCLAS Transaction class for data storage 20021022
# Exception Resumable Description Created on
1 CX_HRPA_VIOLATED_ASSERTION HR: Stammdaten, unerfüllte Programmbedingung 20021022

Method GET_SUM_IFWOD Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing FIELD_HEADER_IFWOD Call by reference Type reference (TYPE) FIELDNAME Header of field name 20021024
2 Importing NUMBER_OF_REPEATS Call by reference Type reference (TYPE) I 20021024
3 Importing P0146 Call by reference Type reference (TYPE) P0146 HR Master Record: Infotype 0146 (Y.E.A. Data JP) 20021024
4 Returning SUM_IFWOD Value transfer Type reference (TYPE) P22J_CLTOT HR Master Record: Infotype 0146 (Y.E.A. Data JP) 20021024

Method GET_SUM_IFWOD on class CL_HRPA_INFOTYPE_0146 has no exception.

Method GET_TAX_CAL_AMT_LIFE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CAL_BASE_AMOUNT Call by reference Type reference (TYPE) P22J_CLTOT Total of annual fee of common life insurances in YEA 20060605
2 Changing IS_OK Call by reference Type reference (TYPE) BOOLE_D Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') 20060605
3 Importing P0146 Call by reference Type reference (TYPE) P0146 HR Master Record: Infotype 0146 (Y.E.A. Data JP) 20060605
# Exception Resumable Description Created on
1 CX_HRPA_VIOLATED_ASSERTION HR: Stammdaten, unerfüllte Programmbedingung 20060605

Method GET_TAX_CAL_AMT_LONG_ACCI Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CAL_BASE_AMOUNT Call by reference Type reference (TYPE) P22J_CLTOT Total of annual fee of common life insurances in YEA 20060605
2 Changing IS_OK Call by reference Type reference (TYPE) BOOLE_D Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') 20060605
3 Importing P0146 Call by reference Type reference (TYPE) P0146 HR Master Record: Infotype 0146 (Y.E.A. Data JP) 20060605
# Exception Resumable Description Created on
1 CX_HRPA_VIOLATED_ASSERTION HR: Stammdaten, unerfüllte Programmbedingung 20060605

Method GET_TAX_CAL_AMT_PENSION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CAL_BASE_AMOUNT Call by reference Type reference (TYPE) P22J_CLTOT Total of annual fee of common life insurances in YEA 20060605
2 Changing IS_OK Call by reference Type reference (TYPE) BOOLE_D Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') 20060605
3 Importing P0146 Call by reference Type reference (TYPE) P0146 HR Master Record: Infotype 0146 (Y.E.A. Data JP) 20060605
# Exception Resumable Description Created on
1 CX_HRPA_VIOLATED_ASSERTION HR: Stammdaten, unerfüllte Programmbedingung 20060605

Method GET_TAX_CAL_AMT_SHORT_ACCI Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CAL_BASE_AMOUNT Call by reference Type reference (TYPE) P22J_CLTOT Total of annual fee of common life insurances in YEA 20060605
2 Changing IS_OK Call by reference Type reference (TYPE) BOOLE_D Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') 20060605
3 Importing P0146 Call by reference Type reference (TYPE) P0146 HR Master Record: Infotype 0146 (Y.E.A. Data JP) 20060605
# Exception Resumable Description Created on
1 CX_HRPA_VIOLATED_ASSERTION HR: Stammdaten, unerfüllte Programmbedingung 20060605

Method SET_DEFAULT_BEGDA_ENDDA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing BEGDA Call by reference Type reference (TYPE) P0146-BEGDA Start Date 20021018
2 Changing ENDDA Call by reference Type reference (TYPE) P0146-ENDDA End Date 20021018

Method SET_DEFAULT_BEGDA_ENDDA on class CL_HRPA_INFOTYPE_0146 has no exception.

Method SET_DEFAULT_LGART 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 (=' ') 20021018
2 Importing MASSN Call by reference Type reference (TYPE) MASSN Action Type 20021022
3 Changing P0146 Call by reference Type reference (TYPE) P0146 HR Master Record: Infotype 0146 (Y.E.A. Data JP) 20021018
4 Importing TCLAS Call by reference Type reference (TYPE) TCLAS Transaction class for data storage 20021022
# Exception Resumable Description Created on
1 CX_HRPA_INVALID_CUSTOMIZATION HR: Stammdaten, unerfüllte Programmbedingung 20021121

Method SET_PME04_FOR_FEATURE_22YEA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing BEGDA Call by reference Type reference (TYPE) P0146-BEGDA Start Date 20021022
2 Importing MASSN Call by reference Type reference (TYPE) MASSN Action Type 20021022
3 Importing PERNR Call by reference Type reference (TYPE) P0146-PERNR HR Master Record: Infotype 0146 (Y.E.A. Data JP) 20021022
4 Returning PME04 Value transfer Type reference (TYPE) PME04 Field String for Feature - Screen Control 20021022
5 Importing TCLAS Call by reference Type reference (TYPE) TCLAS Transaction class for data storage 20021022
# Exception Resumable Description Created on
1 CX_HRPA_VIOLATED_ASSERTION HR: Stammdaten, unerfüllte Programmbedingung 20021022

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 (=' ') 20021018
2 Importing MESSAGE_HANDLER Call by reference Object reference (TYPE REF TO) IF_HRPA_MESSAGE_HANDLER HR Master Data: Messages 20021018
3 Changing P0146 Call by reference Type reference (TYPE) P0146 HR Master Record: Infotype 0146 (Y.E.A. Data JP) 20021018
# Exception Resumable Description Created on
1 CX_HRPA_VIOLATED_ASSERTION HR: Stammdaten, unerfüllte Programmbedingung 20021018
History
Last changed by/on SAP  00000000 
SAP Release Created in 200