SAP ABAP Class CL_NLS_STRUC_CONTAINER (Correct Alignment of Structures in Containers)
Hierarchy
☛
SAP_BASIS (Software Component) SAP Basis Component
⤷
BC-I18 (Application Component) Internationalization (I18N)
⤷
SNLSK (Package) Kernel NLS Development
⤷
⤷
Properties
| Class | CL_NLS_STRUC_CONTAINER | |
| Short Description | Correct Alignment of Structures in Containers | |
| Super Class | ||
| Instantiability of a Class | 0 | Private |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | SNLSK | Kernel NLS Development |
| Created | 20020321 | SAP |
| Last change | 20041208 | 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) |
Interfaces
Class CL_NLS_STRUC_CONTAINER has no interface implemented.
Friends
Class CL_NLS_STRUC_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) | XSTRING | Temporary Buffer | 20020321 | |||
| 2 | Instance attribute | Public | Type reference (TYPE) | ABAP_BOOL | Instance Was Created Using CREATE_FOR_FIXED_CODEPAGE | 20020404 | |||
| 3 | Instance attribute | Private | Type reference (TYPE) | NLS_LANGU_CP_TAB | Importing Parameter CP_TAB | 20031017 | |||
| 4 | Instance attribute | Private | Type reference (TYPE) | LANGCP2_TAB_T | Assignment Of Language to Character Set | 20031017 | |||
| 5 | Instance attribute | Private | Type reference (TYPE) | LANGCP_TAB_T | Assignment Of Language to Character Set | 20020404 | |||
| 6 | Instance attribute | Public | Type reference (TYPE) | ABAP_BOOL | Flag: Raise Exception for Conversion Error | 20020321 | |||
| 7 | Instance attribute | Public | Type reference (TYPE) | ABAP_BOOL | Simple Copying Sufficient | 20020321 | |||
| 8 | Instance attribute | Private | Type reference (TYPE) | ABAP_BOOL | Source System Is Unicode UTF16 | 20031017 | |||
| 9 | Instance attribute | Private | Object reference (TYPE REF TO) | CL_ABAP_VIEW_OFFLEN | Temporary Offset Length Info | 20020321 | |||
| 10 | Instance attribute | Private | Type reference (TYPE) | ABAP_BOOL | Target System Is Unicode UTF16 | 20031017 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Static method | Public | Method | Determine System Types | 20040628 | |
| 2 | Instance method | Public | Method | Converts Container into a Structure | 20020321 | |
| 3 | Static method | Public | Method | Creates an Instance | 20020321 | |
| 4 | Static method | Public | Method | Creates Instance for Fixed Codepage | 20020404 | |
| 5 | Static method | Public | Method | Gets Version Number | 20020411 | |
| 6 | Static method | Public | Method | Is a layout correction necessary? | 20040628 | |
| 7 | Instance method | Public | Method | Split a Container into Smaller Transport Segments | 20031017 | |
| 8 | Instance method | Public | Method | Converts Structure into a Container | 20020404 |
Events
Class CL_NLS_STRUC_CONTAINER has no event.
Types
Class CL_NLS_STRUC_CONTAINER has no local type.
Method Signatures
Method ANALYZE_SYSTEM_TYPES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EX_SOURCE_IS_UC | Call by reference | Type reference (TYPE) | ABAP_BOOL | 20040628 | ||||
| 2 | EX_TARGET_IS_UC | Call by reference | Type reference (TYPE) | ABAP_BOOL | 20040628 | ||||
| 3 | IM_CP_TAB | Call by reference | Type reference (TYPE) | NLS_LANGU_CP_TAB | Zuordnung von Sprachen zu Codepages | 20040628 |
Method ANALYZE_SYSTEM_TYPES on class CL_NLS_STRUC_CONTAINER has no exception.
Method CONT_TO_STRUC Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CONT | Call by reference | Type reference (TYPE) | CLIKE | Container | 20020321 | |||
| 2 | LANGU | Call by reference | Type reference (TYPE) | SPRAS | Sprache | 20020404 | |||
| 3 | STRUC | Call by reference | Type reference (TYPE) | CLIKE | Zu füllende Struktur | 20020321 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Parameter mit ungültigem Wertebereich | 20020404 | ||
| 2 | System-Exception bei Zeichensatzkonvertierung | 20020321 |
Method CREATE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CP_TAB | Call by reference | Type reference (TYPE) | NLS_LANGU_CP_TAB | Zuordnung von Sprachen zu Codepages | 20020404 | |||
| 2 | INST | Value transfer | Object reference (TYPE REF TO) | CL_NLS_STRUC_CONTAINER | Neue Instanz | 20020321 | |||
| 3 | RAISE_CONV_ERROR | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | Flag: Werfe Ausnahme bei Konvertierungs-Fehler | 20020321 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | System-Exception für Initialisierung Code Page Converter | 20020321 |
Method CREATE_FOR_FIXED_CODEPAGE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CODEPAGE | Call by reference | Type reference (TYPE) | CPCODEPAGE | SAP-Zeichensatzidentifikation | 20020404 | |||
| 2 | INST | Value transfer | Object reference (TYPE REF TO) | CL_NLS_STRUC_CONTAINER | neue Instanz | 20020404 | |||
| 3 | RAISE_CONV_ERROR | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | Flag: Werfe Ausnahme bei Konvertierungs-Fehler | 20020404 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | System-Exception für Initialisierung Code Page Converter | 20020404 |
Method GET_VERSION Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | VERSION | Value transfer | Type reference (TYPE) | I | Version | 20020411 |
Method GET_VERSION on class CL_NLS_STRUC_CONTAINER has no exception.
Method LAYOUT_CORRECTION_NEEDED Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IM_CODEPAGE | Call by reference | Type reference (TYPE) | CPCODEPAGE | SAP-Zeichensatzidentifikation | 20040628 | |||
| 2 | IM_SOURCE_IS_UC | Call by reference | Type reference (TYPE) | ABAP_BOOL | 20040628 | ||||
| 3 | RE_VALUE | Value transfer | Type reference (TYPE) | ABAP_BOOL | 20040628 |
Method LAYOUT_CORRECTION_NEEDED on class CL_NLS_STRUC_CONTAINER has no exception.
Method PREPARE_TRANSPORT_PACKET Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EX_LENGTH_SOURCE_SYSTEM | Call by reference | Type reference (TYPE) | I | Länge im Quell System | 20031017 | |||
| 2 | EX_LENGTH_TARGET_SYSTEM | Call by reference | Type reference (TYPE) | I | Länge im Ziel System | 20031017 | |||
| 3 | IM_CONTAINER | Call by reference | Type reference (TYPE) | CLIKE | Zu zerlegender Container | 20031017 | |||
| 4 | IM_LANGU | Call by reference | Type reference (TYPE) | SYLANGU | Sprache | 20031017 | |||
| 5 | IM_PACKET_SIZE | Call by reference | Type reference (TYPE) | I | Paketgröße | 20031017 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Parameter mit ungültigem Wertebereich | 20031020 | ||
| 2 | System-Exception für Initialisierung Code Page Converter | 20031020 | ||
| 3 | System-Exception bei Zeichensatzkonvertierung | 20031020 |
Method STRUC_TO_CONT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CONT | Call by reference | Type reference (TYPE) | CLIKE | Zu füllender Container | 20020404 | |||
| 2 | LANGU | Call by reference | Type reference (TYPE) | SPRAS | Sprache | 20020404 | |||
| 3 | STRUC | Call by reference | Type reference (TYPE) | CLIKE | Struktur | 20020404 | |||
| 4 | TRUNCATION_FLAG | Call by reference | Type reference (TYPE) | I | Zeigt an, ob ein Feld verkürzt werden musste | 20020404 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Parameter mit ungültigem Wertebereich | 20020404 | ||
| 2 | System-Exception bei Zeichensatzkonvertierung | 20020404 |
History
| Last changed by/on | SAP | 20041208 |
| SAP Release Created in | 630 |