SAP ABAP Class CL_HR_NL_WCR_YEAR_DATA (CL_HR_NL_WCR_YEAR_DATA)
Hierarchy
SAP_HRCNL (Software Component) Sub component SAP_HRCNL of SAP_HR
   PY-NL-RP (Application Component) Reporting
     P05T (Package) HR Payroll: The Netherlands
Meta Relationship - Used By
# Relationship type Used by Short Description Created on
1 Inheritance (c INHERITING FROM c_ref)  CL_HR_NL_WCR_YEAR_DATA_METH1 20120416
2 Inheritance (c INHERITING FROM c_ref)  CL_HR_NL_WCR_YEAR_DATA_METH3 20120416
Properties
Class CL_HR_NL_WCR_YEAR_DATA  
Short Description    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package P05T   HR Payroll: The Netherlands 
Created 20120222   SAP 
Last change 20130531   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
Class CL_HR_NL_WCR_YEAR_DATA has no forward declaration.
Interfaces
Class CL_HR_NL_WCR_YEAR_DATA has no interface implemented.
Friends
Class CL_HR_NL_WCR_YEAR_DATA has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 MC_ALLOWANCES_MANUAL Constant Public Type reference (TYPE) P05T_KENT '9903' Wage Return: Indicator 20120416
2 MC_ALLOWANCES_PY Constant Public Type reference (TYPE) P05T_KENT '9901' Wage Return: Indicator 20120416
3 MC_AUTH_READ Constant Public Type reference (TYPE) ACTIV_AUTH '33' Activity 20120416
4 MC_AUTH_WRITE Constant Public Type reference (TYPE) ACTIV_AUTH '34' Activity 20120416
5 MC_B2A_SS_LAEX Constant Public Type reference (TYPE) PC_B2A_SUBST '00' Substatus of B2A Document 20120416
6 MC_B2A_S_ERR Constant Public Type reference (TYPE) PC_B2A_STATUS '11' Status of B2A Document 20120416
7 MC_EARNINGS_CURRENT_YEAR Constant Public Type reference (TYPE) P05T_KENT '9902' Wage Return: Indicator 20120416
8 MC_EARNINGS_PY Constant Public Type reference (TYPE) P05T_KENT '9900' Wage Return: Indicator 20120416
9 MC_FINAL_LEVY Constant Public Type reference (TYPE) ABRKN 'WCRFL' Payroll constant 20120416
10 MC_FREE_SPACE Constant Public Type reference (TYPE) ABRKN 'WCRFS' Payroll constant 20120416
11 MC_K_FINAL_LEVY Constant Public Type reference (TYPE) P05T_KENT '0512' Final Levy 20120416
12 MC_K_FINAL_SETTLEMENT Constant Public Type reference (TYPE) P05T_KENT '0513' Final Settlement 20120416
13 MT_ALLOWANCES_ALL Instance attribute Protected Type reference (TYPE) P05T_T_WCR_RESULT Work Costs (ALL) 20120416
14 MT_ALLOWANCES_MANUAL Instance attribute Protected Type reference (TYPE) P05T_T_WCR_RESULT Work Costs (Manually Entered) 20120416
15 MT_ALLOWANCES_PY Instance attribute Protected Type reference (TYPE) P05T_T_WCR_RESULT Work Costs (Payroll) 20120416
16 MT_EARNINGS_ALL Instance attribute Protected Type reference (TYPE) P05T_T_WCR_RESULT Earnings (ALL) 20120416
17 MT_EARNINGS_MAN Instance attribute Protected Type reference (TYPE) P05T_T_WCR_RESULT Earnings (Manual) 20120416
18 MT_EARNINGS_PY Instance attribute Protected Type reference (TYPE) P05T_T_WCR_RESULT Earnings (Payroll) 20120416
19 MT_EMPLOYER Instance attribute Protected Type reference (TYPE) P05T_T_WCR_EMPLOYER_MAP Legal Persons mapped to Employer and For-Period 20120416
20 MT_ER_DATA Instance attribute Protected Type reference (TYPE) P05T_T_WCR_ER_DATA WCR Data on Employer Level 20120416
21 MT_ER_INFO Instance attribute Protected Type reference (TYPE) P05T_T_WCR_ER_INFO WCR Info on Employer Level 20120416
22 MT_FINAL_LEVY Instance attribute Protected Type reference (TYPE) P05T_T_WCR_RESULT Final Levy 20120416
23 MT_FINAL_LEVY_BASIS Instance attribute Protected Type reference (TYPE) P05T_T_WCR_RESULT Final Levy Basis 20120416
24 MT_FL Instance attribute Protected Type reference (TYPE) P05T_T_WCR_FL WCR: Final Levy and Final Settlement 20120416
25 MT_FREE_SPACE Instance attribute Protected Type reference (TYPE) P05T_T_WCR_RESULT Free Space 20120416
26 MT_LOCKS Static Attribute Private Type reference (TYPE) MTY_T_LOCK_OBJECT Locked data 20120416
27 MT_STAT Instance attribute Protected Type reference (TYPE) P05T_T_WCR_STAT WCR Status 20120416
28 MV_FORYEAR Instance attribute Protected Type reference (TYPE) P05T_WCR_FPY WCR For-Period Year 20120416
29 MV_INPERIOD Instance attribute Protected Type reference (TYPE) P05T_WCR_IPP WCR In-Period 20120416
30 MV_INYEAR Instance attribute Protected Type reference (TYPE) P05T_WCR_IPY WCR In-Period Year 20120416
31 MV_IS_CHANGEABLE Instance attribute Private Type reference (TYPE) BOOLE_D Data is changeable regarding Process 20120416
32 MV_IS_LOCKED Instance attribute Private Type reference (TYPE) BOOLE_D Data is exclusively locked 20120416
33 MV_MODE Instance attribute Protected Type reference (TYPE) P05T_WCR_PRODMODE WCR Mode - Productive/Simulation 20120416
34 MV_PERIODICITY Instance attribute Protected Type reference (TYPE) P05T_WCR_IPP Number of periods in the year (12/13) 20120416
Methods
# Method Level Visibility Method type Description Created on
1 CALCULATE Instance method Public Method calculate all the values 20120416
2 CALC_FINAL_LEVY Instance method Protected Method calculate the final levy 20120416
3 CALC_FINAL_LEVY_BASIS Instance method Protected Method calculate the final levy basis 20120416
4 CALC_FREE_SPACE Instance method Protected Method calculate the free spaces 20120416
5 CALC_TABLE Instance method Protected Method calculate a table according to a mark (kenteken) 20120416
6 CHECK_AUTHORIZATION Instance method Public Method Check the authorization. 20120416
7 CONFIRM Instance method Public Method Confirm the WCR data 20120416
8 CONSTRUCTOR Instance method Public Constructor 20120416
9 GET_CURRENCY Instance method Public Method Returns the currency for a period 20120416
10 GET_FINAL_LEVY Instance method Public Method get the final levy 20120416
11 GET_FREE_SPACE Instance method Public Method get the free space per period 20120416
12 GET_PERCENTAGE Instance method Protected Method get the percentages from the payroll constant 20120416
13 GET_REPORTING_JUPER Instance method Public Method Get the Reporting Legal Person for a period 20120416
14 GET_WORK_COSTS Instance method Public Method get the work costs for a period 20120416
15 INTERNAL_LOCK Static method Private Method Class-internal locking of data (mono state) 20120416
16 INTERNAL_UNLOCK Static method Private Method Class-internal unlocking of data (mono state) 20120416
17 IS_CONFIRMED Instance method Public Method true, if all periods are confirmed, false if not 20120416
18 IS_EXTRACTED Instance method Public Method true, if the data extractor has been run, otherwise false 20120416
19 LOCK Instance method Public Method Gathers the locks for the data 20120416
20 READ Instance method Public Method Read/refresh the application data from the data base 20120416
21 SET_CHANGEABLE Instance method Public Method Enter/leave the change mode of the data 20120416
22 UNLOCK Instance method Public Method Releases the locks for the data 20120416
Events
Class CL_HR_NL_WCR_YEAR_DATA has no event.
Types
Class CL_HR_NL_WCR_YEAR_DATA has no local type.
Method Signatures

