SAP ABAP Class CL_HRPADJP_CHARACTER_UTILITIES (Utilities for Japanese specific characters)
Hierarchy
SAP_HRCJP (Software Component) Sub component SAP_HRCJP of SAP_HR
   PA-PA-JP (Application Component) Japan
     PB22 (Package) HR master data: Japan
Properties
Class CL_HRPADJP_CHARACTER_UTILITIES  
Short Description Utilities for Japanese specific characters    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package PB22   HR master data: Japan 
Created 20021112   SAP 
Last change 20021114   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
# Type group / Object type Type Type Description
1 CL_ABAP_LIST_UTILITIES Forward declaration class (CLASS c DEFINITION DEFERRED)  Forward declaration class (CLASS c DEFINITION DEFERRED)
Interfaces
Class CL_HRPADJP_CHARACTER_UTILITIES has no interface implemented.
Friends
Class CL_HRPADJP_CHARACTER_UTILITIES has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 ALL_SPACE Constant Protected Type reference (TYPE) SYSUBRC 3 All space 20021112
2 DOUBLE_TO_SINGLE Constant Protected Type reference (TYPE) C 'S' Double byte to single byte 20021114
3 FALSE Constant Protected Type reference (TYPE) BOOLE_D ' ' False 20021112
4 LT_CONVERSION_CACHE Static Attribute Private Type reference (TYPE) TT_CONVERSION_CACHE Cache table for conversoin 20021112
5 NOT_KATAKANA Constant Protected Type reference (TYPE) SYSUBRC 1 Not Katakana 20021112
6 NO_VALID_TYPE Constant Protected Type reference (TYPE) SYSUBRC 2 Invalide check type 20021112
7 SAP_SYSTEM Constant Protected Type reference (TYPE) SYSUBRC 1 SAP system 20021112
8 SINGLE_TO_DOUBLE Constant Protected Type reference (TYPE) C 'D' Single byte to double byte 20021114
9 TRUE Constant Protected Type reference (TYPE) BOOLE_D 'X' True 20021112
Methods
# Method Level Visibility Method type Description Created on
1 CHECK_KATAKANA Static method Public Method Check wheter characters are Katakana 20021112
2 CONVERSION_CACHE_APPEND Static method Protected Method Append conversion data to cache table 20021112
3 CONVERSION_CACHE_CHECK Static method Protected Method Check cache table for better performance 20021112
4 CONVERT_DBC_TO_SBC Static method Public Method Convert double byte characters to single byte 20021112
5 CONVERT_SBC_DBC Static method Public Method Convert single byte characters <-> double byte 20021114
6 CONVERT_SBC_TO_DBC Static method Public Method Convert sigle byte characters to double byte 20021112
7 CONVERT_SINGLE_DOUBLE Static method Protected Method Call function modules sbc <-> dbc 20021114
Events
Class CL_HRPADJP_CHARACTER_UTILITIES has no event.
Types
Class CL_HRPADJP_CHARACTER_UTILITIES has no local type.
Method Signatures

Method CHECK_KATAKANA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_CHECK_TYPE Call by reference Type reference (TYPE) CLIKE 'ZENGINKYO' Katakana check type 20021112
2 Importing IV_SPACE_CHECK Call by reference Type reference (TYPE) BOOLE_D Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') 20021112
3 Importing IV_TEXT Call by reference Type reference (TYPE) CLIKE Field to be checked 20021114
# Exception Resumable Description Created on
1 ALL_SPACE Field doesn't contain any character but space 20021112
2 INVALID_CHECK_TYPE Check type is not valid 20021112
3 NOT_KATAKANA_CUSTOMER_SYSTEM Field contains non-Katakana characters (in customer system) 20021112
4 NOT_KATAKANA_SAP_SYSTEM Field contains non-Katakana characters (in SAP system) 20021112

Method CONVERSION_CACHE_APPEND Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_CACHE_CHECK Call by reference Type reference (TYPE) BOOLE_D Cache check activation flag 20021114
2 Importing IV_TEXT_AFTER Call by reference Type reference (TYPE) CLIKE Text after conversion 20021112
3 Importing IV_TEXT_BEFORE Call by reference Type reference (TYPE) CLIKE Text before conversion 20021112

Method CONVERSION_CACHE_APPEND on class CL_HRPADJP_CHARACTER_UTILITIES has no exception.

Method CONVERSION_CACHE_CHECK Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_TEXT Call by reference Type reference (TYPE) CLIKE Returning text 20021114
2 Importing IV_CACHE_CHECK Call by reference Type reference (TYPE) BOOLE_D Cache check activation flag 20021114
3 Importing IV_TEXT Call by reference Type reference (TYPE) CLIKE Input text 20021112

Method CONVERSION_CACHE_CHECK on class CL_HRPADJP_CHARACTER_UTILITIES has no exception.

Method CONVERT_DBC_TO_SBC Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_TEXT Value transfer Type reference (TYPE) CLIKE Characters converted 20021113
2 Importing IV_CACHE_CHECK Call by reference Type reference (TYPE) BOOLE_D Cache check activation flag 20021112
3 Importing IV_TEXT Call by reference Type reference (TYPE) CLIKE Characters to be converted 20021113
# Exception Resumable Description Created on
1 OVERFLOW Overflow 20021112

Method CONVERT_SBC_DBC Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_TEXT Value transfer Type reference (TYPE) CLIKE Characters converted 20021114
2 Importing IV_CACHE_CHECK Call by reference Type reference (TYPE) BOOLE_D Cache check activation flag 20021114
3 Importing IV_CONVERT_TYPE Call by reference Type reference (TYPE) C 'D' Convert to 'S': single byte, 'D': double byte 20021114
4 Importing IV_TEXT Call by reference Type reference (TYPE) CLIKE Characters to be converted 20021114
# Exception Resumable Description Created on
1 OVERFLOW Overflow 20021114

Method CONVERT_SBC_TO_DBC Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_TEXT Value transfer Type reference (TYPE) CLIKE Characters converted 20021113
2 Importing IV_CACHE_CHECK Call by reference Type reference (TYPE) BOOLE_D Cache check activation flag 20021112
3 Importing IV_TEXT Call by reference Type reference (TYPE) CLIKE Characters to be converted 20021113
# Exception Resumable Description Created on
1 OVERFLOW Overflow 20021112

Method CONVERT_SINGLE_DOUBLE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CV_TEXT Call by reference Type reference (TYPE) C Convert characters 20021114
2 Importing IV_CONVERT_TYPE Call by reference Type reference (TYPE) C 'D' Convert to 'S': single byte, 'D': double byte 20021114
# Exception Resumable Description Created on
1 OVERFLOW Overflow 20021114
History
Last changed by/on SAP  20021114 
SAP Release Created in 470