SAP ABAP Class CL_HRPADTW_CHARACTER_UTILITIES (Utilities for Taiwan specific characters)
Hierarchy
SAP_HRCTW (Software Component) Sub component SAP_HRCTW of SAP_HR
   PA-PA-TW (Application Component) Taiwan
     PB42 (Package) HR Master Data: Taiwan
Properties
Class CL_HRPADTW_CHARACTER_UTILITIES  
Short Description Utilities for Taiwan specific characters    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package PB42   HR Master Data: Taiwan 
Created 20110711   SAP 
Last change 20130531   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_HRPADTW_CHARACTER_UTILITIES has no interface implemented.
Friends
Class CL_HRPADTW_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 20110711
2 DOUBLE_TO_SINGLE Constant Protected Type reference (TYPE) C 'S' Double byte to single byte 20110711
3 FALSE Constant Protected Type reference (TYPE) BOOLE_D ' ' False 20110711
4 LT_CONVERSION_CACHE Static Attribute Private Type reference (TYPE) TT_CONVERSION_CACHE Cache table for conversoin 20110711
5 NOT_KATAKANA Constant Protected Type reference (TYPE) SYSUBRC 1 Not Katakana 20110711
6 NO_VALID_TYPE Constant Protected Type reference (TYPE) SYSUBRC 2 Invalide check type 20110711
7 SAP_SYSTEM Constant Protected Type reference (TYPE) SYSUBRC 1 SAP system 20110711
8 SINGLE_TO_DOUBLE Constant Protected Type reference (TYPE) C 'D' Single byte to double byte 20110711
9 TRUE Constant Protected Type reference (TYPE) BOOLE_D 'X' True 20110711
Methods
# Method Level Visibility Method type Description Created on
1 CHECK_KATAKANA Static method Public Method Check wheter characters are Katakana 20110711
2 CONVERSION_CACHE_APPEND Static method Protected Method Append conversion data to cache table 20110711
3 CONVERSION_CACHE_CHECK Static method Protected Method Check cache table for better performance 20110711
4 CONVERT_DBC_TO_SBC Static method Public Method Convert double byte characters to single byte 20110711
5 CONVERT_SBC_DBC Static method Public Method Convert single byte characters <-> double byte 20110711
6 CONVERT_SBC_TO_DBC Static method Public Method Convert sigle byte characters to double byte 20110711
7 CONVERT_SINGLE_DOUBLE Static method Protected Method Call function modules sbc <-> dbc 20110711
Events
Class CL_HRPADTW_CHARACTER_UTILITIES has no event.
Types
Class CL_HRPADTW_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 20110711
2 Importing IV_SPACE_CHECK Call by reference Type reference (TYPE) BOOLE_D Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') 20110711
3 Importing IV_TEXT Call by reference Type reference (TYPE) CLIKE Field to be checked 20110711
# Exception Resumable Description Created on
1 ALL_SPACE Field doesn't contain any character but space 20110711
2 INVALID_CHECK_TYPE Check type is not valid 20110711
3 NOT_KATAKANA_CUSTOMER_SYSTEM Field contains non-Katakana characters (in customer system) 20110711
4 NOT_KATAKANA_SAP_SYSTEM Field contains non-Katakana characters (in SAP system) 20110711

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 20110711
2 Importing IV_TEXT_AFTER Call by reference Type reference (TYPE) CLIKE Text after conversion 20110711
3 Importing IV_TEXT_BEFORE Call by reference Type reference (TYPE) CLIKE Text before conversion 20110711

Method CONVERSION_CACHE_APPEND on class CL_HRPADTW_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 20110711
2 Importing IV_CACHE_CHECK Call by reference Type reference (TYPE) BOOLE_D Cache check activation flag 20110711
3 Importing IV_TEXT Call by reference Type reference (TYPE) CLIKE Input text 20110711

Method CONVERSION_CACHE_CHECK on class CL_HRPADTW_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 20110711
2 Importing IV_CACHE_CHECK Call by reference Type reference (TYPE) BOOLE_D Cache check activation flag 20110711
3 Importing IV_TEXT Call by reference Type reference (TYPE) CLIKE Characters to be converted 20110711
# Exception Resumable Description Created on
1 OVERFLOW Overflow 20110711

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 20110711
2 Importing IV_CACHE_CHECK Call by reference Type reference (TYPE) BOOLE_D Cache check activation flag 20110711
3 Importing IV_CONVERT_TYPE Call by reference Type reference (TYPE) C 'D' Convert to 'S': single byte, 'D': double byte 20110711
4 Importing IV_TEXT Call by reference Type reference (TYPE) CLIKE Characters to be converted 20110711
# Exception Resumable Description Created on
1 OVERFLOW Overflow 20110711

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 20110711
2 Importing IV_CACHE_CHECK Call by reference Type reference (TYPE) BOOLE_D Cache check activation flag 20110711
3 Importing IV_TEXT Call by reference Type reference (TYPE) CLIKE Characters to be converted 20110711
# Exception Resumable Description Created on
1 OVERFLOW Overflow 20110711

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 20110711
2 Importing IV_CONVERT_TYPE Call by reference Type reference (TYPE) C 'D' Convert to 'S': single byte, 'D': double byte 20110711
# Exception Resumable Description Created on
1 OVERFLOW Overflow 20110711
History
Last changed by/on SAP  20130531 
SAP Release Created in 600