Method CALCULATE Signature

Method CALCULATE on class CL_HR_NL_WCR_YEAR_DATA has no parameter.
# Exception Resumable Description Created on
1 CX_HR_NL_WCR_EXCEPTION 20120416

Method CALC_FINAL_LEVY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_FINAL_LEVY Call by reference Type reference (TYPE) P05T_T_WCR_RESULT Calculation Result in WCR 20120416
2 Importing IT_FINAL_LEVY_BASIS Call by reference Type reference (TYPE) P05T_T_WCR_RESULT Calculation Result in WCR 20120416
# Exception Resumable Description Created on
1 CX_HR_NL_WCR_EXCEPTION 20120416

Method CALC_FINAL_LEVY_BASIS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_FINAL_LEVY_BASIS Call by reference Type reference (TYPE) P05T_T_WCR_RESULT Calculation Result in WCR 20120416
2 Importing IT_FREE_SPACE Call by reference Type reference (TYPE) P05T_T_WCR_RESULT Calculation Result in WCR 20120416
3 Importing IT_WORK_COSTS Call by reference Type reference (TYPE) P05T_T_WCR_RESULT Calculation Result in WCR 20120416

Method CALC_FINAL_LEVY_BASIS on class CL_HR_NL_WCR_YEAR_DATA has no exception.

