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
⤷
⤷
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 | Instance attribute | Private | Object reference (TYPE REF TO) | IF_HRPA_READ_INFOTYPE | Reading Infotype Records | 20080820 | |||
| 2 | Static Attribute | Public | Type reference (TYPE) | BOOLE_D | False | 20080610 | |||
| 3 | Static Attribute | Public | Type reference (TYPE) | BOOLE_D | 'X' | True | 20080610 | ||
| 4 | Static Attribute | Private | Type reference (TYPE) | P05_T511K | Payroll Parameters | 20080610 | |||
| 5 | Static Attribute | Private | Type reference (TYPE) | P05_T549Q_EXTENDED_TAB | Payroll Calender | 20080829 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Static method | Public | Method | Calculate difference in periods | 20080902 | |
| 2 | Static method | Public | Method | Calculation of formula | 20080610 | |
| 3 | Static method | Public | Method | Calculate future period | 20080829 | |
| 4 | Static method | Public | Method | Check on correctness of formula syntax | 20080611 | |
| 5 | Static method | Public | Method | compare two flat structures for equality | 20120111 | |
| 6 | Static method | Public | Method | Get begin date of period | 20080903 | |
| 7 | Static method | Public | Method | Get hire and fire data | 20080905 | |
| 8 | Static method | Protected | Method | Reading of infotype 0000 | 20080905 | |
| 9 | Static method | Protected | Method | Reading of infotype 0001 | 20080820 | |
| 10 | Static method | Protected | Method | Reading of infotype 0002 | 20080820 | |
| 11 | Static method | Protected | Method | Reading of infotype 0007 | 20080820 | |
| 12 | Static method | Protected | Method | Reading of infotype 0008 | 20080820 | |
| 13 | Static method | Public | Method | Read Feature NLAHF | 20080905 | |
| 14 | Static method | Public | Method | Read Feature NLARG | 20080820 | |
| 15 | Static method | Public | Method | Read T511K | 20080610 | |
| 16 | Static method | Public | Method | Read T549Q | 20080829 | |
| 17 | Static method | Public | Method | Replace METHOD with corresponding formula | 20080611 | |
| 18 | Static method | Private | Method | Replace method RCLCE with corresponding formula | 20080826 | |
| 19 | Static method | Private | Method | Replace method RCLCP with corresponding formula | 20080612 | |
| 20 | 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 | DIFFERENCE | Call by reference | Type reference (TYPE) | PABRP | Difference | 20080902 | |||
| 2 | FUTURE_PERIOD | Call by reference | Type reference (TYPE) | PABRP | Future Payroll Period | 20080902 | |||
| 3 | PAYROLL_PERIOD | Call by reference | Type reference (TYPE) | P05_FPPER | Payroll Period | 20080902 | |||
| 4 | PERMO | Call by reference | Type reference (TYPE) | PERMO | Period Parameters | 20080902 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Permo not found | 20080902 | ||
| 2 | T549Q Future period not customized | 20080905 | ||
| 3 | T549Q not consistent | 20080902 |
Method CALC_FORMULA Signature
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Constant not found | 20080611 |
Method CALC_FUTURE_PERIOD Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ADDITION | Call by reference | Type reference (TYPE) | P05_RPOPD | Addition | 20080829 | |||
| 2 | FUTURE_PERIOD | Call by reference | Type reference (TYPE) | P05_FPPER | Future Payroll Period | 20080829 | |||
| 3 | PAYROLL_PERIOD | Call by reference | Type reference (TYPE) | P05_FPPER | Payroll Period | 20080829 | |||
| 4 | PERMO | Call by reference | Type reference (TYPE) | PERMO | Period Parameters | 20080829 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Permo not found | 20080829 | ||
| 2 | T549Q Future period not customized | 20080903 | ||
| 3 | T549Q not consistent | 20080829 |
Method CHECK_FORMULA_SYNTAX Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CHECK_FOR_UNKNOWN_CHAR | Call by reference | Type reference (TYPE) | BOOLE | Check for unknown characters | 20080611 | |||
| 2 | DATUM | Call by reference | Type reference (TYPE) | DATUM | Date | 20080611 | |||
| 3 | FORMULA | Call by reference | Type reference (TYPE) | STRING | 20080611 | ||||
| 4 | MOLGA | Call by reference | Type reference (TYPE) | MOLGA | '05' | Country Grouping | 20080611 | ||
| 5 | SYNTAX_OK | Value transfer | Type reference (TYPE) | BOOLE | Syntax OK? | 20080611 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Incorrect number of brackets | 20080611 | ||
| 2 | Constant not found | 20080611 | ||
| 3 | Multiple decimal signs in number | 20080611 | ||
| 4 | Incorrect method | 20080611 | ||
| 5 | Multiple operations next to each other | 20080611 | ||
| 6 | Too many decimals | 20080611 | ||
| 7 | 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 | IS_STRUCTURE_A | Call by reference | Type reference (TYPE) | ANY | Structure A to be compared with Structure B | 20120111 | |||
| 2 | IS_STRUCTURE_B | Call by reference | Type reference (TYPE) | ANY | Structure B to be compared with structure A | 20120111 | |||
| 3 | IV_STRUCTURE_NAME | Call by reference | Type reference (TYPE) | DDOBJNAME | Name of ABAP Dictionary Object | 20120111 | |||
| 4 | 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 | BEGDA | Call by reference | Type reference (TYPE) | BEGDA | Difference | 20080903 | |||
| 2 | PAYROLL_PERIOD | Call by reference | Type reference (TYPE) | P05_FPPER | Payroll Period | 20080903 | |||
| 3 | PERMO | Call by reference | Type reference (TYPE) | PERMO | Period Parameters | 20080903 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Permo not found | 20080903 | ||
| 2 | T549Q future period not customized | 20080903 | ||
| 3 | T549Q not consistent | 20080903 |
Method GET_HIRE_FIRE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | BEGDA | Call by reference | Type reference (TYPE) | BEGDA | Start Date | 20080905 | |||
| 2 | ENDDA | Call by reference | Type reference (TYPE) | ENDDA | End Date | 20080905 | |||
| 3 | FEATURE | Call by reference | Type reference (TYPE) | MERK1 | 'NLAHF' | Name of feature | 20080905 | ||
| 4 | HF_DATES | Call by reference | Type reference (TYPE) | P05_HF_DATES_TAB | Table with hire and fire dates | 20080905 | |||
| 5 | P0000 | Call by reference | Type reference (TYPE) | P0000_TAB | HR Master Record: Infotype 0000 (Actions) | 20080905 | |||
| 6 | P0001 | Call by reference | Type reference (TYPE) | P0001_TAB | HR Master Record: Infotype 0001 (Organizational Assignment) | 20080905 | |||
| 7 | PERNR | Call by reference | Type reference (TYPE) | P_PERNR | Personnel Number | 20080905 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Incorrect feature | 20080908 |
Method P0000 Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | BEGDA | Call by reference | Type reference (TYPE) | BEGDA | '18000101' | Start Date | 20080905 | ||
| 2 | ENDDA | Call by reference | Type reference (TYPE) | ENDDA | '99991231' | End Date | 20080905 | ||
| 3 | P0000 | Value transfer | Type reference (TYPE) | P0000_TAB | HR Master Record: Infotype 0000 (Actions) | 20080905 | |||
| 4 | PERNR | Call by reference | Type reference (TYPE) | PERNR_D | Personnel Number | 20080905 | |||
| 5 | 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 | BEGDA | Call by reference | Type reference (TYPE) | BEGDA | '18000101' | Start Date | 20080820 | ||
| 2 | ENDDA | Call by reference | Type reference (TYPE) | ENDDA | '99991231' | End Date | 20080905 | ||
| 3 | P0001 | Value transfer | Type reference (TYPE) | P0001_TAB | HR Master Record: Infotype 0001 (Org. Assignment) | 20080820 | |||
| 4 | PERNR | Call by reference | Type reference (TYPE) | PERNR_D | Personnel Number | 20080820 | |||
| 5 | 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 | BEGDA | Call by reference | Type reference (TYPE) | BEGDA | '18000101' | Start Date | 20080820 | ||
| 2 | ENDDA | Call by reference | Type reference (TYPE) | ENDDA | '99991231' | End Date | 20080905 | ||
| 3 | P0002 | Value transfer | Type reference (TYPE) | P0002_TAB | HR Master Record: Infotype 0002 (Personal Data) | 20080820 | |||
| 4 | PERNR | Call by reference | Type reference (TYPE) | PERNR_D | Personnel Number | 20080820 | |||
| 5 | 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 | BEGDA | Call by reference | Type reference (TYPE) | BEGDA | '18000101' | Start Date | 20080820 | ||
| 2 | ENDDA | Call by reference | Type reference (TYPE) | ENDDA | '99991231' | End Date | 20080905 | ||
| 3 | P0007 | Value transfer | Type reference (TYPE) | P0007_TAB | HR Master Record: Infotype 0007 (Planned Working Time) | 20080820 | |||
| 4 | PERNR | Call by reference | Type reference (TYPE) | PERNR_D | Personnel Number | 20080820 | |||
| 5 | 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 | BEGDA | Call by reference | Type reference (TYPE) | BEGDA | '18000101' | Start Date | 20080820 | ||
| 2 | ENDDA | Call by reference | Type reference (TYPE) | ENDDA | '99991231' | End Date | 20080905 | ||
| 3 | P0008 | Value transfer | Type reference (TYPE) | P0008_TAB | HR Master Record: Infotype 0008 (Basic Pay) | 20080820 | |||
| 4 | PERNR | Call by reference | Type reference (TYPE) | PERNR_D | Personnel Number | 20080820 | |||
| 5 | SUBTY | Call by reference | Type reference (TYPE) | SUBTY | '0 ' | Subtype | 20080820 | ||
| 6 | 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 | DATUM | Call by reference | Type reference (TYPE) | BEGDA | Begin Date | 20080905 | |||
| 2 | NLHF | Call by reference | Type reference (TYPE) | P05_HF_FEATURE_RETURN | Return value of NL hire fire features | 20080905 | |||
| 3 | P0000 | Call by reference | Type reference (TYPE) | P0000_TAB | HR Master Record: Infotype 0000 (Actions) | 20080905 | |||
| 4 | P0001 | Call by reference | Type reference (TYPE) | P0001_TAB | HR Master Record: Infotype 0001 (Org. Assignment) | 20080905 | |||
| 5 | PERNR | Call by reference | Type reference (TYPE) | PERNR_D | Personnel Number | 20080905 | |||
| 6 | 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 | DATUM | Call by reference | Type reference (TYPE) | BEGDA | Begin Date | 20080905 | |||
| 2 | GBDAT | Call by reference | Type reference (TYPE) | GBDAT | Date of Birth | 20080820 | |||
| 3 | MOLGA | Call by reference | Type reference (TYPE) | MOLGA | Country Grouping | 20080820 | |||
| 4 | NLARG | Call by reference | Type reference (TYPE) | P05_NLARG_TABLE_TYPE | Table type for feature NLARG | 20080820 | |||
| 5 | P0000 | Call by reference | Type reference (TYPE) | P0000_TAB | HR Master Record: Infotype 0000 (Actions) | 20081031 | |||
| 6 | P0001 | Call by reference | Type reference (TYPE) | P0001_TAB | HR Master Record: Infotype 0001 (Org. Assignment) | 20080820 | |||
| 7 | P0007 | Call by reference | Type reference (TYPE) | P0007_TAB | HR Master Record: Infotype 0001 (Org. Assignment) | 20080820 | |||
| 8 | P0008 | Call by reference | Type reference (TYPE) | P0008_TAB | HR Master Record: Infotype 0001 (Org. Assignment) | 20080820 | |||
| 9 | PERNR | Call by reference | Type reference (TYPE) | PERNR_D | Personnel Number | 20080820 | |||
| 10 | 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 | CONSTANT | Call by reference | Type reference (TYPE) | ABRKN | Payroll constant | 20080610 | |||
| 2 | DATUM | Call by reference | Type reference (TYPE) | ENDDA | End Date | 20080610 | |||
| 3 | KWERT | Value transfer | Type reference (TYPE) | ABRWT | Value of payroll constants | 20080610 | |||
| 4 | MOLGA | Call by reference | Type reference (TYPE) | MOLGA | Country Grouping | 20080610 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Constant not found | 20080611 |
Method READ_T549Q Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | BEGIN_YEAR | Call by reference | Type reference (TYPE) | PABRJ | Payroll Year | 20080829 | |||
| 2 | PERMO | Call by reference | Type reference (TYPE) | PERMO | Period Parameters | 20080829 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Permo not found | 20080829 | ||
| 2 | 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 | DOMAIN | Call by reference | Type reference (TYPE) | DOMNAME | Domain name | 20080611 | |||
| 2 | FORMULA_FOR_PAYMENT | Call by reference | Type reference (TYPE) | STRING | Formula for payment | 20080611 | |||
| 3 | FORMULA_TO_BE_REPLACED | Call by reference | Type reference (TYPE) | STRING | Formula to be replaced | 20080611 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Domain not supported | 20080611 | ||
| 2 | Incorrect method | 20080611 |
Method REPLACE_METHOD_RCLCE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | FORMULA_CODE | Value transfer | Type reference (TYPE) | P05_RCLCE | Formula code | 20080826 | |||
| 2 | METHOD | Call by reference | Type reference (TYPE) | C | Method | 20080826 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Incorrect method | 20080826 |
Method REPLACE_METHOD_RCLCP Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | FORMULA_CODE | Value transfer | Type reference (TYPE) | P05_RCLCP | Formula code | 20080612 | |||
| 2 | METHOD | Call by reference | Type reference (TYPE) | C | Method | 20080612 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Incorrect method | 20080612 |
Method REPLACE_METHOD_RCLCR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | FORMULA_CODE | Value transfer | Type reference (TYPE) | P05_RCLCE | Formula code | 20080826 | |||
| 2 | METHOD | Call by reference | Type reference (TYPE) | C | Method | 20080826 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Incorrect method | 20080826 |
History
| Last changed by/on | SAP | 20081217 |
| SAP Release Created in | 600 |