SAP ABAP Class CL_ABAP_CONV_OUT_CE (Code Page and Endian Conversion (System Format -> External))
Hierarchy
☛
SAP_BASIS (Software Component) SAP Basis Component
⤷
BC-ABA-LA (Application Component) Syntax, Compiler, Runtime
⤷
SABP_CONVERT (Package) Conversion of Time Specifications
⤷
⤷
Properties
| Class | CL_ABAP_CONV_OUT_CE | |
| Short Description | Code Page and Endian Conversion (System Format -> External) | |
| Super Class | ||
| Instantiability of a Class | 0 | Private |
| Final |
General Data
| Message Class | ||
| Program status | S | System Program |
| Category | 0 | |
| Package | SABP_CONVERT | Conversion of Time Specifications |
| Created | 20000111 | SAP |
| Last change | 20140121 | 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_ABAP_CONV_OUT_CE has no interface implemented.
Friends
| # | Friend | Modeled only | Created on | Description |
|---|---|---|---|---|
| 1 | CL_NLS_STRUC_CONTAINER | 20040511 | Correct Alignment of Structures in Containers | |
| 2 | CL_NLS_STRUC_CONTAINER_SNAME | 20040511 | Correct Alignment in Containers (Structure Name Given) |
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Instance attribute | Private | Type reference (TYPE) | XSTRING | Output Buffer | 20000113 | |||
| 2 | Instance attribute | Private | Type reference (TYPE) | XSTRING | Info for Code Page Converter | 20000120 | |||
| 3 | Instance attribute | Public | Type reference (TYPE) | CPCODEPAGE | NOT USED: Code Page for Output | 20000118 | |||
| 4 | Instance attribute | Public | Type reference (TYPE) | ABAP_ENCODING | 'DEFAULT' | Character Representation for Output | 20000111 | ||
| 5 | Instance attribute | Public | Type reference (TYPE) | ABAP_ENDIAN | Byte Sequence for Output | 20000112 | |||
| 6 | Static Attribute | Private | See coding | Flags for CREATE Method | 20040517 | ||||
| 7 | Instance attribute | Public | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | Flag: Ignore Errors from Codepage Conversion | 20000113 | ||
| 8 | Instance attribute | Public | Type reference (TYPE) | I | 0 | Write Position in Bytes | 20000111 | ||
| 9 | Instance attribute | Public | Type reference (TYPE) | ABAP_REPL | '#' | Replacement Character | 20000113 | ||
| 10 | Static Attribute | Private | Type reference (TYPE) | XSTRING | Info for UCCP Code Page Converter | 20000131 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Public | Method | Converts a Field | 20020528 | |
| 2 | Instance method | Public | Method | Converts a Structure | 20020528 | |
| 3 | Static method | Public | Method | Creates Converter Instance | 20000113 | |
| 4 | Static method | Private | Method | Creates an Instance with Special Flags for the Converter | 20040517 | |
| 5 | Instance method | Public | Method | Gets the Output Buffer | 20000131 | |
| 6 | Instance method | Public | Method | Sets Converter to Initial State | 20000113 | |
| 7 | Instance method | Public | Method | Sets Replacement Character for Character Set Conversion | 20000302 | |
| 8 | Static method | Public | Method | Returns the Hexadecimal Unicode Value for a Character | 20000131 | |
| 9 | Static method | Public | Method | Returns the Unicode Value for a Character | 20000330 | |
| 10 | Instance method | Public | Method | Converts and Appends the Result to the Output Buffer | 20000114 |
Events
Class CL_ABAP_CONV_OUT_CE has no event.
Types
Class CL_ABAP_CONV_OUT_CE has no local type.
Method Signatures
Method CONVERT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | BUFFER | Call by reference | Type reference (TYPE) | XSEQUENCE | Konvertierte Daten | 20020528 | |||
| 2 | DATA | Call by reference | Type reference (TYPE) | SIMPLE | Zu konvertierendes Feld | 20020528 | |||
| 3 | LEN | Call by reference | Type reference (TYPE) | I | Anzahl konvertierter Einheiten | 20020528 | |||
| 4 | N | Call by reference | Type reference (TYPE) | I | -1 | Anzahl zu konvertierender Einheiten | 20020528 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Parameter mit ungültigem Typ | 20020528 | ||
| 2 | System-Exception für Initialisierung Code Page Converter | 20020528 | ||
| 3 | System-Exception bei Zeichensatzkonvertierung | 20020528 |
Method CONVERT_STRUC Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | BUFFER | Call by reference | Type reference (TYPE) | XSEQUENCE | Konvertierte Daten | 20020528 | |||
| 2 | DATA | Call by reference | Type reference (TYPE) | ANY | Zu konvertierende Struktur | 20020528 | |||
| 3 | TRUNCATION_FLAG | Call by reference | Type reference (TYPE) | I | Zeigt an, ob ein Feld verkürzt werden musste | 20020529 | |||
| 4 | VIEW | Call by reference | Object reference (TYPE REF TO) | CL_ABAP_VIEW_OFFLEN | ABAP Sturkturview mit Offset und Länge | 20020528 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Parameter mit ungültigem Wertebereich | 20020528 | ||
| 2 | Parameter mit ungültigem Typ | 20020528 | ||
| 3 | System-Exception für Initialisierung Code Page Converter | 20020528 | ||
| 4 | System-Exception bei Zeichensatzkonvertierung | 20020528 |
Method CREATE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CONV | Value transfer | Object reference (TYPE REF TO) | CL_ABAP_CONV_OUT_CE | Neue Konverterinstanz | 20000113 | |||
| 2 | ENCODING | Call by reference | Type reference (TYPE) | ABAP_ENCODING | 'DEFAULT' | Ausgabezeichenformat | 20000113 | ||
| 3 | ENDIAN | Call by reference | Type reference (TYPE) | ABAP_ENDIAN | Ausgabebytereihenfolge | 20000113 | |||
| 4 | IGNORE_CERR | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | Flag: Ignoriere Fehler bei Zeichensatzkonvertierung | 20000113 | ||
| 5 | REPLACEMENT | Call by reference | Type reference (TYPE) | ABAP_REPL | '#' | Ersatzzeichen für Zeichensatzkonvertierung | 20000113 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Parameter mit ungültigem Wertebereich | 20001004 | ||
| 2 | System-Exception für Initialisierung Code Page Converter | 20001004 |
Method CREATE_WITH_FLAGS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CONV | Value transfer | Object reference (TYPE REF TO) | CL_ABAP_CONV_OUT_CE | Neue Konverterinstanz | 20040517 | |||
| 2 | ENCODING | Call by reference | Type reference (TYPE) | ABAP_ENCODING | 'DEFAULT' | Ausgabezeichenformat | 20040517 | ||
| 3 | ENDIAN | Call by reference | Type reference (TYPE) | ABAP_ENDIAN | Ausgabebytereihenfolge | 20040517 | |||
| 4 | FILTER | Call by reference | Type reference (TYPE) | RSCPDROP | Herausfiltern von Zeichen | 20040517 | |||
| 5 | IGNORE_CERR | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | Flag: Ignoriere Fehler bei Zeichensatzkonvertierung | 20040517 | ||
| 6 | REPLACEMENT | Call by reference | Type reference (TYPE) | ABAP_REPL | '#' | Ersatzzeichen für Zeichensatzkonvertierung | 20040517 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Parameter mit ungültigem Wertebereich | 20040517 | ||
| 2 | System-Exception für Initialisierung Code Page Converter | 20040517 |
Method GET_BUFFER Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | BUFFER | Value transfer | Type reference (TYPE) | XSTRING | Aktueller Wert des Ausgabepuffers | 20000131 |
Method GET_BUFFER on class CL_ABAP_CONV_OUT_CE has no exception.
Method RESET Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ENCODING | Call by reference | Type reference (TYPE) | ABAP_ENCODING | Ausgabezeichenformat | 20000113 | |||
| 2 | ENDIAN | Call by reference | Type reference (TYPE) | ABAP_ENDIAN | 'X' | Ausgabebytereihenfolge | 20000113 | ||
| 3 | IGNORE_CERR | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_UNDEFINED | Flag: Ignoriere Fehler bei Zeichensatzkonvertierung | 20000113 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Parameter mit ungültigem Wertebereich | 20001211 | ||
| 2 | System-Exception für Initialisierung Code Page Converter | 20001004 |
Method SET_REPLACEMENT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | REPLACEMENT | Call by reference | Type reference (TYPE) | ABAP_REPL | Ersatzzeichen für Zeichensatzkonvertierung | 20000302 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | System-Exception für Initialisierung Code Page Converter | 20001207 |
Method UCCP Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CHAR | Call by reference | Type reference (TYPE) | CLIKE | Zeichen oder String | 20000131 | |||
| 2 | UCCP | Value transfer | Type reference (TYPE) | SYHEX02 | Unicode Codepoint von "CHAR" | 20000131 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Parameter mit ungültigem Wertebereich | 20010815 | ||
| 2 | System-Exception für Initialisierung Code Page Converter | 20001004 | ||
| 3 | System-Exception bei Zeichensatzkonvertierung | 20001004 |
Method UCCPI Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CHAR | Call by reference | Type reference (TYPE) | CLIKE | Zeichen oder String | 20000330 | |||
| 2 | UCCP | Value transfer | Type reference (TYPE) | I | Unicode Codepoint von "CHAR" | 20000330 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Parameter mit ungültigem Wertebereich | 20010815 | ||
| 2 | System-Exception für Initialisierung Code Page Converter | 20001004 | ||
| 3 | System-Exception bei Zeichensatzkonvertierung | 20001004 |
Method WRITE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | DATA | Call by reference | Type reference (TYPE) | ANY | Auszugebendes Datenobjekt | 20000116 | |||
| 2 | LEN | Call by reference | Type reference (TYPE) | I | Anzahl ausgegebener Einheiten | 20000114 | |||
| 3 | N | Call by reference | Type reference (TYPE) | I | -1 | Anzahl auszugebender Einheiten | 20000116 | ||
| 4 | VIEW | Call by reference | Object reference (TYPE REF TO) | CL_ABAP_VIEW_OFFLEN | ABAP Sturkturview mit Offset und Länge | 20020325 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Parameter mit ungültigem Wertebereich | 20020325 | ||
| 2 | Parameter mit ungültigem Typ | 20010221 | ||
| 3 | System-Exception für Initialisierung Code Page Converter | 20001004 | ||
| 4 | System-Exception bei Zeichensatzkonvertierung | 20001004 |
History
| Last changed by/on | SAP | 20140121 |
| SAP Release Created in | 50A |