SAP ABAP Class CL_UMG_CONTAINER (Container handling in Unicode conversion)
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_CONTAINER  
Short Description Container handling in Unicode conversion    
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 20041227   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)
2 CL_UMG_CONTAINER Forward declaration class (CLASS c DEFINITION DEFERRED)  Forward declaration class (CLASS c DEFINITION DEFERRED)
Interfaces
Class CL_UMG_CONTAINER has no interface implemented.
Friends
Class CL_UMG_CONTAINER has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 CONTCACHE Instance attribute Private Type reference (TYPE) UMGTCONTCACHE Structure for caching known offset informations 20050120
2 CONTINF Instance attribute Public Type reference (TYPE) UMGTCONTINF Container info 20050120
3 C_LOG_ERROR Constant Public Type reference (TYPE) UMGACELT 'E' Container: Error log type 20050912
4 C_LOG_INFO Constant Public Type reference (TYPE) UMGACELT 'I' Container: Error log type 20050912
5 C_LOG_NO_ENTRY Constant Public Type reference (TYPE) UMGACELT 'N' Container: Error log type 20050912
6 C_LOG_WARNING Constant Public Type reference (TYPE) UMGACELT 'W' Container: Error log type 20050912
7 C_MODE_ANALYSIS Constant Public Type reference (TYPE) UMGACONTMODE 'A' Container Mode 20071205
8 C_MODE_IUUC_NUC Constant Public Type reference (TYPE) UMGACONTMODE 'I' Container Mode 20080701
9 C_MODE_IUUC_UC Constant Public Type reference (TYPE) UMGACONTMODE 'H' Container Mode 20080701
10 C_MODE_REPAIR Constant Public Type reference (TYPE) UMGACONTMODE 'R' Container Mode 20071205
11 C_TYP_DIRECT Constant Public Type reference (TYPE) UMGACONTTYPE 'D' Container type 20050128
12 C_TYP_DIRECT_KEY Constant Public Type reference (TYPE) UMGACONTTYPE 'E' Container type 20071121
13 C_TYP_INDIRECT Constant Public Type reference (TYPE) UMGACONTTYPE 'I' Container type 20050128
14 C_TYP_INDIRECT_KEY Constant Public Type reference (TYPE) UMGACONTTYPE 'J' Container type 20071121
15 C_TYP_INDIRECT_KEY_CD6 Constant Public Type reference (TYPE) UMGACONTTYPE 'L' Container type 20090625
16 C_TYP_INDIRECT_KEY_CD6_NOTR Constant Public Type reference (TYPE) UMGACONTTYPE 'K' Container type 20090909
17 C_TYP_REPLACE Constant Public Type reference (TYPE) UMGACONTTYPE 'R' Container type 20050128
18 MODE Instance attribute Private Type reference (TYPE) UMGACONTMODE Container Mode 20071205
19 NTABCD6 Static Attribute Private Type reference (TYPE) UMGTNTCD6 Table for UMGNTCD6 20090625
20 TABNAME Instance attribute Private Type reference (TYPE) TABNAME Table Name 20050124
21 UMGCONTAINER Static Attribute Private Type reference (TYPE) UMGTUMGCONT UMGCONTAINER as internal table 20050127
22 WRITELOG Instance attribute Private Type reference (TYPE) ABAP_BOOL Write log for bad container definitions 20050127
Methods
# Method Level Visibility Method type Description Created on
1 CALCULATE_OFFLENNAM_FROM_DDIC Static method Private Method Get offest and length information from dictionary 20050120
2 CALCULATE_OFFLEN_FROM_DDIC Static method Private Method Get offest and length information from dictionary 20050120
3 CHARANDBYTE_OFFSET Static method Private Method Returns the character offset of a given field 20080724
4 COMPLETE_FIELD Static method Private Method Returns Offset/Length values for whole container field 20080718
5 CREATE_CACHED_INFO Static method Private Method Create cached container info 20050121
6 CREATE_INSTANCE Static method Public Method Create Object with container info for given table 20050119
7 DATA_LENGTH Static method Private Method Returns the character or byte length of a field 20080718
8 FIELD_IS_ANALYZED Static method Private Method Check if a field of the substructure has to be analyzed 20080718
9 GET_OFF_LEN_TAB Instance method Public Method Calculate offset and lengths including implicit substructure 20041227
10 IS_CONTAINER_FIELD Instance method Public Method Check if a field is the container field 20090707
11 READ_FIELD_INFO Static method Private Method Read the nametab for a given structure 20080718
12 READ_FIELD_INFO_CD6 Static method Private Method Read own nametab UMGNTCD6 for a given structure 20090626
13 WRITE_LOG Static method Private Method Write a message in SPUMG/SUMG log in case of invalid info 20090707
Events
Class CL_UMG_CONTAINER has no event.
Types
Class CL_UMG_CONTAINER has no local type.
Method Signatures

