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 ABAP 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 BUFFER Instance attribute Private Type reference (TYPE) XSTRING Temporary Buffer 20020321
2 CODEPAGE_FIXED Instance attribute Public Type reference (TYPE) ABAP_BOOL Instance Was Created Using CREATE_FOR_FIXED_CODEPAGE 20020404
3 CP_TAB Instance attribute Private Type reference (TYPE) NLS_LANGU_CP_TAB Importing Parameter CP_TAB 20031017
4 LANGCP2_TAB Instance attribute Private Type reference (TYPE) LANGCP2_TAB_T Assignment Of Language to Character Set 20031017
5 LANGCP_TAB Instance attribute Private Type reference (TYPE) LANGCP_TAB_T Assignment Of Language to Character Set 20020404
6 RAISE_CONV_ERROR Instance attribute Public Type reference (TYPE) ABAP_BOOL Flag: Raise Exception for Conversion Error 20020321
7 SIMPLE_COPY Instance attribute Public Type reference (TYPE) ABAP_BOOL Simple Copying Sufficient 20020321
8 SOURCE_IS_UC Instance attribute Private Type reference (TYPE) ABAP_BOOL Source System Is Unicode UTF16 20031017
9 SVIEW Instance attribute Private Object reference (TYPE REF TO) CL_ABAP_VIEW_OFFLEN Temporary Offset Length Info 20020321
10 TARGET_IS_UC Instance attribute Private Type reference (TYPE) ABAP_BOOL Target System Is Unicode UTF16 20031017
Methods
# Method Level Visibility Method type Description Created on
1 ANALYZE_SYSTEM_TYPES Static method Public Method Determine System Types 20040628
2 CONT_TO_STRUC Instance method Public Method Converts Container into a Structure 20020321
3 CREATE Static method Public Method Creates an Instance 20020321
4 CREATE_FOR_FIXED_CODEPAGE Static method Public Method Creates Instance for Fixed Codepage 20020404
5 GET_VERSION Static method Public Method Gets Version Number 20020411
6 LAYOUT_CORRECTION_NEEDED Static method Public Method Is a layout correction necessary? 20040628
7 PREPARE_TRANSPORT_PACKET Instance method Public Method Split a Container into Smaller Transport Segments 20031017
8 STRUC_TO_CONT 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 Exporting EX_SOURCE_IS_UC Call by reference Type reference (TYPE) ABAP_BOOL 20040628
2 Exporting EX_TARGET_IS_UC Call by reference Type reference (TYPE) ABAP_BOOL 20040628
3 Importing 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 Importing CONT Call by reference Type reference (TYPE) CLIKE Container 20020321
2 Importing LANGU Call by reference Type reference (TYPE) SPRAS Sprache 20020404
3 Exporting STRUC Call by reference Type reference (TYPE) CLIKE Zu füllende Struktur 20020321
# Exception Resumable Description Created on
1 CX_PARAMETER_INVALID_RANGE Parameter mit ungültigem Wertebereich 20020404
2 CX_SY_CONVERSION_CODEPAGE System-Exception bei Zeichensatzkonvertierung 20020321

Method CREATE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing CP_TAB Call by reference Type reference (TYPE) NLS_LANGU_CP_TAB Zuordnung von Sprachen zu Codepages 20020404
2 Returning INST Value transfer Object reference (TYPE REF TO) CL_NLS_STRUC_CONTAINER Neue Instanz 20020321
3 Importing 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 CX_SY_CODEPAGE_CONVERTER_INIT 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 Importing CODEPAGE Call by reference Type reference (TYPE) CPCODEPAGE SAP-Zeichensatzidentifikation 20020404
2 Returning INST Value transfer Object reference (TYPE REF TO) CL_NLS_STRUC_CONTAINER neue Instanz 20020404
3 Importing 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 CX_SY_CODEPAGE_CONVERTER_INIT 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 Returning 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 Importing IM_CODEPAGE Call by reference Type reference (TYPE) CPCODEPAGE SAP-Zeichensatzidentifikation 20040628
2 Importing IM_SOURCE_IS_UC Call by reference Type reference (TYPE) ABAP_BOOL 20040628
3 Returning 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 Exporting EX_LENGTH_SOURCE_SYSTEM Call by reference Type reference (TYPE) I Länge im Quell System 20031017
2 Exporting EX_LENGTH_TARGET_SYSTEM Call by reference Type reference (TYPE) I Länge im Ziel System 20031017
3 Importing IM_CONTAINER Call by reference Type reference (TYPE) CLIKE Zu zerlegender Container 20031017
4 Importing IM_LANGU Call by reference Type reference (TYPE) SYLANGU Sprache 20031017
5 Importing IM_PACKET_SIZE Call by reference Type reference (TYPE) I Paketgröße 20031017
# Exception Resumable Description Created on
1 CX_PARAMETER_INVALID_RANGE Parameter mit ungültigem Wertebereich 20031020
2 CX_SY_CODEPAGE_CONVERTER_INIT System-Exception für Initialisierung Code Page Converter 20031020
3 CX_SY_CONVERSION_CODEPAGE 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 Exporting CONT Call by reference Type reference (TYPE) CLIKE Zu füllender Container 20020404
2 Importing LANGU Call by reference Type reference (TYPE) SPRAS Sprache 20020404
3 Importing STRUC Call by reference Type reference (TYPE) CLIKE Struktur 20020404
4 Exporting 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 CX_PARAMETER_INVALID_RANGE Parameter mit ungültigem Wertebereich 20020404
2 CX_SY_CONVERSION_CODEPAGE System-Exception bei Zeichensatzkonvertierung 20020404
History
Last changed by/on SAP  20041208 
SAP Release Created in 630