Method CALC_FREE_SPACE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_FREE_SPACE Call by reference Type reference (TYPE) P05T_T_WCR_RESULT Calculation Result in WCR 20120416
2 Importing IT_EARNINGS Call by reference Type reference (TYPE) P05T_T_WCR_RESULT Calculation Result in WCR 20120416
# Exception Resumable Description Created on
1 CX_HR_NL_WCR_EXCEPTION 20120416

Method CALC_TABLE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_TABLE Call by reference Type reference (TYPE) P05T_T_WCR_RESULT Calculation Result in WCR 20120416
2 Exporting EV_TOTAL Call by reference Type reference (TYPE) P05T_AMOUNT Amount 20120416
3 Importing IV_KENTEKEN Call by reference Type reference (TYPE) P05T_KENT Wage return: Indicator 20120416

Method CALC_TABLE on class CL_HR_NL_WCR_YEAR_DATA has no exception.

Method CHECK_AUTHORIZATION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_ACTION Call by reference Type reference (TYPE) ACTIV_AUTH Activity 20120416
2 Importing IV_JUPER Call by reference Type reference (TYPE) JUPER Legal Person 20120416
# Exception Resumable Description Created on
1 CX_HR_NL_WCR_EXCEPTION thrown, if the user does not have the authorization 20120416

Method CONFIRM Signature

Method CONFIRM on class CL_HR_NL_WCR_YEAR_DATA has no parameter.
# Exception Resumable Description Created on
1 CX_HR_NL_WCR_EXCEPTION thrown if not in change mode / process forbids change 20120416

Method CONSTRUCTOR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_EMPLOYER Call by reference Type reference (TYPE) P05T_T_WCR_EMPLOYER_MAP WCR Map a Legal Person to Employer depending on For-Periods 20120416
2 Importing IV_FORYEAR Call by reference Type reference (TYPE) P05T_WCR_FPY WCR For-Period Year 20120416
3 Importing IV_INPERIOD Call by reference Type reference (TYPE) P05T_WCR_IPP WCR In-Period 20120416
4 Importing IV_INYEAR Call by reference Type reference (TYPE) P05T_WCR_IPY WCR In-Period Year 20120416
5 Importing IV_MODE Call by reference Type reference (TYPE) P05T_WCR_PRODMODE WCR Mode - Productive/Simulation 20120416
6 Importing IV_PERIODICITY Call by reference Type reference (TYPE) P05T_WCR_IPP Number of periods in the year (12/13) 20120416

Method CONSTRUCTOR on class CL_HR_NL_WCR_YEAR_DATA has no exception.

Method GET_CURRENCY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_FORPERIOD Call by reference Type reference (TYPE) P05T_WCR_FPP WCR For-Period 20120416
2 Returning RV_CURRENCY Value transfer Type reference (TYPE) WAERS Currency Key 20120416

Method GET_CURRENCY on class CL_HR_NL_WCR_YEAR_DATA has no exception.

Method GET_FINAL_LEVY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_FORPERIOD Call by reference Type reference (TYPE) P05T_WCR_FPP WCR For-Period 20120416
2 Returning RV_RESULT Value transfer Type reference (TYPE) P05T_AMOUNT Amount 20120416

