SAP ABAP Class CL_HRPAYJP_DATE_UTILITIES (JP Flexible Payroll date utilities)
Hierarchy
☛
SAP_HRCJP (Software Component) Sub component SAP_HRCJP of SAP_HR
⤷
PY-JP (Application Component) Japan
⤷
PC22 (Package) HR accounting: Japan
⤷
⤷
Properties
| Class | CL_HRPAYJP_DATE_UTILITIES | |
| Short Description | JP Flexible Payroll date utilities | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | PC22 | HR accounting: Japan |
| Created | 20091228 | SAP |
| Last change | 20110809 | SAP |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
Class CL_HRPAYJP_DATE_UTILITIES has no forward declaration.
Interfaces
Class CL_HRPAYJP_DATE_UTILITIES has no interface implemented.
Friends
Class CL_HRPAYJP_DATE_UTILITIES has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Static Attribute | Private | Type reference (TYPE) | PRDUN | 04 | Time unit biweekly | 20091228 | ||
| 2 | Static Attribute | Private | Type reference (TYPE) | PRDUN | 01 | Time unit monthly | 20091228 | ||
| 3 | Static Attribute | Private | Type reference (TYPE) | PRDUN | 02 | Time unit semimonthly | 20091228 | ||
| 4 | Static Attribute | Private | Type reference (TYPE) | PRDUN | 03 | Time unit weekly | 20091228 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Static method | Public | Method | Convert actual date to CNTR3 | 20091228 | |
| 2 | Static method | Public | Method | Convert CNTR 3 to actual date | 20091228 | |
| 3 | Static method | Public | Method | Shift some months to a date | 20091228 |
Events
Class CL_HRPAYJP_DATE_UTILITIES has no event.
Types
Class CL_HRPAYJP_DATE_UTILITIES has no local type.
Method Signatures
Method CONVERT_ACTUAL_DATE_TO_CNTR3 Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IS_APER | Call by reference | Type reference (TYPE) | PC2APER | structure of table APER in payroll | 20091228 | |||
| 2 | IV_ACTUAL_DATE | Call by reference | Type reference (TYPE) | DATUM | Date | 20091228 | |||
| 3 | IV_TIME_UNIT | Call by reference | Type reference (TYPE) | PRDUN | Payroll Time Units | 20091228 | |||
| 4 | RV_CNTR3 | Value transfer | Type reference (TYPE) | CNTRN | National assignment indicator | 20091228 |
Method CONVERT_ACTUAL_DATE_TO_CNTR3 on class CL_HRPAYJP_DATE_UTILITIES has no exception.
Method CONVERT_CNTR3_TO_ACTUAL_DATE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IS_APER | Call by reference | Type reference (TYPE) | PC2APER | structure of table APER in payroll | 20091228 | |||
| 2 | IV_CNTR3 | Call by reference | Type reference (TYPE) | CNTRN | National assignment indicator | 20091228 | |||
| 3 | IV_CNTR3_OFFSET | Call by reference | Type reference (TYPE) | CNTRN | National assignment indicator | 20091228 | |||
| 4 | IV_TIME_UNIT | Call by reference | Type reference (TYPE) | PRDUN | Payroll Time Units | 20091228 | |||
| 5 | RV_ACTUAL_DAY | Value transfer | Type reference (TYPE) | DATUM | Date | 20091228 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Exception class for JP LC LSA | 20091229 |
Method GET_N_MONTH_SHIFTED_DATE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_BEGDA_FLG | Call by reference | Type reference (TYPE) | BOOLE_D | Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') | 20091228 | |||
| 2 | IV_DATE | Call by reference | Type reference (TYPE) | SYDATUM | Current Date of Application Server | 20091228 | |||
| 3 | IV_SHIFT_NO | Call by reference | Type reference (TYPE) | I | 20091228 | ||||
| 4 | RV_SHIFTED_DATE | Value transfer | Type reference (TYPE) | SYDATUM | Current Date of Application Server | 20091228 |
Method GET_N_MONTH_SHIFTED_DATE on class CL_HRPAYJP_DATE_UTILITIES has no exception.
History
| Last changed by/on | SAP | 20110809 |
| SAP Release Created in |