SAP ABAP Class CL_HRPAYJP_FILEWRITER_UTIL (Utility class for file writer)
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_FILEWRITER_UTIL  
Short Description Utility class for file writer    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package PC22   HR accounting: Japan 
Created 20040818   SAP 
Last change 20041006   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
# Type group / Object type Type Type Description
1 ABAP Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
Interfaces
Class CL_HRPAYJP_FILEWRITER_UTIL has no interface implemented.
Friends
Class CL_HRPAYJP_FILEWRITER_UTIL has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 LV_WP_CODEPAGE Static Attribute Private Type reference (TYPE) CPCODEPAGE Code page of current work process 20040818
Methods
# Method Level Visibility Method type Description Created on
1 CLASS_CONSTRUCTOR Static method Public Constructor CLASS_CONSTRUCTOR 20040818
2 CONVERT_CHARCODE_X2X Static method Public Method Convert character code of XString table 20040818
3 DOWNLOAD_XSTRING_TAB Static method Public Method Download XString table to frontend 20040818
4 GET_BINARY_STREAM Static method Private Method Convert Xstring table to fixed length hex table 20040818
5 GET_CRLF_HEX Static method Public Method Get CR+LF in hex 20040818
6 GET_WP_CODEPAGE Static method Private Method Get codepage of current work process 20040818
Events
Class CL_HRPAYJP_FILEWRITER_UTIL has no event.
Types
Class CL_HRPAYJP_FILEWRITER_UTIL has no local type.
Method Signatures

Method CLASS_CONSTRUCTOR Signature

Method CLASS_CONSTRUCTOR on class CL_HRPAYJP_FILEWRITER_UTIL has no parameter.
Method CLASS_CONSTRUCTOR on class CL_HRPAYJP_FILEWRITER_UTIL has no exception.

Method CONVERT_CHARCODE_X2X Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CV_CONTENTS Call by reference Type reference (TYPE) XSTRING String to be converted 20040818
2 Importing IV_IN_CODEPAGE Call by reference Type reference (TYPE) CPCODEPAGE Codepage of data source 20040818
3 Importing IV_OUT_CODEPAGE Call by reference Type reference (TYPE) CPCODEPAGE Codepage of downloaded file 20040818
# Exception Resumable Description Created on
1 CX_HRPAYJP_FILEWRITER_ERROR Exception class for file interface tools 20040818

Method DOWNLOAD_XSTRING_TAB Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_DATA Call by reference Type reference (TYPE) HRPAYJP_XSTRING_TAB XString table 20040818
2 Importing IV_ADD_CRLF Call by reference Type reference (TYPE) ABAP_BOOL ABAP_TRUE Add CR+LF at the end of each record 20040818
3 Importing IV_FILE_NAME Call by reference Type reference (TYPE) STRING File name 20040818
4 Importing IV_IN_CODEPAGE Call by reference Type reference (TYPE) CPCODEPAGE Codepage of data source 20040818
5 Importing IV_OUT_CODEPAGE Call by reference Type reference (TYPE) CPCODEPAGE '8000' Codepage of downloaded file 20040818
# Exception Resumable Description Created on
1 CX_HRPAYJP_FILEWRITER_ERROR Exception class for file interface tools 20040818

Method GET_BINARY_STREAM Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_FILE_BUFFER_HEX Call by reference Type reference (TYPE) HRPAYJP_XSTRING_TAB Data source (XString table) 20040818
2 Returning RT_BINARY_STREAM Value transfer Type reference (TYPE) TT_BINARY_STREAM Binary stream table (Fixed length HEX table) 20040818
# Exception Resumable Description Created on
1 CX_HRPAYJP_FILEWRITER_ERROR Exception class for file interface tools 20040818

Method GET_CRLF_HEX Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_OUT_CODEPAGE Call by reference Type reference (TYPE) CPCODEPAGE Codepage of return value 20040818
2 Returning RV_CRLF_HEX Value transfer Type reference (TYPE) XSTRING CR+LF in specifed codepage 20040818
# Exception Resumable Description Created on
1 CX_HRPAYJP_FILEWRITER_ERROR Exception class for file interface tools 20040818

Method GET_WP_CODEPAGE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RV_WP_CODEPAGE Value transfer Type reference (TYPE) CPCODEPAGE Codepage of current work process 20040818

Method GET_WP_CODEPAGE on class CL_HRPAYJP_FILEWRITER_UTIL has no exception.
History
Last changed by/on SAP  20041006 
SAP Release Created in 600