Method GET_FINAL_LEVY on class CL_HR_NL_WCR_YEAR_DATA has no exception.

Method GET_FREE_SPACE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_FORPERIOD Call by reference Type reference (TYPE) P05T_WCR_FPP WCR For-Period 20120416
2 Returning RV_RESULT Value transfer Type reference (TYPE) P05T_AMOUNT Amount 20120416

Method GET_FREE_SPACE on class CL_HR_NL_WCR_YEAR_DATA has no exception.

Method GET_PERCENTAGE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_CONST Call by reference Type reference (TYPE) ABRKN Payroll constant 20120416
2 Importing IV_FORPERIOD Call by reference Type reference (TYPE) P05T_WCR_FPP WCR For-Period 20120416
3 Importing IV_FORYEAR Call by reference Type reference (TYPE) P05T_WCR_FPY WCR For-Period Year 20120416
4 Importing IV_JUPER Call by reference Type reference (TYPE) JUPER Legal Person 20120416
5 Returning RV_PERC Value transfer Type reference (TYPE) ABRWT Value of payroll constants 20120416
# Exception Resumable Description Created on
1 CX_HR_NL_WCR_EXCEPTION thrown, if the constant could not be read 20120416

Method GET_REPORTING_JUPER Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_FORPERIOD Call by reference Type reference (TYPE) P05T_WCR_FPP WCR For-Period 20120416
2 Returning RV_JUPER Value transfer Type reference (TYPE) JUPER Legal Person 20120416

Method GET_REPORTING_JUPER on class CL_HR_NL_WCR_YEAR_DATA has no exception.

Method GET_WORK_COSTS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_FORPERIOD Call by reference Type reference (TYPE) P05T_WCR_FPP WCR For-Period 20120416
2 Returning RV_RESULT Value transfer Type reference (TYPE) P05T_AMOUNT Amount 20120416

Method GET_WORK_COSTS on class CL_HR_NL_WCR_YEAR_DATA has no exception.

Method INTERNAL_LOCK Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IR_LOCKER Call by reference Object reference (TYPE REF TO) CL_HR_NL_WCR_YEAR_DATA the data object having the lock 20120416
2 Importing IV_JUPER Call by reference Type reference (TYPE) JUPER Legal Person 20120416
# Exception Resumable Description Created on
1 CX_HR_NL_WCR_EXCEPTION thrown in the case of a foreign lock (lock failed) 20120416

Method INTERNAL_UNLOCK Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IR_LOCKER Call by reference Object reference (TYPE REF TO) CL_HR_NL_WCR_YEAR_DATA the data object having the lock 20120416
2 Importing IV_JUPER Call by reference Type reference (TYPE) JUPER Legal Person 20120416

Method INTERNAL_UNLOCK on class CL_HR_NL_WCR_YEAR_DATA has no exception.

Method IS_CONFIRMED Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RV_CONFIRMED Value transfer Type reference (TYPE) BOOLE_D Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') 20120416

Method IS_CONFIRMED on class CL_HR_NL_WCR_YEAR_DATA has no exception.

Method IS_EXTRACTED Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RV_EXTRACTED Value transfer Type reference (TYPE) BOOLE_D Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') 20120416

Method IS_EXTRACTED on class CL_HR_NL_WCR_YEAR_DATA has no exception.

Method LOCK Signature

Method LOCK on class CL_HR_NL_WCR_YEAR_DATA has no parameter.
# Exception Resumable Description Created on
1 CX_HR_NL_WCR_EXCEPTION thrown in the case the data could not be locked 20120416

Method READ Signature

Method READ on class CL_HR_NL_WCR_YEAR_DATA has no parameter.
# Exception Resumable Description Created on
1 CX_HR_NL_WCR_EXCEPTION thrown in case of fail reading the data base 20120416

Method SET_CHANGEABLE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_CHANGEABLE Call by reference Type reference (TYPE) BOOLE_D Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') 20120416
# Exception Resumable Description Created on
1 CX_HR_NL_WCR_EXCEPTION thrown if change mode is not allowed by the WCR/LA process 20120416

Method UNLOCK Signature

Method UNLOCK on class CL_HR_NL_WCR_YEAR_DATA has no parameter.
Method UNLOCK on class CL_HR_NL_WCR_YEAR_DATA has no exception.
History
Last changed by/on SAP  20130531 
SAP Release Created in