Method CALCULATE_OFFLENNAM_FROM_DDIC Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EX_OFFLENNAM Call by reference Type reference (TYPE) UMGTOFFLENNAM Offset- und Längentabelle 20050120
2 Exporting EX_TRUNCATED Call by reference Type reference (TYPE) ABAP_BOOL Substructure longer than container ? 20090903
3 Importing IM_MAX_LEN Call by reference Type reference (TYPE) INT4 Maximale Länge 20050124
4 Importing IM_MODE Call by reference Type reference (TYPE) UMGACONTMODE Container Mode 20071205
5 Importing IM_TABNAME Call by reference Type reference (TYPE) TABNAME Tabellen- und Strukturname 20050120
6 Importing IM_TYPE Call by reference Type reference (TYPE) UMGACONTTYPE Container type 20071122
# Exception Resumable Description Created on
1 DDIF_NAMETAB_GET_FAILED Aufruf von DDIF_NAMETAB_GET gescheitert 20050120

Method CALCULATE_OFFLEN_FROM_DDIC Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EX_OFFLEN Call by reference Type reference (TYPE) UMGTOFFLEN Offset- und Längentabelle 20050120
2 Exporting EX_TRUNCATED Call by reference Type reference (TYPE) ABAP_BOOL Substructure longer than container ? 20090903
3 Importing IM_MAX_LEN Call by reference Type reference (TYPE) INT4 Maximale Länge 20050124
4 Importing IM_MODE Call by reference Type reference (TYPE) UMGACONTMODE Container Mode 20071205
5 Importing IM_TABNAME Call by reference Type reference (TYPE) TABNAME Tabellen- und Strukturname 20050120
6 Importing IM_TYPE Call by reference Type reference (TYPE) UMGACONTTYPE Container type 20071121
# Exception Resumable Description Created on
1 DDIF_NAMETAB_GET_FAILED Aufruf von DDIF_NAMETAB_GET gescheitert 20050120

Method CHARANDBYTE_OFFSET Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_BYTE_OFFSET Call by reference Type reference (TYPE) DOFFSET Byte Offset of a field 20080724
2 Importing IM_MODE Call by reference Type reference (TYPE) UMGACONTMODE Container Mode 20080724
3 Returning RE_CB_OFFSET Value transfer Type reference (TYPE) S_CB_OFFSET Character/Byte Offset 20080724

Method CHARANDBYTE_OFFSET on class CL_UMG_CONTAINER has no exception.

Method COMPLETE_FIELD Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_MAX_LEN Call by reference Type reference (TYPE) I Character Length of Container Field 20080718
2 Importing IM_MODE Call by reference Type reference (TYPE) UMGACONTMODE Container Mode 20080718
3 Returning RE_OFFLEN_WA Value transfer Type reference (TYPE) UMGSOFFLEN Offset and length 20080718

Method COMPLETE_FIELD on class CL_UMG_CONTAINER has no exception.

Method CREATE_CACHED_INFO Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EX_CONTCACHE_WA Call by reference Type reference (TYPE) UMGSCONTCACHE Neue Cache-Zeilen 20050121
2 Importing IM_CONTFIELDNAME Call by reference Type reference (TYPE) UMGACONTFIELD Name des Containerfelds 20050121
3 Importing IM_CONTFIELDVALUE Call by reference Type reference (TYPE) CLIKE Containerfeldwert 20050121
4 Importing IM_CONTINFO Call by reference Type reference (TYPE) UMGTCONTINF Container-Info 20050126
5 Importing IM_LOG Call by reference Type reference (TYPE) ABAP_BOOL 20050125
6 Importing IM_MODE Call by reference Type reference (TYPE) UMGACONTMODE Container mode 20071205
7 Importing IM_STRUC Call by reference Type reference (TYPE) UMGASTRUC Zugrunde liegende Struktur für Containerfelder (direkt) 20050121
8 Importing IM_TABNAME Call by reference Type reference (TYPE) TABNAME Tab.-Name 20050124

Method CREATE_CACHED_INFO on class CL_UMG_CONTAINER has no exception.

Method CREATE_INSTANCE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EX_CONTAINER Call by reference Object reference (TYPE REF TO) CL_UMG_CONTAINER Objekt mit Containerinformation 20050119
2 Importing IM_LOG Call by reference Type reference (TYPE) ABAP_BOOL ABAP_FALSE 20050125
3 Importing IM_MODE Call by reference Type reference (TYPE) UMGACONTMODE Container Mode 20071205
4 Importing IM_TABNAME Call by reference Type reference (TYPE) CLIKE Tab.-Name 20050119
5 Importing IM_UMGCONTAINER Call by reference Type reference (TYPE) UMGTUMGCONT UMGCONTAINER als interne Tabelle 20050127
6 Importing IM_UMGNTCD6 Call by reference Type reference (TYPE) UMGTNTCD6 Table for UMGNTCD6 20090625
# Exception Resumable Description Created on
1 NO_CONTAINER_FIELDS_FOUND Tabelle enthält keine Containerfelder 20050119

