SAP ABAP Class CL_UMG_IUUC_CONVERTER (IUUC: Conversion of container and key fields)
Hierarchy
SAP_BASIS (Software Component) SAP Basis Component
   BC-I18-UNI (Application Component) I18N Unicode
     SUMIG (Package) Unicode Migration: Tabellen Umsetzer + Reparatur Tool
Properties
Class CL_UMG_IUUC_CONVERTER  
Short Description IUUC: Conversion of container and key fields    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package SUMIG   Unicode Migration: Tabellen Umsetzer + Reparatur Tool 
Created 20080617   SAP 
Last change 20110908   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_UMG_IUUC_CONVERTER has no interface implemented.
Friends
Class CL_UMG_IUUC_CONVERTER has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 ACTIVE_CODEPAGES Instance attribute Private Type reference (TYPE) T_CODEPAGES Active Codepage of Language List 20080618
2 BIN_CONVERTERS Instance attribute Private Type reference (TYPE) T_BIN_CONVERTER Converter objects 20080625
3 HAS_CONTAINER Instance attribute Private Type reference (TYPE) ABAP_BOOL 20080617
4 LANGUAGE_LIST Instance attribute Private Type reference (TYPE) UMGTLANGCP Language Codepage Mappings 20080617
5 NUC_CONT_HANDLER Instance attribute Private Object reference (TYPE REF TO) CL_UMG_CONTAINER Container handling in Unicode conversion 20080701
6 TABLE_FIELDS Instance attribute Private Type reference (TYPE) T_FIELDINFO 20080620
7 TEXT_CONVERTERS Instance attribute Private Type reference (TYPE) T_TEXT_CONVERTER Converter objects 20080624
8 UC_CONT_HANDLER Instance attribute Private Object reference (TYPE REF TO) CL_UMG_CONTAINER Container handling in Unicode conversion 20080701
Methods
# Method Level Visibility Method type Description Created on
1 CONSTRUCTOR Instance method Public Constructor CONSTRUCTOR 20080617
2 CONVERT_CONTAINERS Instance method Public Method Converts all container fields of a structure 20080617
3 CONVERT_FIELD Instance method Private Method Converts a single table field 20080625
4 CONVERT_KEY Instance method Private Method Converts all key fields of a structure 20080617
5 GET_BIN_CONVERTER Instance method Private Method Creates and returns a converter object 20080625
6 GET_TEXT_CONVERTER Instance method Private Method Creates and returns a converter object 20080624
7 INITIALIZE_FIELD_INFO Instance method Private Method 20080617
8 KEY_VARIANTS Instance method Public Method Convert all key fields of structure for all active code page 20080618
9 PREPARE_FINFO Instance method Private Method Create field information for a part of a container field 20080711
10 RESET Instance method Public Method Resets the status for processing of a new table 20080617
Events
Class CL_UMG_IUUC_CONVERTER has no event.
Types
Class CL_UMG_IUUC_CONVERTER has no local type.
Method Signatures

Method CONSTRUCTOR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_LANGUAGE_LIST Call by reference Type reference (TYPE) UMGTLANGCP Language Codepage Mappings 20080711
2 Importing IM_SPUMG_SETTINGS Call by reference Type reference (TYPE) UMGSSETTINGS Unicode conversion tool: structure for settings 20080729
3 Importing IM_STRUCTURE Call by reference Type reference (TYPE) TABNAME Table Name 20080617
4 Importing IM_UMGCONTAINER Call by reference Type reference (TYPE) UMGTUMGCONT UMGCONTAINER as internal table (for testing conly) 20080715
# Exception Resumable Description Created on
1 CX_UMG_IUUC_CONV_CREATE_FAILED Exceptions for the creation of IUUC converter object 20080725

Method CONVERT_CONTAINERS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EX_CONTAINERS Call by reference Type reference (TYPE) UMGTTRGFIELDS IUUC: Unicode converted contents of a table field 20080617
2 Importing IM_SRC_CP Call by reference Type reference (TYPE) CPCODEPAGE Source code page 20080617
3 Importing IM_TRG_CP Call by reference Type reference (TYPE) CPCODEPAGE Target code page 20080617
4 Importing IM_WA Call by reference Type reference (TYPE) ANY Work area 20080617
# Exception Resumable Description Created on
1 CX_UMG_IUUC_CONVERSION_ERROR Exceptions for the creation of IUUC converter object 20080725

