SAP ABAP Class CL_HR_NL_UTIL (Utility Class)
Hierarchy
☛
SAP_HRCNL (Software Component) Sub component SAP_HRCNL of SAP_HR
⤷ PY-NL-RP (Application Component) Reporting
⤷ PC05 (Package) HR Payroll: Netherlands
⤷ PY-NL-RP (Application Component) Reporting
⤷ PC05 (Package) HR Payroll: Netherlands
Properties
Class | CL_HR_NL_UTIL | |
Short Description | Utility Class | |
Super Class | ||
Instantiability of a Class | 2 | Public |
Final |
General Data
Message Class | ||
Program status | ||
Category | 0 | |
Package | PC05 | HR Payroll: Netherlands |
Created | 20080610 | SAP |
Last change | 20081217 | SAP |
Shared Memory-enabled | ||
Fixed point arithmetic | ||
Unicode checks active |
Forward declarations
Class CL_HR_NL_UTIL has no forward declaration.
Interfaces
Class CL_HR_NL_UTIL has no interface implemented.
Friends
Class CL_HR_NL_UTIL has no friend class.
Attributes
# | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | A_READ_INFOTYPE | Instance attribute | Private | Object reference (TYPE REF TO) | IF_HRPA_READ_INFOTYPE | Reading Infotype Records | 20080820 | ||
2 | C_FALSE | Static Attribute | Public | Type reference (TYPE) | BOOLE_D | False | 20080610 | ||
3 | C_TRUE | Static Attribute | Public | Type reference (TYPE) | BOOLE_D | 'X' | True | 20080610 | |
4 | G_T_T511K | Static Attribute | Private | Type reference (TYPE) | P05_T511K | Payroll Parameters | 20080610 | ||
5 | G_T_T549Q | Static Attribute | Private | Type reference (TYPE) | P05_T549Q_EXTENDED_TAB | Payroll Calender | 20080829 |
Methods
# | Method | Level | Visibility | Method type | Description | Created on |
---|---|---|---|---|---|---|
1 | CALC_DIFFERENCE_IN_PERIODS | Static method | Public | Method | Calculate difference in periods | 20080902 |
2 | CALC_FORMULA | Static method | Public | Method | Calculation of formula | 20080610 |
3 | CALC_FUTURE_PERIOD | Static method | Public | Method | Calculate future period | 20080829 |
4 | CHECK_FORMULA_SYNTAX | Static method | Public | Method | Check on correctness of formula syntax | 20080611 |
5 | COMPARE_STRUCTURES | Static method | Public | Method | compare two flat structures for equality | 20120111 |
6 | GET_BEGDA_OF_PERIOD | Static method | Public | Method | Get begin date of period | 20080903 |
7 | GET_HIRE_FIRE | Static method | Public | Method | Get hire and fire data | 20080905 |
8 | P0000 | Static method | Protected | Method | Reading of infotype 0000 | 20080905 |
9 | P0001 | Static method | Protected | Method | Reading of infotype 0001 | 20080820 |
10 | P0002 | Static method | Protected | Method | Reading of infotype 0002 | 20080820 |
11 | P0007 | Static method | Protected | Method | Reading of infotype 0007 | 20080820 |
12 | P0008 | Static method | Protected | Method | Reading of infotype 0008 | 20080820 |
13 | READ_FEATURE_NLAHF | Static method | Public | Method | Read Feature NLAHF | 20080905 |
14 | READ_FEATURE_NLARG | Static method | Public | Method | Read Feature NLARG | 20080820 |
15 | READ_T511K | Static method | Public | Method | Read T511K | 20080610 |
16 | READ_T549Q | Static method | Public | Method | Read T549Q | 20080829 |
17 | REPLACE_METHOD_BY_FORMULA | Static method | Public | Method | Replace METHOD with corresponding formula | 20080611 |
18 | REPLACE_METHOD_RCLCE | Static method | Private | Method | Replace method RCLCE with corresponding formula | 20080826 |
19 | REPLACE_METHOD_RCLCP | Static method | Private | Method | Replace method RCLCP with corresponding formula | 20080612 |
20 | REPLACE_METHOD_RCLCR | Static method | Private | Method | Replace method RCLCR with corresponding formula | 20080826 |
Events
Class CL_HR_NL_UTIL has no event.
Types
Class CL_HR_NL_UTIL has no local type.
Method Signatures
Method CALC_DIFFERENCE_IN_PERIODS Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Exporting | DIFFERENCE | Call by reference | Type reference (TYPE) | PABRP | Difference | 20080902 | ||
2 | Importing | FUTURE_PERIOD | Call by reference | Type reference (TYPE) | PABRP | Future Payroll Period | 20080902 | ||
3 | Importing | PAYROLL_PERIOD | Call by reference | Type reference (TYPE) | P05_FPPER | Payroll Period | 20080902 | ||
4 | Importing | PERMO | Call by reference | Type reference (TYPE) | PERMO | Period Parameters | 20080902 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | CX_HR_NL_UTIL_ERR_PERMO_NF | Permo not found | 20080902 | |
2 | CX_HR_NL_UTIL_ERR_T549Q_FP | T549Q Future period not customized | 20080905 | |
3 | CX_HR_NL_UTIL_ERR_T549Q_NC | T549Q not consistent | 20080902 |
Method CALC_FORMULA Signature
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | CX_HR_NL_UTIL_ERR_CONSTANT_NF | Constant not found | 20080611 |
Method CALC_FUTURE_PERIOD Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | ADDITION | Call by reference | Type reference (TYPE) | P05_RPOPD | Addition | 20080829 | ||
2 | Exporting | FUTURE_PERIOD | Call by reference | Type reference (TYPE) | P05_FPPER | Future Payroll Period | 20080829 | ||
3 | Importing | PAYROLL_PERIOD | Call by reference | Type reference (TYPE) | P05_FPPER | Payroll Period | 20080829 | ||
4 | Importing | PERMO | Call by reference | Type reference (TYPE) | PERMO | Period Parameters | 20080829 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | CX_HR_NL_UTIL_ERR_PERMO_NF | Permo not found | 20080829 | |
2 | CX_HR_NL_UTIL_ERR_T549Q_FP | T549Q Future period not customized | 20080903 | |
3 | CX_HR_NL_UTIL_ERR_T549Q_NC | T549Q not consistent | 20080829 |
Method CHECK_FORMULA_SYNTAX Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | CHECK_FOR_UNKNOWN_CHAR | Call by reference | Type reference (TYPE) | BOOLE | Check for unknown characters | 20080611 | ||
2 | Importing | DATUM | Call by reference | Type reference (TYPE) | DATUM | Date | 20080611 | ||
3 | Importing | FORMULA | Call by reference | Type reference (TYPE) | STRING | 20080611 | |||
4 | Importing | MOLGA | Call by reference | Type reference (TYPE) | MOLGA | '05' | Country Grouping | 20080611 | |
5 | Returning | SYNTAX_OK | Value transfer | Type reference (TYPE) | BOOLE | Syntax OK? | 20080611 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | CX_HR_NL_UTIL_ERR_BRACKETS | Incorrect number of brackets | 20080611 | |
2 | CX_HR_NL_UTIL_ERR_CONSTANT_NF | Constant not found | 20080611 | |
3 | CX_HR_NL_UTIL_ERR_DECIMAL_SIGN | Multiple decimal signs in number | 20080611 | |
4 | CX_HR_NL_UTIL_ERR_METHOD | Incorrect method | 20080611 | |
5 | CX_HR_NL_UTIL_ERR_MULTI_OPER | Multiple operations next to each other | 20080611 | |
6 | CX_HR_NL_UTIL_ERR_NR_DECS | Too many decimals | 20080611 | |
7 | CX_HR_NL_UTIL_ERR_UNKNOWN | Unknown character, will be ignored | 20080611 |
Method COMPARE_STRUCTURES Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | IS_STRUCTURE_A | Call by reference | Type reference (TYPE) | ANY | Structure A to be compared with Structure B | 20120111 | ||
2 | Importing | IS_STRUCTURE_B | Call by reference | Type reference (TYPE) | ANY | Structure B to be compared with structure A | 20120111 | ||
3 | Importing | IV_STRUCTURE_NAME | Call by reference | Type reference (TYPE) | DDOBJNAME | Name of ABAP Dictionary Object | 20120111 | ||
4 | Returning | RV_EQUAL | Value transfer | Type reference (TYPE) | BOOLE_D | Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') | 20120111 |
Method COMPARE_STRUCTURES on class CL_HR_NL_UTIL has no exception.
Method GET_BEGDA_OF_PERIOD Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Exporting | BEGDA | Call by reference | Type reference (TYPE) | BEGDA | Difference | 20080903 | ||
2 | Importing | PAYROLL_PERIOD | Call by reference | Type reference (TYPE) | P05_FPPER | Payroll Period | 20080903 | ||
3 | Importing | PERMO | Call by reference | Type reference (TYPE) | PERMO | Period Parameters | 20080903 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | CX_HR_NL_UTIL_ERR_PERMO_NF | Permo not found | 20080903 | |
2 | CX_HR_NL_UTIL_ERR_T549Q_FP | T549Q future period not customized | 20080903 | |
3 | CX_HR_NL_UTIL_ERR_T549Q_NC | T549Q not consistent | 20080903 |
Method GET_HIRE_FIRE 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 | 20080905 | ||
2 | Importing | ENDDA | Call by reference | Type reference (TYPE) | ENDDA | End Date | 20080905 | ||
3 | Importing | FEATURE | Call by reference | Type reference (TYPE) | MERK1 | 'NLAHF' | Name of feature | 20080905 | |
4 | Exporting | HF_DATES | Call by reference | Type reference (TYPE) | P05_HF_DATES_TAB | Table with hire and fire dates | 20080905 | ||
5 | Importing | P0000 | Call by reference | Type reference (TYPE) | P0000_TAB | HR Master Record: Infotype 0000 (Actions) | 20080905 | ||
6 | Importing | P0001 | Call by reference | Type reference (TYPE) | P0001_TAB | HR Master Record: Infotype 0001 (Organizational Assignment) | 20080905 | ||
7 | Importing | PERNR | Call by reference | Type reference (TYPE) | P_PERNR | Personnel Number | 20080905 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | CX_HR_NL_UTIL_ERR_INC_FEATURE | Incorrect feature | 20080908 |
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 | '18000101' | Start Date | 20080905 | |
2 | Importing | ENDDA | Call by reference | Type reference (TYPE) | ENDDA | '99991231' | End Date | 20080905 | |
3 | Returning | P0000 | Value transfer | Type reference (TYPE) | P0000_TAB | HR Master Record: Infotype 0000 (Actions) | 20080905 | ||
4 | Importing | PERNR | Call by reference | Type reference (TYPE) | PERNR_D | Personnel Number | 20080905 | ||
5 | Importing | TCLAS | Call by reference | Type reference (TYPE) | TCLAS | 'A' | Transaction Class for Data Retention | 20080905 |
Method P0000 on class CL_HR_NL_UTIL has no exception.
Method P0001 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 | '18000101' | Start Date | 20080820 | |
2 | Importing | ENDDA | Call by reference | Type reference (TYPE) | ENDDA | '99991231' | End Date | 20080905 | |
3 | Returning | P0001 | Value transfer | Type reference (TYPE) | P0001_TAB | HR Master Record: Infotype 0001 (Org. Assignment) | 20080820 | ||
4 | Importing | PERNR | Call by reference | Type reference (TYPE) | PERNR_D | Personnel Number | 20080820 | ||
5 | Importing | TCLAS | Call by reference | Type reference (TYPE) | TCLAS | 'A' | Transaction Class for Data Retention | 20080820 |
Method P0001 on class CL_HR_NL_UTIL has no exception.
Method P0002 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 | '18000101' | Start Date | 20080820 | |
2 | Importing | ENDDA | Call by reference | Type reference (TYPE) | ENDDA | '99991231' | End Date | 20080905 | |
3 | Returning | P0002 | Value transfer | Type reference (TYPE) | P0002_TAB | HR Master Record: Infotype 0002 (Personal Data) | 20080820 | ||
4 | Importing | PERNR | Call by reference | Type reference (TYPE) | PERNR_D | Personnel Number | 20080820 | ||
5 | Importing | TCLAS | Call by reference | Type reference (TYPE) | TCLAS | 'A' | Transaction Class for Data Retention | 20080820 |
Method P0002 on class CL_HR_NL_UTIL has no exception.
Method P0007 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 | '18000101' | Start Date | 20080820 | |
2 | Importing | ENDDA | Call by reference | Type reference (TYPE) | ENDDA | '99991231' | End Date | 20080905 | |
3 | Returning | P0007 | Value transfer | Type reference (TYPE) | P0007_TAB | HR Master Record: Infotype 0007 (Planned Working Time) | 20080820 | ||
4 | Importing | PERNR | Call by reference | Type reference (TYPE) | PERNR_D | Personnel Number | 20080820 | ||
5 | Importing | TCLAS | Call by reference | Type reference (TYPE) | TCLAS | 'A' | Transaction Class for Data Retention | 20080820 |
Method P0007 on class CL_HR_NL_UTIL has no exception.
Method P0008 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 | '18000101' | Start Date | 20080820 | |
2 | Importing | ENDDA | Call by reference | Type reference (TYPE) | ENDDA | '99991231' | End Date | 20080905 | |
3 | Returning | P0008 | Value transfer | Type reference (TYPE) | P0008_TAB | HR Master Record: Infotype 0008 (Basic Pay) | 20080820 | ||
4 | Importing | PERNR | Call by reference | Type reference (TYPE) | PERNR_D | Personnel Number | 20080820 | ||
5 | Importing | SUBTY | Call by reference | Type reference (TYPE) | SUBTY | '0 ' | Subtype | 20080820 | |
6 | Importing | TCLAS | Call by reference | Type reference (TYPE) | TCLAS | 'A' | Transaction Class for Data Retention | 20080820 |
Method P0008 on class CL_HR_NL_UTIL has no exception.
Method READ_FEATURE_NLAHF Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | DATUM | Call by reference | Type reference (TYPE) | BEGDA | Begin Date | 20080905 | ||
2 | Exporting | NLHF | Call by reference | Type reference (TYPE) | P05_HF_FEATURE_RETURN | Return value of NL hire fire features | 20080905 | ||
3 | Importing | P0000 | Call by reference | Type reference (TYPE) | P0000_TAB | HR Master Record: Infotype 0000 (Actions) | 20080905 | ||
4 | Importing | P0001 | Call by reference | Type reference (TYPE) | P0001_TAB | HR Master Record: Infotype 0001 (Org. Assignment) | 20080905 | ||
5 | Importing | PERNR | Call by reference | Type reference (TYPE) | PERNR_D | Personnel Number | 20080905 | ||
6 | Importing | TCLAS | Call by reference | Type reference (TYPE) | TCLAS | 'A' | Transaction Class for Data Retention | 20080905 |
Method READ_FEATURE_NLAHF on class CL_HR_NL_UTIL has no exception.
Method READ_FEATURE_NLARG Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | DATUM | Call by reference | Type reference (TYPE) | BEGDA | Begin Date | 20080905 | ||
2 | Importing | GBDAT | Call by reference | Type reference (TYPE) | GBDAT | Date of Birth | 20080820 | ||
3 | Importing | MOLGA | Call by reference | Type reference (TYPE) | MOLGA | Country Grouping | 20080820 | ||
4 | Exporting | NLARG | Call by reference | Type reference (TYPE) | P05_NLARG_TABLE_TYPE | Table type for feature NLARG | 20080820 | ||
5 | Importing | P0000 | Call by reference | Type reference (TYPE) | P0000_TAB | HR Master Record: Infotype 0000 (Actions) | 20081031 | ||
6 | Importing | P0001 | Call by reference | Type reference (TYPE) | P0001_TAB | HR Master Record: Infotype 0001 (Org. Assignment) | 20080820 | ||
7 | Importing | P0007 | Call by reference | Type reference (TYPE) | P0007_TAB | HR Master Record: Infotype 0001 (Org. Assignment) | 20080820 | ||
8 | Importing | P0008 | Call by reference | Type reference (TYPE) | P0008_TAB | HR Master Record: Infotype 0001 (Org. Assignment) | 20080820 | ||
9 | Importing | PERNR | Call by reference | Type reference (TYPE) | PERNR_D | Personnel Number | 20080820 | ||
10 | Importing | TCLAS | Call by reference | Type reference (TYPE) | TCLAS | 'A' | Transaction Class for Data Retention | 20080820 |
Method READ_FEATURE_NLARG on class CL_HR_NL_UTIL has no exception.
Method READ_T511K Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | CONSTANT | Call by reference | Type reference (TYPE) | ABRKN | Payroll constant | 20080610 | ||
2 | Importing | DATUM | Call by reference | Type reference (TYPE) | ENDDA | End Date | 20080610 | ||
3 | Returning | KWERT | Value transfer | Type reference (TYPE) | ABRWT | Value of payroll constants | 20080610 | ||
4 | Importing | MOLGA | Call by reference | Type reference (TYPE) | MOLGA | Country Grouping | 20080610 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | CX_HR_NL_UTIL_ERR_CONSTANT_NF | Constant not found | 20080611 |
Method READ_T549Q Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | BEGIN_YEAR | Call by reference | Type reference (TYPE) | PABRJ | Payroll Year | 20080829 | ||
2 | Importing | PERMO | Call by reference | Type reference (TYPE) | PERMO | Period Parameters | 20080829 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | CX_HR_NL_UTIL_ERR_PERMO_NF | Permo not found | 20080829 | |
2 | CX_HR_NL_UTIL_ERR_T549Q_NC | T549Q not consistent | 20080829 |
Method REPLACE_METHOD_BY_FORMULA Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | DOMAIN | Call by reference | Type reference (TYPE) | DOMNAME | Domain name | 20080611 | ||
2 | Importing | FORMULA_FOR_PAYMENT | Call by reference | Type reference (TYPE) | STRING | Formula for payment | 20080611 | ||
3 | Changing | FORMULA_TO_BE_REPLACED | Call by reference | Type reference (TYPE) | STRING | Formula to be replaced | 20080611 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | CX_HR_NL_UTIL_ERR_DOMAIN_NS | Domain not supported | 20080611 | |
2 | CX_HR_NL_UTIL_ERR_METHOD | Incorrect method | 20080611 |
Method REPLACE_METHOD_RCLCE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Returning | FORMULA_CODE | Value transfer | Type reference (TYPE) | P05_RCLCE | Formula code | 20080826 | ||
2 | Importing | METHOD | Call by reference | Type reference (TYPE) | C | Method | 20080826 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | CX_HR_NL_UTIL_ERR_METHOD | Incorrect method | 20080826 |
Method REPLACE_METHOD_RCLCP Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Returning | FORMULA_CODE | Value transfer | Type reference (TYPE) | P05_RCLCP | Formula code | 20080612 | ||
2 | Importing | METHOD | Call by reference | Type reference (TYPE) | C | Method | 20080612 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | CX_HR_NL_UTIL_ERR_METHOD | Incorrect method | 20080612 |
Method REPLACE_METHOD_RCLCR Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Returning | FORMULA_CODE | Value transfer | Type reference (TYPE) | P05_RCLCE | Formula code | 20080826 | ||
2 | Importing | METHOD | Call by reference | Type reference (TYPE) | C | Method | 20080826 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | CX_HR_NL_UTIL_ERR_METHOD | Incorrect method | 20080826 |
History
Last changed by/on | SAP | 20081217 |
SAP Release Created in | 600 |