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 AC_BIWEEKLY Static Attribute Private Type reference (TYPE) PRDUN 04 Time unit biweekly 20091228
2 AC_MONTHLY Static Attribute Private Type reference (TYPE) PRDUN 01 Time unit monthly 20091228
3 AC_SEMIMONTHLY Static Attribute Private Type reference (TYPE) PRDUN 02 Time unit semimonthly 20091228
4 AC_WEEKLY Static Attribute Private Type reference (TYPE) PRDUN 03 Time unit weekly 20091228
Methods
# Method Level Visibility Method type Description Created on
1 CONVERT_ACTUAL_DATE_TO_CNTR3 Static method Public Method Convert actual date to CNTR3 20091228
2 CONVERT_CNTR3_TO_ACTUAL_DATE Static method Public Method Convert CNTR 3 to actual date 20091228
3 GET_N_MONTH_SHIFTED_DATE 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 Importing IS_APER Call by reference Type reference (TYPE) PC2APER structure of table APER in payroll 20091228
2 Importing IV_ACTUAL_DATE Call by reference Type reference (TYPE) DATUM Date 20091228
3 Importing IV_TIME_UNIT Call by reference Type reference (TYPE) PRDUN Payroll Time Units 20091228
4 Returning 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 Importing IS_APER Call by reference Type reference (TYPE) PC2APER structure of table APER in payroll 20091228
2 Importing IV_CNTR3 Call by reference Type reference (TYPE) CNTRN National assignment indicator 20091228
3 Importing IV_CNTR3_OFFSET Call by reference Type reference (TYPE) CNTRN National assignment indicator 20091228
4 Importing IV_TIME_UNIT Call by reference Type reference (TYPE) PRDUN Payroll Time Units 20091228
5 Returning RV_ACTUAL_DAY Value transfer Type reference (TYPE) DATUM Date 20091228
# Exception Resumable Description Created on
1 CX_HRPAYJP_LSA_PAYROLL 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 Importing IV_BEGDA_FLG Call by reference Type reference (TYPE) BOOLE_D Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') 20091228
2 Importing IV_DATE Call by reference Type reference (TYPE) SYDATUM Current Date of Application Server 20091228
3 Importing IV_SHIFT_NO Call by reference Type reference (TYPE) I 20091228
4 Returning 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