Method CONVERT_FIELD Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EX_RESULT Call by reference Type reference (TYPE) XSTRING Hex. field contents converted to Unicode 20080625
2 Importing IM_BIN_CONVERTER Call by reference Object reference (TYPE REF TO) CL_ABAP_CONV_X2X_CE Code Page and Endian Conversion Between External Formats 20080625
3 Importing IM_FIELD Call by reference Type reference (TYPE) ANY Field content 20080625
4 Importing IM_FIELD_INFO Call by reference Type reference (TYPE) S_FIELDINFO Is character like ? 20080625
5 Importing IM_OFFLEN_TAB_NUC Call by reference Type reference (TYPE) UMGTOFFLEN Field Name 20080701
6 Importing IM_OFFLEN_TAB_UC Call by reference Type reference (TYPE) UMGTOFFLEN Field Name 20080701
7 Importing IM_TEXT_CONVERTER Call by reference Object reference (TYPE REF TO) CL_ABAP_CONV_OBJ A CCC Converter Object 20080625
8 Importing IM_TRG_CP Call by reference Type reference (TYPE) CPCODEPAGE Target Codepage 20080625
# Exception Resumable Description Created on
1 CX_UMG_IUUC_CONVERSION_ERROR Exceptions for the creation of IUUC converter object 20080725

Method CONVERT_KEY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EX_KEY Value transfer Type reference (TYPE) UMGTTRGFIELDS IUUC: Unicode converted contents of a record(key components) 20080618
2 Importing IM_SRC_CP Call by reference Type reference (TYPE) CPCODEPAGE Source Codepage 20080625
3 Importing IM_TRG_CP Call by reference Type reference (TYPE) CPCODEPAGE Target Codepage 20080617
4 Importing IM_WA Call by reference Type reference (TYPE) ANY Work area 20080617
# Exception Resumable Description Created on
1 CX_UMG_IUUC_CONVERSION_ERROR Exceptions for the creation of IUUC converter object 20080725

Method GET_BIN_CONVERTER Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_SRC_ENDIAN Call by reference Type reference (TYPE) ABAP_ENDIAN Source code page 20080625
2 Importing IM_TRG_ENDIAN Call by reference Type reference (TYPE) ABAP_ENDIAN Target code page 20080625
3 Returning RE_BIN_CONVERTER Value transfer Object reference (TYPE REF TO) CL_ABAP_CONV_X2X_CE A CCC Converter Object 20080625
# Exception Resumable Description Created on
1 CX_UMG_IUUC_CONVERSION_ERROR Exceptions for the creation of IUUC converter object 20080729

Method GET_TEXT_CONVERTER Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_SRC_CP Call by reference Type reference (TYPE) CPCODEPAGE Source code page 20080624
2 Importing IM_TRG_CP Call by reference Type reference (TYPE) CPCODEPAGE Target code page 20080624
3 Returning RE_TEXT_CONVERTER Value transfer Object reference (TYPE REF TO) CL_ABAP_CONV_OBJ A CCC Converter Object 20080625
# Exception Resumable Description Created on
1 CX_UMG_IUUC_CONVERSION_ERROR Exceptions for the creation of IUUC converter object 20080729

Method INITIALIZE_FIELD_INFO Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_STRUCTURE Call by reference Type reference (TYPE) TABNAME Table Name 20080617
# Exception Resumable Description Created on
1 CX_UMG_IUUC_CONV_CREATE_FAILED Exceptions for the creation of IUUC converter object 20080725

Method KEY_VARIANTS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EX_KEYS Call by reference Type reference (TYPE) UMGTTRGKEYS IUUC: Unicode converted contents of a record(key components) 20080618
2 Importing IM_TRG_CP Call by reference Type reference (TYPE) CPCODEPAGE Target code page 20080618
3 Importing IM_WA Call by reference Type reference (TYPE) ANY Work area 20080618
# Exception Resumable Description Created on
1 CX_UMG_IUUC_CONVERSION_ERROR Exceptions for the creation of IUUC converter object 20080725

Method PREPARE_FINFO Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EX_FINFO Call by reference Type reference (TYPE) S_FIELDINFO 20080711
2 Importing IM_OFFLEN_WA Call by reference Type reference (TYPE) UMGSOFFLEN Offset and length 20080716

Method PREPARE_FINFO on class CL_UMG_IUUC_CONVERTER has no exception.

Method RESET Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_STRUCTURE Call by reference Type reference (TYPE) TABNAME Table Name 20080617
2 Importing IM_UMGCONTAINER Call by reference Type reference (TYPE) UMGTUMGCONT UMGCONTAINER as internal table( for testing only) 20080715
# Exception Resumable Description Created on
1 CX_UMG_IUUC_CONV_CREATE_FAILED Exceptions for the creation of IUUC converter object 20080725
History
Last changed by/on SAP  20110908 
SAP Release Created in 712