SAP ABAP Class CL_ABAP_CONV_IN_CE (Code Page and Endian Conversion (External -> System Format))
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_IN_CE | |
| Short Description | Code Page and Endian Conversion (External -> System Format) | |
| 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 | 20000204 | 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_IN_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 | Input Buffer | 20000204 | |||
| 2 | Instance attribute | Private | Type reference (TYPE) | XSTRING | Info for Code Page Converter | 20000204 | |||
| 3 | Instance attribute | Public | Type reference (TYPE) | CPCODEPAGE | NOT USED: Code Page for Output | 20000204 | |||
| 4 | Instance attribute | Public | Type reference (TYPE) | ABAP_ENCODING | Character Representation in Input Buffer | 20000204 | |||
| 5 | Instance attribute | Public | Type reference (TYPE) | ABAP_ENDIAN | Byte Sequence in Input Buffer | 20000204 | |||
| 6 | Static Attribute | Private | See coding | Flags for CREATE Method | 20040512 | ||||
| 7 | Instance attribute | Public | Type reference (TYPE) | ABAP_BOOL | Flag: Ignore Errors from Codepage Conversion | 20000204 | |||
| 8 | Instance attribute | Public | Type reference (TYPE) | ABAP_BOOL | Flag: End of Input Buffer Reached | 20000204 | |||
| 9 | Instance attribute | Public | Type reference (TYPE) | I | Read Position in Bytes | 20000204 | |||
| 10 | Instance attribute | Public | Type reference (TYPE) | ABAP_REPL | Replacement Character | 20000204 | |||
| 11 | Static Attribute | Private | Type reference (TYPE) | XSTRING | Info for UCCP Code Page Converter | 20000204 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Public | Method | Converts a Field | 20020527 | |
| 2 | Instance method | Public | Method | Converts a Structure | 20020528 | |
| 3 | Static method | Public | Method | Creates a Conversion Instance | 20000204 | |
| 4 | Static method | Private | Method | Creates an Instance with Special Flags for the Converter | 20040512 | |
| 5 | Instance method | Public | Method | Returns Content of Input Buffer | 20000208 | |
| 6 | Instance method | Public | Method | Converts and Increases Read Position in Input Buffer by 1 | 20000204 | |
| 7 | Instance method | Public | Method | Sets Converter to Initial State | 20000204 | |
| 8 | Instance method | Public | Method | Sets Replacement Character for Character Set Conversion | 20000302 | |
| 9 | Instance method | Public | Method | Increases Read Position by Given Number of Characters | 20000211 | |
| 10 | Instance method | Public | Method | Increases Read Position by Given Number of Bytes | 20000211 | |
| 11 | Static method | Public | Method | Returns a Character for a Unicode Code Point | 20000204 | |
| 12 | Static method | Public | Method | Returns a Character for a Unicode Code Point | 20000330 |
Events
Class CL_ABAP_CONV_IN_CE has no event.
Types
Class CL_ABAP_CONV_IN_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 | DATA | Call by reference | Type reference (TYPE) | SIMPLE | Zu füllendes Feld | 20020527 | |||
| 2 | INPUT | Call by reference | Type reference (TYPE) | XSEQUENCE | Zu konvertierende Bytefolge | 20020527 | |||
| 3 | INPUT_TOO_SHORT | Call by reference | Type reference (TYPE) | ABAP_BOOL | Eingabepuffer war zu kurz | 20020628 | |||
| 4 | LEN | Call by reference | Type reference (TYPE) | I | Anzahl konvertierter Einheiten | 20020527 | |||
| 5 | N | Call by reference | Type reference (TYPE) | I | -1 | Anzahl einzulesender Einheiten | 20020527 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Parameter mit ungültigem Typ | 20020527 | ||
| 2 | System-Exception für Initialisierung Code Page Converter | 20020527 | ||
| 3 | System-Exception bei Zeichensatzkonvertierung | 20020527 |
Method CONVERT_STRUC Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | DATA | Call by reference | Type reference (TYPE) | ANY | Zu füllende Struktur | 20020528 | |||
| 2 | INPUT | Call by reference | Type reference (TYPE) | XSEQUENCE | Zu konvertierende Bytefolge | 20020528 | |||
| 3 | INPUT_TOO_SHORT | Call by reference | Type reference (TYPE) | ABAP_BOOL | Eingabepuffer war zu kurz | 20020628 | |||
| 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_IN_CE | Neue Konvertiererinstanz | 20000204 | |||
| 2 | ENCODING | Call by reference | Type reference (TYPE) | ABAP_ENCODING | 'DEFAULT' | Eingabezeichenformat | 20000204 | ||
| 3 | ENDIAN | Call by reference | Type reference (TYPE) | ABAP_ENDIAN | Eingabebytereihenfolge | 20000204 | |||
| 4 | IGNORE_CERR | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | Flag: Ignoriere Fehler bei Zeichensatzkonvertierung | 20000204 | ||
| 5 | INPUT | Call by reference | Type reference (TYPE) | XSEQUENCE | Eingabepuffer (X, XSTRING) | 20000204 | |||
| 6 | REPLACEMENT | Call by reference | Type reference (TYPE) | ABAP_REPL | '#' | Ersatzzeichen für Zeichensatzkonvertierung | 20000204 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Parameter mit ungültigem Wertebereich | 20001004 | ||
| 2 | System-Exception für Initialisierung Code Page Converter | 20001020 |
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_IN_CE | Neue Konvertiererinstanz | 20040512 | |||
| 2 | ENCODING | Call by reference | Type reference (TYPE) | ABAP_ENCODING | 'DEFAULT' | Eingabezeichenformat | 20040512 | ||
| 3 | ENDIAN | Call by reference | Type reference (TYPE) | ABAP_ENDIAN | Eingabebytereihenfolge | 20040512 | |||
| 4 | FILTER | Call by reference | Type reference (TYPE) | RSCPDROP | Herausfiltern von Zeichen | 20040512 | |||
| 5 | IGNORE_CERR | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | Flag: Ignoriere Fehler bei Zeichensatzkonvertierung | 20040512 | ||
| 6 | INPUT | Call by reference | Type reference (TYPE) | XSEQUENCE | Eingabepuffer (X, XSTRING) | 20040512 | |||
| 7 | REPLACEMENT | Call by reference | Type reference (TYPE) | ABAP_REPL | '#' | Ersatzzeichen für Zeichensatzkonvertierung | 20040512 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Parameter mit ungültigem Wertebereich | 20040512 | ||
| 2 | System-Exception für Initialisierung Code Page Converter | 20040512 |
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 | Wert des Eingabepuffers | 20000208 |
Method GET_BUFFER on class CL_ABAP_CONV_IN_CE has no exception.
Method READ Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | DATA | Call by reference | Type reference (TYPE) | ANY | Einzulesendes Datenobjekt | 20000204 | |||
| 2 | LEN | Call by reference | Type reference (TYPE) | I | Anzahl konvertierter Einheiten | 20000204 | |||
| 3 | N | Call by reference | Type reference (TYPE) | I | -1 | Anzahl einzulesender Einheiten | 20000204 | ||
| 4 | VIEW | Call by reference | Object reference (TYPE REF TO) | CL_ABAP_VIEW_OFFLEN | ABAP Sturkturview mit Offset und Länge | 20000529 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Parameter mit ungültigem Wertebereich | 20001222 | ||
| 2 | Parameter mit ungültigem Typ | 20001222 | ||
| 3 | System-Exception für Initialisierung Code Page Converter | 20001020 | ||
| 4 | System-Exception bei Zeichensatzkonvertierung | 20001010 |
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 | 20000204 | |||
| 2 | ENDIAN | Call by reference | Type reference (TYPE) | ABAP_ENDIAN | 'X' | Ausgabebytereihenfolge | 20000204 | ||
| 3 | IGNORE_CERR | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_UNDEFINED | Flag: Ignoriere Fehler bei Zeichensatzkonvertierung | 20000204 | ||
| 4 | INPUT | Call by reference | Type reference (TYPE) | XSEQUENCE | Eingabepuffer (X, XSTRING) | 20000204 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Parameter mit ungültigem Wertebereich | 20001004 | ||
| 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 | 20010103 |
Method SKIP_C Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | LEN | Call by reference | Type reference (TYPE) | I | Anzahl übersprungener Zeichen | 20000211 | |||
| 2 | N | Call by reference | Type reference (TYPE) | I | 1 | Anzahl zu überspringender Zeichen | 20000211 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Parameter mit ungültigem Wertebereich | 20010104 | ||
| 2 | System-Exception für Initialisierung Code Page Converter | 20001208 | ||
| 3 | System-Exception bei Zeichensatzkonvertierung | 20001208 |
Method SKIP_X Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | LEN | Call by reference | Type reference (TYPE) | I | Anzahl übersprungener Bytes | 20000211 | |||
| 2 | N | Call by reference | Type reference (TYPE) | I | 1 | Anzahl zu überspringender Bytes | 20000211 |
Method SKIP_X on class CL_ABAP_CONV_IN_CE has no exception.
Method UCCP Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CHAR | Value transfer | Type reference (TYPE) | SYCHAR02 | "UCCP" dargestellt in der aktuellen Codepage | 20000204 | |||
| 2 | UCCP | Call by reference | Type reference (TYPE) | SIMPLE | Unicode Codepoint (hexadezimale Darstellung) | 20000204 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Parameter mit ungültigem Typ | 20001004 | ||
| 2 | System-Exception für Initialisierung Code Page Converter | 20001020 | ||
| 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 | Value transfer | Type reference (TYPE) | SYCHAR02 | "UCCP" dargestellt in der aktuellen Codepage | 20000330 | |||
| 2 | UCCP | Call by reference | Type reference (TYPE) | I | Unicode Codepoint | 20000330 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Parameter mit ungültigem Wertebereich | 20001004 | ||
| 2 | System-Exception für Initialisierung Code Page Converter | 20001208 | ||
| 3 | System-Exception bei Zeichensatzkonvertierung | 20001004 |
History
| Last changed by/on | SAP | 20140121 |
| SAP Release Created in | 50A |