SAP ABAP Class CL_HR_NL_JWN_UTIL (Utility class for the Employee's annual tax statement)
Hierarchy
SAP_HRCNL (Software Component) Sub component SAP_HRCNL of SAP_HR
   PY-NL-RP (Application Component) Reporting
     PC05 (Package) HR Payroll: Netherlands
Properties
Class CL_HR_NL_JWN_UTIL  
Short Description Utility class for the Employee's annual tax statement    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package PC05   HR Payroll: Netherlands 
Created 20080826   SAP 
Last change 20110809   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
# Type group / Object type Type Type Description
1 ABAP Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
2 PLGNL Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
Interfaces
Class CL_HR_NL_JWN_UTIL has no interface implemented.
Friends
Class CL_HR_NL_JWN_UTIL has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 C_ANART Constant Private Type reference (TYPE) ANART 'RP' Adressoort 20080826
2 C_APPL_OLD_ZVW_CALC Constant Private Type reference (TYPE) P_APPL 'JWOC' Subapplication 20100331
3 C_APPL_WEEKLY_ALH Constant Private Type reference (TYPE) P_APPL 'LA1W' Subapplication 20100331
4 C_BADI_NAME Constant Private Type reference (TYPE) EXIT_DEF 'HR_NL_JAAROPGAVE' Business-add-in-definitie 20080901
5 C_KENT_ARBKORT Constant Private Type reference (TYPE) P05T_KENTEKEN '0091' Wage Return: Indicator 20080826
6 C_KENT_BDRZVW Constant Private Type reference (TYPE) P05T_KENTEKEN '0185' Wage Return: Indicator 20080826
7 C_KENT_CORRZVW Constant Private Type reference (TYPE) P05T_KENTEKEN '0261' Wage Return: Indicator 20080826
8 C_KENT_INGLBPH Constant Private Type reference (TYPE) P05T_KENTEKEN '0080' Wage Return: Indicator 20080826
9 C_KENT_LLVKORT Constant Private Type reference (TYPE) P05T_KENTEKEN '0290' Wage Return: Indicator 20080826
10 C_KENT_LNLBPH Constant Private Type reference (TYPE) P05T_KENTEKEN '0001' Wage Return: Indicator 20080826
11 C_KENT_LOONZVW Constant Private Type reference (TYPE) P05T_KENTEKEN '0260' Wage Return: Indicator 20080826
12 C_KENT_ZVWWG Constant Private Type reference (TYPE) P05T_KENTEKEN '0186' Wage Return: Indicator 20080826
13 C_KENT_ZVW_LEVY Constant Private Type reference (TYPE) P05T_KENTEKEN '0780' Indicator: ZVW ER Levy 20121128
14 C_LA_CANCEL Constant Private Type reference (TYPE) P05T_STATUS '11' Wage Return: Return Status 20080826
15 C_LA_OK Constant Private Type reference (TYPE) P05T_STATUS '07' Wage Return: Return Status 20080826
16 C_LA_PRINTED Constant Private Type reference (TYPE) P05T_STATUS '13' Wage Return: Return Status 20080826
17 C_MAX_ZVW Constant Private Type reference (TYPE) ABRKN 'PLZVW' Afrekeningsconstante 20080901
18 C_MOLGA Constant Private Type reference (TYPE) MOLGA '05' Landindeling 20080826
19 C_RCLAS Constant Private Type reference (TYPE) RCLAS_HR 'CJWN' Class of the requesting report 20080826
20 C_RPCJWNN1 Static Attribute Private Type reference (TYPE) STRING 'RPCJWNN1' 20110201
21 C_WDUI_INVISIBLE Constant Public Type reference (TYPE) NUMC2 '01' Web Dynpro: Visibility 20080826
22 C_WDUI_VISIBLE Constant Public Type reference (TYPE) NUMC2 '02' Web Dynpro: Visibility 20080826
23 C_YEAR_2009 Constant Private Type reference (TYPE) PABRJ 2009 Payroll Year 20080826
24 C_YEAR_2011 Constant Private Type reference (TYPE) PABRJ 2011 Payroll Year 20100406
25 G_BEGDA Static Attribute Private Type reference (TYPE) BEGDA Geldigheidsbegin 20080826
26 G_CALLER Static Attribute Private Type reference (TYPE) CHAR10 Character Field Length = 10 20110201
27 G_ENDDA Static Attribute Private Type reference (TYPE) ENDDA Geldigheidseinde 20080826
28 G_IT_0001 Static Attribute Private Type reference (TYPE) P0001_TAB HR Master Record: Infotype 0001 (Org. Assignment) 20080826
29 G_IT_0002 Static Attribute Private Type reference (TYPE) P0002_TAB HR Master Record: Infotype 0002 (Personal Data) 20080826
30 G_IT_0006 Static Attribute Private Type reference (TYPE) P0006_TAB HR Master Record: Infotype 0006 (Addresses) 20080826
31 G_IT_0060 Static Attribute Private Type reference (TYPE) P05_P0060_TAB HR Master Record: Infotype 0060 (Fiscal Data) 20080826
32 G_PRINT_DATA Static Attribute Private Type reference (TYPE) P05_JAAR_WN_PRINT_STRUC_PDF Print structure for employee's annual emp. tax stmnt (PDF) 20080826
33 G_T_JWN_INDIC Static Attribute Private Type reference (TYPE) P05T_JWN_INDIC_TAB Annual Employee's Statement: Indicators to be displayed 20121128
34 G_T_SA Static Attribute Private Type reference (TYPE) P05T_SA_TABL Table of Special Indicators 20120206
35 G_T_T5N2T Static Attribute Private Type reference (TYPE) PLGNL_T_T5N2T_TAB 20080826
36 G_V_JWN_INDIC_YEAR Static Attribute Private Type reference (TYPE) P05T_LAFPJ Year of P05T_JWN_INDIC 20121128
Methods
# Method Level Visibility Method type Description Created on
1 BUFFER_JWN_INDIC Static method Private Method Buffers P05T_JWN_INDIC 20121128
2 BUFFER_T5N2T Static method Private Method Buffer table T5N2T 20080826
3 BUILD_T_LBTAB_ASSOC Static method Private Method Build table with associated lbtab 20110201
4 CHECK_FOR_CLOSED_YEARS Static method Private Method Check which year are already closed 20081113
5 CLEAR_GLOBAL_DATA Static method Public Method Clear global data 20080826
6 CREATE_ANNUAL_TAX_STATEMENT Static method Public Method Create annual tax statement 20080826
7 DETERMINE_ZVW_WAGE_CALC Static method Public Method Determine whether old or new ZVW wage calculation is used 20100331
8 FILTER_SPECA Static method Public Method Remove the specials indicators that are hidden in the custo 20120622
9 GET_ANNUAL_STATEMENTS Static method Public Method Get annual statments 20080826
10 GET_CALLER Static method Public Method Get the Caller (Backend / ESS) 20110201
11 GET_EMPLOYEE_ADDRESS Static method Private Method Get employee address 20080826
12 GET_JOWN_DAT Static method Private Method Get JOWN Date 20080826
13 GET_JUPER_ADDRESS Static method Private Method Get Juper address 20080826
14 GET_MAX_ZVW Static method Private Method Get max ZVW 20080901
15 GET_PDF_FORM Static method Public Method Get the correct pdf form 20080901
16 GET_PERMO Static method Private Method Get permo 20080826
17 GET_TAX_INFORMATION Static method Public Method Get tax information 20110201
18 GET_TAX_TABLES Static method Private Method Returns all tax tables relevant for a given juper / year /EE 20100201
19 INIT_PERNR Static method Public Method Initialize person specific data 20110201
20 NARROW_INDICATORS_SA Static method Public Method Narrow set of indicators printed on form 20120206
21 OVERWRITE_VALUES Static method Private Method User exit to overwrite values 20080901
22 READ_IT_0001 Static method Private Method Read infotype Organizational Assignment (0001) 20080826
23 READ_IT_0002 Static method Private Method Read infotype Personal Data (0002) 20080826
24 READ_IT_0006 Static method Private Method Read infotype Addresses (0006) 20080826
25 READ_IT_0060 Static method Private Method Read infotype Fiscal Data (0060) 20080826
26 READ_LA_TABLES Static method Private Method Read wage return tables 20080826
27 READ_SPECA_TEXT Static method Private Method Read speca text 20080826
28 SET_BEGDA_ENDDA Static method Private Method Set begin date and end date 20080826
29 SET_CALLER Static method Public Method Specify the Caller (Backend / ESS) 20110201
30 TRANSFORM_JUPER_TO_REPER Static method Private Method Transform Juper to Reper 20080826
Events
Class CL_HR_NL_JWN_UTIL has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 TY_SA Public See coding 20120622 TY_SA type TABLE OF SPAAN
Method Signatures

Method BUFFER_JWN_INDIC Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_JWN_INDIC Call by reference Type reference (TYPE) P05T_JWN_INDIC_TAB Annual Employee's Statement: Indicators to be displayed 20121128
2 Importing IV_YEAR Call by reference Type reference (TYPE) P05T_LAFPJ Year of the Annual Employees Statement 20121128

Method BUFFER_JWN_INDIC on class CL_HR_NL_JWN_UTIL has no exception.

Method BUFFER_T5N2T Signature

Method BUFFER_T5N2T on class CL_HR_NL_JWN_UTIL has no parameter.
Method BUFFER_T5N2T on class CL_HR_NL_JWN_UTIL has no exception.

Method BUILD_T_LBTAB_ASSOC Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EXP_T_IV_ADM_STAT Call by reference Type reference (TYPE) L_T_TY_IV_ADM_STAT 20110201
2 Exporting EXP_T_LBTAB Call by reference Type reference (TYPE) L_T_TY_LBTAB 20110201
3 Exporting EXP_T_LBTAB_ASSOC Call by reference Type reference (TYPE) L_T_TY_LBTAB_ASSOC 20110201
4 Importing IMP_JUPER Call by reference Type reference (TYPE) JUPER Legal Person 20110201
5 Importing IMP_PERNR Call by reference Type reference (TYPE) PERSNO Personnel number 20110201
6 Importing IMP_YEAR Call by reference Type reference (TYPE) P05_JAAR Year 20110201

Method BUILD_T_LBTAB_ASSOC on class CL_HR_NL_JWN_UTIL has no exception.

Method CHECK_FOR_CLOSED_YEARS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EXP_T_CLOSED_YEARS Call by reference Type reference (TYPE) P05T_T_LAFPJ Wage Return For-Period Year 20081113
2 Exporting EXP_T_MESSAGES Call by reference Type reference (TYPE) HRPAY99_MSG Message - Info TTYP 20081113
3 Importing IMP_JUPER Call by reference Type reference (TYPE) JUPER Legal Person 20081113
4 Importing IMP_PERNR Call by reference Type reference (TYPE) PERSNO Personnel number 20081113
5 Importing IMP_YEAR Call by reference Type reference (TYPE) P05_JAAR Year 20081113

Method CHECK_FOR_CLOSED_YEARS on class CL_HR_NL_JWN_UTIL has no exception.

Method CLEAR_GLOBAL_DATA Signature

Method CLEAR_GLOBAL_DATA on class CL_HR_NL_JWN_UTIL has no parameter.
Method CLEAR_GLOBAL_DATA on class CL_HR_NL_JWN_UTIL has no exception.

Method CREATE_ANNUAL_TAX_STATEMENT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EXP_PRINT_DATA Call by reference Type reference (TYPE) P05_JAAR_WN_PRINT_STRUC_PDF Print structure for employee's annual emp. tax stmnt (PDF) 20080826
2 Exporting EXP_T_MESSAGES Call by reference Type reference (TYPE) HRPAY99_MSG Message - Info TTYP 20081111
3 Importing IMP_JUPER Call by reference Type reference (TYPE) JUPER Legal Person 20080826
4 Importing IMP_LANGU Call by reference Type reference (TYPE) XFELD ABAP_FALSE 'X' if form must be displayed according to com-language 20121128
5 Importing IMP_LBTAB Call by reference Type reference (TYPE) P05T_LBTAB Wage Return: Employment Tax Table Code 20100201
6 Importing IMP_PERNR Call by reference Type reference (TYPE) PERSNO Personnel number 20080826
7 Importing IMP_YEAR Call by reference Type reference (TYPE) P05_JAAR Year 20080826

Method CREATE_ANNUAL_TAX_STATEMENT on class CL_HR_NL_JWN_UTIL has no exception.

Method DETERMINE_ZVW_WAGE_CALC Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EXP_USE_OLD_CALCULATION Call by reference Type reference (TYPE) XFELD Flag for old/new ZVW wage calculation 20100331
2 Importing IMP_YEAR Call by reference Type reference (TYPE) P05_JAAR Year 20100331

Method DETERMINE_ZVW_WAGE_CALC on class CL_HR_NL_JWN_UTIL has no exception.

Method FILTER_SPECA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_SA Call by reference Type reference (TYPE) TY_SA Table of Special Indicators 20120622

Method FILTER_SPECA on class CL_HR_NL_JWN_UTIL has no exception.

Method GET_ANNUAL_STATEMENTS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EXP_T_ANNUAL_STATEMENTS Call by reference Type reference (TYPE) PC05_JWN_ESS_DATA_STRUC_TAB Annual statements 20080826
2 Exporting EXP_T_MESSAGES Call by reference Type reference (TYPE) HRPAY99_MSG Message - Info TTYP 20081111
3 Importing IMP_CURR_YEAR Call by reference Type reference (TYPE) P05T_LAFPJ Loonaangifte voor-periode jaar 20080826
4 Importing IMP_PERNR Call by reference Type reference (TYPE) PERSNO Personeelsnummer 20080826

Method GET_ANNUAL_STATEMENTS on class CL_HR_NL_JWN_UTIL has no exception.

Method GET_CALLER Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EXP_NAME Call by reference Type reference (TYPE) CHAR10 Name of the Caller 20110201

Method GET_CALLER on class CL_HR_NL_JWN_UTIL has no exception.

Method GET_EMPLOYEE_ADDRESS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EXP_T_MESSAGES Call by reference Type reference (TYPE) HRPAY99_MSG Message - Info TTYP 20081111
2 Importing IMP_LANGU Call by reference Type reference (TYPE) XFELD 'X' if form should be displayed in employee's language 20121128
3 Importing IMP_PERNR Call by reference Type reference (TYPE) PERSNO Personnel number 20080826

Method GET_EMPLOYEE_ADDRESS on class CL_HR_NL_JWN_UTIL has no exception.

Method GET_JOWN_DAT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EXP_BEGPER Call by reference Type reference (TYPE) P05_JOWNDAT Date of employee's annual employment tax statement 20080826
2 Importing IMP_DATE Call by reference Type reference (TYPE) DATUM Date 20080826

Method GET_JOWN_DAT on class CL_HR_NL_JWN_UTIL has no exception.

Method GET_JUPER_ADDRESS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EXP_T_MESSAGES Call by reference Type reference (TYPE) HRPAY99_MSG Message - Info TTYP 20081111
2 Importing IMP_JUPER Call by reference Type reference (TYPE) JUPER Legal Person 20080826
3 Importing IMP_PERNR Call by reference Type reference (TYPE) PERSNO Personeelsnummer 20080826

Method GET_JUPER_ADDRESS on class CL_HR_NL_JWN_UTIL has no exception.

Method GET_MAX_ZVW Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EXP_T_MESSAGES Call by reference Type reference (TYPE) HRPAY99_MSG Message - Info TTYP 20081111

Method GET_MAX_ZVW on class CL_HR_NL_JWN_UTIL has no exception.

Method GET_PDF_FORM Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EXP_PDF_FORM_NAME Call by reference Type reference (TYPE) STRING PDF Form name 20080901
2 Importing IMP_BEGDA Call by reference Type reference (TYPE) BEGDA Start Date 20080901
3 Importing IMP_ENDDA Call by reference Type reference (TYPE) ENDDA End Date 20080901

Method GET_PDF_FORM on class CL_HR_NL_JWN_UTIL has no exception.

Method GET_PERMO Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EXP_PERMO Call by reference Type reference (TYPE) PERMO Period Parameters 20080826
2 Exporting EXP_T_MESSAGES Call by reference Type reference (TYPE) HRPAY99_MSG Message - Info TTYP 20081111
3 Importing IMP_JUPER Call by reference Type reference (TYPE) JUPER Legal Person 20080826
4 Importing IMP_YEAR Call by reference Type reference (TYPE) P05_JAAR Year 20080826

Method GET_PERMO on class CL_HR_NL_JWN_UTIL has no exception.

Method GET_TAX_INFORMATION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EXP_T_MESSAGES Call by reference Type reference (TYPE) HRPAY99_MSG Message - Info TTYP 20110201
2 Exporting EXP_T_TAX_INFO Call by reference Type reference (TYPE) PC05_JWN_ESS_DATA_STRUC_TAB 20110201
3 Importing IMP_PERNR Call by reference Type reference (TYPE) PERSNO Personnel number 20110201
4 Importing IMP_YEAR Call by reference Type reference (TYPE) P05_JAAR Year 20110201

Method GET_TAX_INFORMATION on class CL_HR_NL_JWN_UTIL has no exception.

Method GET_TAX_TABLES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CH_T_ANNUAL_STATEMENTS Call by reference Type reference (TYPE) PC05_JWN_ESS_DATA_STRUC_TAB Table Type for Annual Statement ESS Data Structure 20100201
2 Importing IM_PERNR Call by reference Type reference (TYPE) PERSNO Personnel number 20100201

Method GET_TAX_TABLES on class CL_HR_NL_JWN_UTIL has no exception.

Method INIT_PERNR Signature

Method INIT_PERNR on class CL_HR_NL_JWN_UTIL has no parameter.
Method INIT_PERNR on class CL_HR_NL_JWN_UTIL has no exception.

Method NARROW_INDICATORS_SA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_SA Call by reference Type reference (TYPE) P05T_SA_TABL Table of Special Indicators 20120206

Method NARROW_INDICATORS_SA on class CL_HR_NL_JWN_UTIL has no exception.

Method OVERWRITE_VALUES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IMP_PERNR Call by reference Type reference (TYPE) PERSNO Personeelsnummer 20080901

Method OVERWRITE_VALUES on class CL_HR_NL_JWN_UTIL has no exception.

Method READ_IT_0001 Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EXP_T_MESSAGES Call by reference Type reference (TYPE) HRPAY99_MSG Message - Info TTYP 20081111
2 Importing IMP_PERNR Call by reference Type reference (TYPE) PERSNO Personnel number 20080826

Method READ_IT_0001 on class CL_HR_NL_JWN_UTIL has no exception.

Method READ_IT_0002 Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EXP_T_MESSAGES Call by reference Type reference (TYPE) HRPAY99_MSG Message - Info TTYP 20081111
2 Importing IMP_PERNR Call by reference Type reference (TYPE) PERSNO Personnel number 20080826

Method READ_IT_0002 on class CL_HR_NL_JWN_UTIL has no exception.

Method READ_IT_0006 Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EXP_T_MESSAGES Call by reference Type reference (TYPE) HRPAY99_MSG Message - Info TTYP 20081111
2 Importing IMP_PERNR Call by reference Type reference (TYPE) PERSNO Personnel number 20080826

Method READ_IT_0006 on class CL_HR_NL_JWN_UTIL has no exception.

Method READ_IT_0060 Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EXP_T_MESSAGES Call by reference Type reference (TYPE) HRPAY99_MSG Message - Info TTYP 20081111
2 Importing IMP_PERNR Call by reference Type reference (TYPE) PERSNO Personnel number 20080826

Method READ_IT_0060 on class CL_HR_NL_JWN_UTIL has no exception.

Method READ_LA_TABLES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EXP_T_MESSAGES Call by reference Type reference (TYPE) HRPAY99_MSG Message - Info TTYP 20081111
2 Importing IMP_JUPER Call by reference Type reference (TYPE) JUPER Legal Person 20080826
3 Importing IMP_LBTAB Call by reference Type reference (TYPE) P05T_LBTAB Wage Return: Employment Tax Table Code 20100201
4 Importing IMP_PERNR Call by reference Type reference (TYPE) PERSNO Personnel number 20080826
5 Importing IMP_YEAR Call by reference Type reference (TYPE) P05_JAAR Year 20080826

Method READ_LA_TABLES on class CL_HR_NL_JWN_UTIL has no exception.

Method READ_SPECA_TEXT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EXP_SPECA_TEXT Call by reference Type reference (TYPE) P05T_SATXT Wage Return: Special Indicator Tag Name 20080826
2 Importing IMP_SPECA Call by reference Type reference (TYPE) SPAAN Special Indicator 20080826

Method READ_SPECA_TEXT on class CL_HR_NL_JWN_UTIL has no exception.

Method SET_BEGDA_ENDDA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IMP_YEAR Call by reference Type reference (TYPE) P05_JAAR Year 20080826

Method SET_BEGDA_ENDDA on class CL_HR_NL_JWN_UTIL has no exception.

Method SET_CALLER Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IMP_NAME Call by reference Type reference (TYPE) CHAR10 Name of the Caller 20110201

Method SET_CALLER on class CL_HR_NL_JWN_UTIL has no exception.

Method TRANSFORM_JUPER_TO_REPER Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EXP_REPER Call by reference Type reference (TYPE) P05_REPER Representing Legal Person 20080826
2 Importing IMP_JUPER Call by reference Type reference (TYPE) JUPER Legal Person 20080826

Method TRANSFORM_JUPER_TO_REPER on class CL_HR_NL_JWN_UTIL has no exception.
History
Last changed by/on SAP  20110809 
SAP Release Created in 600