SAP ABAP Class CL_ABAP_CONV_X2X_CE (Code Page and Endian Conversion Between External Formats)
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_X2X_CE | |
| Short Description | Code Page and Endian Conversion Between External Formats | |
| 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 | 20000416 | 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) |
Interfaces
Class CL_ABAP_CONV_X2X_CE has no interface implemented.
Friends
Class CL_ABAP_CONV_X2X_CE 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 | Info for Code Page Converter | 20000416 | |||
| 2 | Instance attribute | Public | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | Flag: Ignore Errors from Codepage Conversion | 20000416 | ||
| 3 | Instance attribute | Private | Type reference (TYPE) | XSTRING | Input Buffer | 20000416 | |||
| 4 | Instance attribute | Public | Type reference (TYPE) | ABAP_ENCODING | Character Representation in Input Buffer | 20000416 | |||
| 5 | Instance attribute | Public | Type reference (TYPE) | ABAP_ENDIAN | Character Representation in Input Buffer | 20000416 | |||
| 6 | Instance attribute | Public | Type reference (TYPE) | I | Read Position in Bytes | 20000416 | |||
| 7 | Instance attribute | Public | Type reference (TYPE) | ABAP_BOOL | Flag: End of Input Buffer Reached | 20000416 | |||
| 8 | Instance attribute | Private | Type reference (TYPE) | XSTRING | Output Buffer | 20000416 | |||
| 9 | Instance attribute | Public | Type reference (TYPE) | ABAP_ENCODING | 'DEFAULT' | Character Representation in the Output Buffer | 20000416 | ||
| 10 | Instance attribute | Public | Type reference (TYPE) | ABAP_ENDIAN | Character Representation in the Output Buffer | 20000416 | |||
| 11 | Instance attribute | Public | Type reference (TYPE) | I | 0 | Write Position in Bytes | 20000416 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Public | Method | Converts Type C from Entry in the Output Buffer | 20000416 | |
| 2 | Instance method | Public | Method | Converts Type D from Entry in the Output Buffer | 20000417 | |
| 3 | Instance method | Public | Method | Converts Type 'DECFLOAT16' from Input to Output Buffer | 20060302 | |
| 4 | Instance method | Public | Method | Converts Type 'DECFLOAT34' from Input to Output Buffer | 20060302 | |
| 5 | Instance method | Public | Method | Converts Type F from Entry in the Output Buffer | 20000417 | |
| 6 | Instance method | Public | Method | Converts Type I from Entry in the Output Buffer | 20000417 | |
| 7 | Instance method | Public | Method | Converts Type INT2 from Entry in the Output Buffer | 20000417 | |
| 8 | Instance method | Public | Method | Converts Type N from Entry in the Output Buffer | 20000417 | |
| 9 | Instance method | Public | Method | Converts Type P from Entry in the Output Buffer | 20000417 | |
| 10 | Instance method | Public | Method | Converts Type T from Entry in the Output Buffer | 20000417 | |
| 11 | Instance method | Public | Method | Copies Type X from Entry in the Output Buffer | 20000416 | |
| 12 | Static method | Public | Method | Creates Converter Instance | 20000416 | |
| 13 | Instance method | Public | Method | Returns Content of Input Buffer | 20000416 | |
| 14 | Instance method | Public | Method | Returns the Content of the Output Buffer | 20000416 | |
| 15 | Instance method | Public | Method | Sets the Converter to its Initial State | 20000416 | |
| 16 | Instance method | Public | Method | Sets Replacement Character for Character Set Conversion | 20000416 | |
| 17 | Instance method | Public | Method | Increases Read Position by Given Number of Characters | 20000417 | |
| 18 | Instance method | Public | Method | Increases Read Position by Given Number of Bytes | 20000417 | |
| 19 | Instance method | Public | Method | Appends Data to the Output Buffer | 20000416 |
Events
Class CL_ABAP_CONV_X2X_CE has no event.
Types
Class CL_ABAP_CONV_X2X_CE has no local type.
Method Signatures
Method CONVERT_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 konvertierter Zeichen | 20000416 | |||
| 2 | N | Call by reference | Type reference (TYPE) | I | -1 | Anzahl zu konvertierender Zeichen | 20000416 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | System-Exception für Initialisierung Code Page Converter | 20001004 | ||
| 2 | System-Exception bei Zeichensatzkonvertierung | 20001004 |
Method CONVERT_D 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 konvertierter Ziffern | 20000417 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | System-Exception für Initialisierung Code Page Converter | 20001004 | ||
| 2 | System-Exception bei Zeichensatzkonvertierung | 20001004 |
Method CONVERT_DECFLOAT16 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 konvertierter Bytes | 20060302 |
Method CONVERT_DECFLOAT16 on class CL_ABAP_CONV_X2X_CE has no exception.
Method CONVERT_DECFLOAT34 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 konvertierter Bytes | 20060302 |
Method CONVERT_DECFLOAT34 on class CL_ABAP_CONV_X2X_CE has no exception.
Method CONVERT_F 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 konvertierter Bytes | 20000417 |
Method CONVERT_F on class CL_ABAP_CONV_X2X_CE has no exception.
Method CONVERT_I 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 konvertierter Bytes | 20000417 |
Method CONVERT_I on class CL_ABAP_CONV_X2X_CE has no exception.
Method CONVERT_INT2 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 konvertierter Bytes | 20000417 |
Method CONVERT_INT2 on class CL_ABAP_CONV_X2X_CE has no exception.
Method CONVERT_N 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 konvertierter Ziffern | 20000417 | |||
| 2 | N | Call by reference | Type reference (TYPE) | I | -1 | Anzahl zu konvertierender Ziffern | 20000417 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | System-Exception für Initialisierung Code Page Converter | 20001004 | ||
| 2 | System-Exception bei Zeichensatzkonvertierung | 20001004 |
Method CONVERT_P 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 konvertierter Bytes | 20000417 | |||
| 2 | N | Call by reference | Type reference (TYPE) | I | Anzahl zu konvertierender Bytes | 20000417 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Parameter mit ungültigem Wertebereich | 20001004 |
Method CONVERT_T 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 konvertierter Ziffern | 20000417 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | System-Exception für Initialisierung Code Page Converter | 20001004 | ||
| 2 | System-Exception bei Zeichensatzkonvertierung | 20001004 |
Method CONVERT_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 kopierter Bytes | 20000416 | |||
| 2 | N | Call by reference | Type reference (TYPE) | I | -1 | Anzahl zu kopierender Bytes | 20000416 |
Method CONVERT_X on class CL_ABAP_CONV_X2X_CE has no exception.
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_X2X_CE | Neue Konverterinstanz | 20000416 | |||
| 2 | IGNORE_CERR | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | Flag: Ignoriere Fehler bei Zeichensatzkonvertierung | 20000416 | ||
| 3 | INPUT | Call by reference | Type reference (TYPE) | XSEQUENCE | Eingabepuffer (X, XSTRING) | 20000416 | |||
| 4 | IN_ENCODING | Call by reference | Type reference (TYPE) | ABAP_ENCODING | 'DEFAULT' | Eingabezeichenformat | 20000416 | ||
| 5 | IN_ENDIAN | Call by reference | Type reference (TYPE) | ABAP_ENDIAN | Eingabebytereihenfolge | 20000416 | |||
| 6 | OUT_ENCODING | Call by reference | Type reference (TYPE) | ABAP_ENCODING | 'DEFAULT' | Ausgabezeichenformat | 20000416 | ||
| 7 | OUT_ENDIAN | Call by reference | Type reference (TYPE) | ABAP_ENDIAN | Ausgabebytereihenfolge | 20000416 | |||
| 8 | REPLACEMENT | Call by reference | Type reference (TYPE) | ABAP_REPL | '#' | Ersatzzeichen für Zeichensatzkonvertierung | 20000416 | ||
| 9 | REPLACEMENT_UCCP | Call by reference | Type reference (TYPE) | SIMPLE | Ersatzzeichen als hexadezimaler Unicode-Codepoint | 20010216 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Parameter mit ungültigem Wertebereich | 20001004 | ||
| 2 | Parameter mit ungültigem Typ | 20001004 | ||
| 3 | System-Exception für Initialisierung Code Page Converter | 20001004 |
Method GET_IN_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 Eingabepuffers | 20000416 |
Method GET_IN_BUFFER on class CL_ABAP_CONV_X2X_CE has no exception.
Method GET_OUT_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 | 20000416 |
Method GET_OUT_BUFFER on class CL_ABAP_CONV_X2X_CE has no exception.
Method RESET Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IGNORE_CERR | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_UNDEFINED | Flag: Ignoriere Fehler bei Zeichensatzkonvertierung | 20000416 | ||
| 2 | INPUT | Call by reference | Type reference (TYPE) | XSEQUENCE | Eingabepuffer (X, XSTRING) | 20000416 | |||
| 3 | IN_ENCODING | Call by reference | Type reference (TYPE) | ABAP_ENCODING | Eingabezeichenformat | 20000416 | |||
| 4 | IN_ENDIAN | Call by reference | Type reference (TYPE) | ABAP_ENDIAN | 'X' | Eingabebytereihenfolge | 20000416 | ||
| 5 | OUT_ENCODING | Call by reference | Type reference (TYPE) | ABAP_ENCODING | Ausgabezeichenformat | 20000416 | |||
| 6 | OUT_ENDIAN | Call by reference | Type reference (TYPE) | ABAP_ENDIAN | 'X' | Ausgabebytereihenfolge | 20000416 |
| # | 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 | 20000416 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | System-Exception für Initialisierung Code Page Converter | 20001208 |
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 | 20000417 | |||
| 2 | N | Call by reference | Type reference (TYPE) | I | 1 | Anzahl zu überspringender Zeichen | 20000417 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Parameter mit ungültigem Wertebereich | 20010129 | ||
| 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 | 20000417 | |||
| 2 | N | Call by reference | Type reference (TYPE) | I | 1 | Anzahl zu überspringender Bytes | 20000417 |
Method SKIP_X on class CL_ABAP_CONV_X2X_CE has no exception.
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) | XSEQUENCE | Auszugebendes Datenobjekt (X, XSTRING) | 20000416 |
Method WRITE on class CL_ABAP_CONV_X2X_CE has no exception.
History
| Last changed by/on | SAP | 20110908 |
| SAP Release Created in | 50A |