SAP ABAP Class CL_ABAP_CODEPAGE (Code Page Utility Class)
Hierarchy
☛
SAP_BASIS (Software Component) SAP Basis Component
⤷ BC-ABA-LA (Application Component) Syntax, Compiler, Runtime
⤷ SABP_CONVERT (Package) Conversion of Time Specifications
⤷ BC-ABA-LA (Application Component) Syntax, Compiler, Runtime
⤷ SABP_CONVERT (Package) Conversion of Time Specifications
Properties
Class | CL_ABAP_CODEPAGE | |
Short Description | Code Page Utility Class | |
Super Class | ||
Instantiability of a Class | 2 | Public |
Final |
General Data
Message Class | ||
Program status | S | System Program |
Category | 0 | |
Package | SABP_CONVERT | Conversion of Time Specifications |
Created | 20060315 | SAP |
Last change | 20110908 | 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_ABAP_CODEPAGE has no interface implemented.
Friends
Class CL_ABAP_CODEPAGE has no friend class.
Attributes
Class CL_ABAP_CODEPAGE has no attribute.
Methods
# | Method | Level | Visibility | Method type | Description | Created on |
---|---|---|---|---|---|---|
1 | CONVERT_FROM | Static method | Public | Method | Convert Buffer from Code Page | 20060315 |
2 | CONVERT_TO | Static method | Public | Method | Convert String to Code Page | 20060315 |
3 | CURRENT | Static method | Public | Method | Get Current Code Page | 20060315 |
4 | FOR_LANGUAGE | Static method | Public | Method | Get Code Page for Language | 20060315 |
5 | SAP_CODEPAGE | Static method | Public | Method | Get SAP Code Page by External Name | 20060315 |
6 | SAP_TO_HTTP | Static method | Public | Method | Convert SAP Code Page to HTTP Code Page | 20060315 |
7 | SAP_TO_JAVA | Static method | Public | Method | Convert SAP Code Page to Java Code Page | 20060315 |
Events
Class CL_ABAP_CODEPAGE has no event.
Types
Class CL_ABAP_CODEPAGE has no local type.
Method Signatures
Method CONVERT_FROM Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | CODEPAGE | Call by reference | Type reference (TYPE) | STRING | `UTF-8` | codepage name | 20060315 | |
2 | Importing | ENDIAN | Value transfer | Type reference (TYPE) | ABAP_ENDIAN | Nicht benutzen (da wirkungslos!) | 20060315 | ||
3 | Importing | IGNORE_CERR | Value transfer | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | Ignoriere Konvertierungsfehler | 20060315 | |
4 | Importing | REPLACEMENT | Value transfer | Type reference (TYPE) | ABAP_REPL | '#' | Ersatzzeichen für Zeichensatzkonvertierung | 20060315 | |
5 | Returning | RESULT | Value transfer | Type reference (TYPE) | STRING | 20060315 | |||
6 | Importing | SOURCE | Call by reference | Type reference (TYPE) | XSTRING | source xstring | 20060315 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | CX_PARAMETER_INVALID_RANGE | Parameter mit ungültigem Wertebereich | 20060315 | |
2 | CX_PARAMETER_INVALID_TYPE | Parameter mit ungültigem Typ | 20061107 | |
3 | CX_SY_CODEPAGE_CONVERTER_INIT | System-Exception für Initialisierung Code Page Converter | 20060315 | |
4 | CX_SY_CONVERSION_CODEPAGE | System-Exception bei Zeichensatzkonvertierung | 20061107 |
Method CONVERT_TO Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | CODEPAGE | Call by reference | Type reference (TYPE) | STRING | `UTF-8` | codepage name | 20060315 | |
2 | Importing | ENDIAN | Value transfer | Type reference (TYPE) | ABAP_ENDIAN | Nicht benutzen (da wirkungslos!) | 20060315 | ||
3 | Importing | IGNORE_CERR | Value transfer | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | Ignoriere Konvertierungsfehler | 20060315 | |
4 | Importing | REPLACEMENT | Value transfer | Type reference (TYPE) | ABAP_REPL | '#' | Ersatzzeichen für Zeichensatzkonvertierung | 20060315 | |
5 | Returning | RESULT | Value transfer | Type reference (TYPE) | XSTRING | 20060315 | |||
6 | Importing | SOURCE | Call by reference | Type reference (TYPE) | STRING | source string | 20060315 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | CX_PARAMETER_INVALID_RANGE | Parameter mit ungültigem Wertebereich | 20060315 | |
2 | CX_PARAMETER_INVALID_TYPE | Parameter mit ungültigem Typ | 20061107 | |
3 | CX_SY_CODEPAGE_CONVERTER_INIT | System-Exception für Initialisierung Code Page Converter | 20060315 | |
4 | CX_SY_CONVERSION_CODEPAGE | System-Exception bei Zeichensatzkonvertierung | 20061107 |
Method CURRENT Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Returning | CODEPAGE | Value transfer | Type reference (TYPE) | STRING | codepage string | 20060315 | ||
2 | Importing | HTTP_NAME | Value transfer | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | return http codepage name | 20060315 | |
3 | Importing | JAVA_NAME | Value transfer | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | return java codepage name | 20060315 | |
4 | Importing | SAP_NAME | Value transfer | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | return sap codepage number | 20060315 |
Method CURRENT on class CL_ABAP_CODEPAGE has no exception.
Method FOR_LANGUAGE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Returning | CODEPAGE | Value transfer | Type reference (TYPE) | STRING | codepage name | 20060315 | ||
2 | Importing | HTTP_NAME | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | return http codepage name | 20060315 | |
3 | Importing | JAVA_NAME | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | return java codepage name | 20060315 | |
4 | Importing | LANGUAGE | Call by reference | Attribute reference (LIKE) | SY-LANGU | Sprachenschlüssel der aktuellen Textumgebung | 20060315 | ||
5 | Importing | SAP_NAME | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | return sap codepage number | 20060315 |
Method FOR_LANGUAGE on class CL_ABAP_CODEPAGE has no exception.
Method SAP_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) | STRING | external codepage name | 20060315 | ||
2 | Returning | SAPCP | Value transfer | Type reference (TYPE) | CPCODEPAGE | SAP-Zeichensatzidentifikation | 20060315 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | CX_PARAMETER_INVALID | Oberklasse für Parameterfehler | 20060315 |
Method SAP_TO_HTTP Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Returning | HTTP_NAME | Value transfer | Type reference (TYPE) | STRING | 20060315 | |||
2 | Importing | SAPCP | Value transfer | Type reference (TYPE) | CPCODEPAGE | SAP-Zeichensatzidentifikation | 20060315 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | CX_PARAMETER_INVALID | Oberklasse für Parameterfehler | 20060315 |
Method SAP_TO_JAVA Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Returning | JAVA_NAME | Value transfer | Type reference (TYPE) | STRING | java codepage name | 20060315 | ||
2 | Importing | SAPCP | Call by reference | Type reference (TYPE) | CPCODEPAGE | SAP-Zeichensatzidentifikation | 20060315 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | CX_PARAMETER_INVALID | Oberklasse für Parameterfehler | 20060315 |
History
Last changed by/on | SAP | 20110908 |
SAP Release Created in | 710 |