Method DATA_LENGTH Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_FIELD_INFO Call by reference Type reference (TYPE) DFIES DD Interface: Table Fields for DDIF_FIELDINFO_GET 20080718
2 Returning RE_LENGTH Value transfer Type reference (TYPE) I Character or byte length of a field 20080718

Method DATA_LENGTH on class CL_UMG_CONTAINER has no exception.

Method FIELD_IS_ANALYZED Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_FIELD_INFO Call by reference Type reference (TYPE) DFIES ABAP/4 Dictionary: Screen data type for Screen Painter 20090610
2 Importing IM_MODE Call by reference Type reference (TYPE) UMGACONTMODE Container Mode 20080718
3 Importing IM_TYPE Call by reference Type reference (TYPE) UMGACONTTYPE Container type 20090610
4 Returning RE_ANALYZED Value transfer Type reference (TYPE) ABAP_BOOL 20080718

Method FIELD_IS_ANALYZED on class CL_UMG_CONTAINER has no exception.

Method GET_OFF_LEN_TAB Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EX_OFFLEN Call by reference Type reference (TYPE) UMGTOFFLEN Offset- und Längentabelle 20050120
2 Importing IM_BASE_OFFSET Call by reference Type reference (TYPE) INT4 Basisoffset zur Addition zu allen Offsets 20050121
3 Importing IM_BASE_OFFSET_BYTE Call by reference Type reference (TYPE) INT4 Byte base offset to add to all offsets 20080724
4 Importing IM_CONTFIELDNAME Call by reference Type reference (TYPE) UMGACONTFIELD Name des Containerfelds 20050120
5 Importing IM_CONTFIELDVALUE Call by reference Type reference (TYPE) CLIKE Inhalt des Containerfelds (volle Feldlänge!!!) 20050120
6 Importing IM_STRUC Call by reference Type reference (TYPE) CLIKE Zugrunde liegende Struktur für Containerfelder (direkt) 20050120

Method GET_OFF_LEN_TAB on class CL_UMG_CONTAINER has no exception.

Method IS_CONTAINER_FIELD Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CH_RESULT Call by reference Type reference (TYPE) ABAP_BOOL 20090707
2 Changing CH_STRUCTURE Call by reference Type reference (TYPE) CLIKE 20090707
3 Importing IM_FIELDNAME Call by reference Type reference (TYPE) FIELDNAME Field Name 20090707
4 Importing IM_WORKAREA Call by reference Type reference (TYPE) ANY 20090707

Method IS_CONTAINER_FIELD on class CL_UMG_CONTAINER has no exception.

Method READ_FIELD_INFO Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EX_FIELD_INFO Call by reference Type reference (TYPE) UMGTDFIES DD Interface: Table Fields for DDIF_FIELDINFO_GET 20080718
2 Exporting EX_STRUC_LEN Call by reference Type reference (TYPE) DOFFSET (Total or Key) Structure Length 20080718
3 Exporting EX_SUBRC Call by reference Type reference (TYPE) SYSUBRC Return Value of ABAP Statements 20080718
4 Importing IM_MODE Call by reference Type reference (TYPE) UMGACONTMODE Container Mode 20080718
5 Importing IM_TABNAME Call by reference Type reference (TYPE) TABNAME Table Name 20080718
6 Importing IM_TYPE Call by reference Type reference (TYPE) UMGACONTTYPE Container type 20080718

Method READ_FIELD_INFO on class CL_UMG_CONTAINER has no exception.

Method READ_FIELD_INFO_CD6 Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EX_FIELD_INFO Call by reference Type reference (TYPE) UMGTDFIES table field information 20090626
2 Exporting EX_STRUC_LEN Call by reference Type reference (TYPE) DOFFSET Offset of a field 20090626
3 Exporting EX_SUBRC Call by reference Type reference (TYPE) SYSUBRC Return Value of ABAP Statements 20090626
4 Importing IM_MODE Call by reference Type reference (TYPE) UMGACONTMODE Container Mode 20090626
5 Importing IM_TABNAME Call by reference Type reference (TYPE) TABNAME Table Name 20090626
6 Importing IM_TYPE Call by reference Type reference (TYPE) UMGACONTTYPE Container type 20090626

Method READ_FIELD_INFO_CD6 on class CL_UMG_CONTAINER has no exception.

Method WRITE_LOG Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_CONTAINER_INFO Call by reference Type reference (TYPE) UMGTCONTINF Container info 20090707
2 Importing IM_CONTFIELDNAME Call by reference Type reference (TYPE) UMGACONTFIELD Name of container field 20090707
3 Importing IM_STRUC Call by reference Type reference (TYPE) UMGASTRUC Underlying structure for Container fields (direct) 20090707
4 Importing IM_SUBRC Call by reference Type reference (TYPE) SY-SUBRC Return Value of ABAP Statements 20090707
5 Importing IM_TABNAME Call by reference Type reference (TYPE) TABNAME Table Name 20090707

Method WRITE_LOG on class CL_UMG_CONTAINER has no exception.
History
Last changed by/on SAP  20110908 
SAP Release Created in 700