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 | ![]() |
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 | ![]() |
Constant | Protected | Type reference (TYPE) | SYSUBRC | 3 | All space | 20110711 | |
2 | ![]() |
Constant | Protected | Type reference (TYPE) | C | 'S' | Double byte to single byte | 20110711 | |
3 | ![]() |
Constant | Protected | Type reference (TYPE) | BOOLE_D | ' ' | False | 20110711 | |
4 | ![]() |
Static Attribute | Private | Type reference (TYPE) | TT_CONVERSION_CACHE | Cache table for conversoin | 20110711 | ||
5 | ![]() |
Constant | Protected | Type reference (TYPE) | SYSUBRC | 1 | Not Katakana | 20110711 | |
6 | ![]() |
Constant | Protected | Type reference (TYPE) | SYSUBRC | 2 | Invalide check type | 20110711 | |
7 | ![]() |
Constant | Protected | Type reference (TYPE) | SYSUBRC | 1 | SAP system | 20110711 | |
8 | ![]() |
Constant | Protected | Type reference (TYPE) | C | 'D' | Single byte to double byte | 20110711 | |
9 | ![]() |
Constant | Protected | Type reference (TYPE) | BOOLE_D | 'X' | True | 20110711 |
Methods
# | Method | Level | Visibility | Method type | Description | Created on |
---|---|---|---|---|---|---|
1 | ![]() |
Static method | Public | Method | Check wheter characters are Katakana | 20110711 |
2 | ![]() |
Static method | Protected | Method | Append conversion data to cache table | 20110711 |
3 | ![]() |
Static method | Protected | Method | Check cache table for better performance | 20110711 |
4 | ![]() |
Static method | Public | Method | Convert double byte characters to single byte | 20110711 |
5 | ![]() |
Static method | Public | Method | Convert single byte characters <-> double byte | 20110711 |
6 | ![]() |
Static method | Public | Method | Convert sigle byte characters to double byte | 20110711 |
7 | ![]() |
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 | ![]() |
IV_CHECK_TYPE | Call by reference | Type reference (TYPE) | CLIKE | 'ZENGINKYO' | Katakana check type | 20110711 | |
2 | ![]() |
IV_SPACE_CHECK | Call by reference | Type reference (TYPE) | BOOLE_D | Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') | 20110711 | ||
3 | ![]() |
IV_TEXT | Call by reference | Type reference (TYPE) | CLIKE | Field to be checked | 20110711 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
Field doesn't contain any character but space | 20110711 | |
2 | ![]() |
Check type is not valid | 20110711 | |
3 | ![]() |
Field contains non-Katakana characters (in customer system) | 20110711 | |
4 | ![]() |
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 | ![]() |
IV_CACHE_CHECK | Call by reference | Type reference (TYPE) | BOOLE_D | Cache check activation flag | 20110711 | ||
2 | ![]() |
IV_TEXT_AFTER | Call by reference | Type reference (TYPE) | CLIKE | Text after conversion | 20110711 | ||
3 | ![]() |
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 | ![]() |
EV_TEXT | Call by reference | Type reference (TYPE) | CLIKE | Returning text | 20110711 | ||
2 | ![]() |
IV_CACHE_CHECK | Call by reference | Type reference (TYPE) | BOOLE_D | Cache check activation flag | 20110711 | ||
3 | ![]() |
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 | ![]() |
EV_TEXT | Value transfer | Type reference (TYPE) | CLIKE | Characters converted | 20110711 | ||
2 | ![]() |
IV_CACHE_CHECK | Call by reference | Type reference (TYPE) | BOOLE_D | Cache check activation flag | 20110711 | ||
3 | ![]() |
IV_TEXT | Call by reference | Type reference (TYPE) | CLIKE | Characters to be converted | 20110711 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
Overflow | 20110711 |
Method CONVERT_SBC_DBC Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
EV_TEXT | Value transfer | Type reference (TYPE) | CLIKE | Characters converted | 20110711 | ||
2 | ![]() |
IV_CACHE_CHECK | Call by reference | Type reference (TYPE) | BOOLE_D | Cache check activation flag | 20110711 | ||
3 | ![]() |
IV_CONVERT_TYPE | Call by reference | Type reference (TYPE) | C | 'D' | Convert to 'S': single byte, 'D': double byte | 20110711 | |
4 | ![]() |
IV_TEXT | Call by reference | Type reference (TYPE) | CLIKE | Characters to be converted | 20110711 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
Overflow | 20110711 |
Method CONVERT_SBC_TO_DBC Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
EV_TEXT | Value transfer | Type reference (TYPE) | CLIKE | Characters converted | 20110711 | ||
2 | ![]() |
IV_CACHE_CHECK | Call by reference | Type reference (TYPE) | BOOLE_D | Cache check activation flag | 20110711 | ||
3 | ![]() |
IV_TEXT | Call by reference | Type reference (TYPE) | CLIKE | Characters to be converted | 20110711 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
Overflow | 20110711 |
Method CONVERT_SINGLE_DOUBLE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
CV_TEXT | Call by reference | Type reference (TYPE) | C | Convert characters | 20110711 | ||
2 | ![]() |
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 | 20110711 |
History
Last changed by/on | SAP | 20130531 |
SAP Release Created in | 600 |