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 | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) | |
| 2 | 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 | Instance attribute | Private | Type reference (TYPE) | UMGTCONTCACHE | Structure for caching known offset informations | 20050120 | |||
| 2 | Instance attribute | Public | Type reference (TYPE) | UMGTCONTINF | Container info | 20050120 | |||
| 3 | Constant | Public | Type reference (TYPE) | UMGACELT | 'E' | Container: Error log type | 20050912 | ||
| 4 | Constant | Public | Type reference (TYPE) | UMGACELT | 'I' | Container: Error log type | 20050912 | ||
| 5 | Constant | Public | Type reference (TYPE) | UMGACELT | 'N' | Container: Error log type | 20050912 | ||
| 6 | Constant | Public | Type reference (TYPE) | UMGACELT | 'W' | Container: Error log type | 20050912 | ||
| 7 | Constant | Public | Type reference (TYPE) | UMGACONTMODE | 'A' | Container Mode | 20071205 | ||
| 8 | Constant | Public | Type reference (TYPE) | UMGACONTMODE | 'I' | Container Mode | 20080701 | ||
| 9 | Constant | Public | Type reference (TYPE) | UMGACONTMODE | 'H' | Container Mode | 20080701 | ||
| 10 | Constant | Public | Type reference (TYPE) | UMGACONTMODE | 'R' | Container Mode | 20071205 | ||
| 11 | Constant | Public | Type reference (TYPE) | UMGACONTTYPE | 'D' | Container type | 20050128 | ||
| 12 | Constant | Public | Type reference (TYPE) | UMGACONTTYPE | 'E' | Container type | 20071121 | ||
| 13 | Constant | Public | Type reference (TYPE) | UMGACONTTYPE | 'I' | Container type | 20050128 | ||
| 14 | Constant | Public | Type reference (TYPE) | UMGACONTTYPE | 'J' | Container type | 20071121 | ||
| 15 | Constant | Public | Type reference (TYPE) | UMGACONTTYPE | 'L' | Container type | 20090625 | ||
| 16 | Constant | Public | Type reference (TYPE) | UMGACONTTYPE | 'K' | Container type | 20090909 | ||
| 17 | Constant | Public | Type reference (TYPE) | UMGACONTTYPE | 'R' | Container type | 20050128 | ||
| 18 | Instance attribute | Private | Type reference (TYPE) | UMGACONTMODE | Container Mode | 20071205 | |||
| 19 | Static Attribute | Private | Type reference (TYPE) | UMGTNTCD6 | Table for UMGNTCD6 | 20090625 | |||
| 20 | Instance attribute | Private | Type reference (TYPE) | TABNAME | Table Name | 20050124 | |||
| 21 | Static Attribute | Private | Type reference (TYPE) | UMGTUMGCONT | UMGCONTAINER as internal table | 20050127 | |||
| 22 | 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 | Static method | Private | Method | Get offest and length information from dictionary | 20050120 | |
| 2 | Static method | Private | Method | Get offest and length information from dictionary | 20050120 | |
| 3 | Static method | Private | Method | Returns the character offset of a given field | 20080724 | |
| 4 | Static method | Private | Method | Returns Offset/Length values for whole container field | 20080718 | |
| 5 | Static method | Private | Method | Create cached container info | 20050121 | |
| 6 | Static method | Public | Method | Create Object with container info for given table | 20050119 | |
| 7 | Static method | Private | Method | Returns the character or byte length of a field | 20080718 | |
| 8 | Static method | Private | Method | Check if a field of the substructure has to be analyzed | 20080718 | |
| 9 | Instance method | Public | Method | Calculate offset and lengths including implicit substructure | 20041227 | |
| 10 | Instance method | Public | Method | Check if a field is the container field | 20090707 | |
| 11 | Static method | Private | Method | Read the nametab for a given structure | 20080718 | |
| 12 | Static method | Private | Method | Read own nametab UMGNTCD6 for a given structure | 20090626 | |
| 13 | 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 | EX_OFFLENNAM | Call by reference | Type reference (TYPE) | UMGTOFFLENNAM | Offset- und Längentabelle | 20050120 | |||
| 2 | EX_TRUNCATED | Call by reference | Type reference (TYPE) | ABAP_BOOL | Substructure longer than container ? | 20090903 | |||
| 3 | IM_MAX_LEN | Call by reference | Type reference (TYPE) | INT4 | Maximale Länge | 20050124 | |||
| 4 | IM_MODE | Call by reference | Type reference (TYPE) | UMGACONTMODE | Container Mode | 20071205 | |||
| 5 | IM_TABNAME | Call by reference | Type reference (TYPE) | TABNAME | Tabellen- und Strukturname | 20050120 | |||
| 6 | IM_TYPE | Call by reference | Type reference (TYPE) | UMGACONTTYPE | Container type | 20071122 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 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 | EX_OFFLEN | Call by reference | Type reference (TYPE) | UMGTOFFLEN | Offset- und Längentabelle | 20050120 | |||
| 2 | EX_TRUNCATED | Call by reference | Type reference (TYPE) | ABAP_BOOL | Substructure longer than container ? | 20090903 | |||
| 3 | IM_MAX_LEN | Call by reference | Type reference (TYPE) | INT4 | Maximale Länge | 20050124 | |||
| 4 | IM_MODE | Call by reference | Type reference (TYPE) | UMGACONTMODE | Container Mode | 20071205 | |||
| 5 | IM_TABNAME | Call by reference | Type reference (TYPE) | TABNAME | Tabellen- und Strukturname | 20050120 | |||
| 6 | IM_TYPE | Call by reference | Type reference (TYPE) | UMGACONTTYPE | Container type | 20071121 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 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 | IM_BYTE_OFFSET | Call by reference | Type reference (TYPE) | DOFFSET | Byte Offset of a field | 20080724 | |||
| 2 | IM_MODE | Call by reference | Type reference (TYPE) | UMGACONTMODE | Container Mode | 20080724 | |||
| 3 | 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 | IM_MAX_LEN | Call by reference | Type reference (TYPE) | I | Character Length of Container Field | 20080718 | |||
| 2 | IM_MODE | Call by reference | Type reference (TYPE) | UMGACONTMODE | Container Mode | 20080718 | |||
| 3 | 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 | EX_CONTCACHE_WA | Call by reference | Type reference (TYPE) | UMGSCONTCACHE | Neue Cache-Zeilen | 20050121 | |||
| 2 | IM_CONTFIELDNAME | Call by reference | Type reference (TYPE) | UMGACONTFIELD | Name des Containerfelds | 20050121 | |||
| 3 | IM_CONTFIELDVALUE | Call by reference | Type reference (TYPE) | CLIKE | Containerfeldwert | 20050121 | |||
| 4 | IM_CONTINFO | Call by reference | Type reference (TYPE) | UMGTCONTINF | Container-Info | 20050126 | |||
| 5 | IM_LOG | Call by reference | Type reference (TYPE) | ABAP_BOOL | 20050125 | ||||
| 6 | IM_MODE | Call by reference | Type reference (TYPE) | UMGACONTMODE | Container mode | 20071205 | |||
| 7 | IM_STRUC | Call by reference | Type reference (TYPE) | UMGASTRUC | Zugrunde liegende Struktur für Containerfelder (direkt) | 20050121 | |||
| 8 | 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 | EX_CONTAINER | Call by reference | Object reference (TYPE REF TO) | CL_UMG_CONTAINER | Objekt mit Containerinformation | 20050119 | |||
| 2 | IM_LOG | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | 20050125 | |||
| 3 | IM_MODE | Call by reference | Type reference (TYPE) | UMGACONTMODE | Container Mode | 20071205 | |||
| 4 | IM_TABNAME | Call by reference | Type reference (TYPE) | CLIKE | Tab.-Name | 20050119 | |||
| 5 | IM_UMGCONTAINER | Call by reference | Type reference (TYPE) | UMGTUMGCONT | UMGCONTAINER als interne Tabelle | 20050127 | |||
| 6 | IM_UMGNTCD6 | Call by reference | Type reference (TYPE) | UMGTNTCD6 | Table for UMGNTCD6 | 20090625 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 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 | IM_FIELD_INFO | Call by reference | Type reference (TYPE) | DFIES | DD Interface: Table Fields for DDIF_FIELDINFO_GET | 20080718 | |||
| 2 | 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 | IM_FIELD_INFO | Call by reference | Type reference (TYPE) | DFIES | ABAP/4 Dictionary: Screen data type for Screen Painter | 20090610 | |||
| 2 | IM_MODE | Call by reference | Type reference (TYPE) | UMGACONTMODE | Container Mode | 20080718 | |||
| 3 | IM_TYPE | Call by reference | Type reference (TYPE) | UMGACONTTYPE | Container type | 20090610 | |||
| 4 | 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 | EX_OFFLEN | Call by reference | Type reference (TYPE) | UMGTOFFLEN | Offset- und Längentabelle | 20050120 | |||
| 2 | IM_BASE_OFFSET | Call by reference | Type reference (TYPE) | INT4 | Basisoffset zur Addition zu allen Offsets | 20050121 | |||
| 3 | IM_BASE_OFFSET_BYTE | Call by reference | Type reference (TYPE) | INT4 | Byte base offset to add to all offsets | 20080724 | |||
| 4 | IM_CONTFIELDNAME | Call by reference | Type reference (TYPE) | UMGACONTFIELD | Name des Containerfelds | 20050120 | |||
| 5 | IM_CONTFIELDVALUE | Call by reference | Type reference (TYPE) | CLIKE | Inhalt des Containerfelds (volle Feldlänge!!!) | 20050120 | |||
| 6 | 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 | CH_RESULT | Call by reference | Type reference (TYPE) | ABAP_BOOL | 20090707 | ||||
| 2 | CH_STRUCTURE | Call by reference | Type reference (TYPE) | CLIKE | 20090707 | ||||
| 3 | IM_FIELDNAME | Call by reference | Type reference (TYPE) | FIELDNAME | Field Name | 20090707 | |||
| 4 | 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 | EX_FIELD_INFO | Call by reference | Type reference (TYPE) | UMGTDFIES | DD Interface: Table Fields for DDIF_FIELDINFO_GET | 20080718 | |||
| 2 | EX_STRUC_LEN | Call by reference | Type reference (TYPE) | DOFFSET | (Total or Key) Structure Length | 20080718 | |||
| 3 | EX_SUBRC | Call by reference | Type reference (TYPE) | SYSUBRC | Return Value of ABAP Statements | 20080718 | |||
| 4 | IM_MODE | Call by reference | Type reference (TYPE) | UMGACONTMODE | Container Mode | 20080718 | |||
| 5 | IM_TABNAME | Call by reference | Type reference (TYPE) | TABNAME | Table Name | 20080718 | |||
| 6 | 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 | EX_FIELD_INFO | Call by reference | Type reference (TYPE) | UMGTDFIES | table field information | 20090626 | |||
| 2 | EX_STRUC_LEN | Call by reference | Type reference (TYPE) | DOFFSET | Offset of a field | 20090626 | |||
| 3 | EX_SUBRC | Call by reference | Type reference (TYPE) | SYSUBRC | Return Value of ABAP Statements | 20090626 | |||
| 4 | IM_MODE | Call by reference | Type reference (TYPE) | UMGACONTMODE | Container Mode | 20090626 | |||
| 5 | IM_TABNAME | Call by reference | Type reference (TYPE) | TABNAME | Table Name | 20090626 | |||
| 6 | 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 | IM_CONTAINER_INFO | Call by reference | Type reference (TYPE) | UMGTCONTINF | Container info | 20090707 | |||
| 2 | IM_CONTFIELDNAME | Call by reference | Type reference (TYPE) | UMGACONTFIELD | Name of container field | 20090707 | |||
| 3 | IM_STRUC | Call by reference | Type reference (TYPE) | UMGASTRUC | Underlying structure for Container fields (direct) | 20090707 | |||
| 4 | IM_SUBRC | Call by reference | Type reference (TYPE) | SY-SUBRC | Return Value of ABAP Statements | 20090707 | |||
| 5 | 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 |