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

⤷

⤷

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 | ![]() |
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 | ![]() |
Static method | Public | Method | Convert Buffer from Code Page | 20060315 |
2 | ![]() |
Static method | Public | Method | Convert String to Code Page | 20060315 |
3 | ![]() |
Static method | Public | Method | Get Current Code Page | 20060315 |
4 | ![]() |
Static method | Public | Method | Get Code Page for Language | 20060315 |
5 | ![]() |
Static method | Public | Method | Get SAP Code Page by External Name | 20060315 |
6 | ![]() |
Static method | Public | Method | Convert SAP Code Page to HTTP Code Page | 20060315 |
7 | ![]() |
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 | ![]() |
CODEPAGE | Call by reference | Type reference (TYPE) | STRING | `UTF-8` | codepage name | 20060315 | |
2 | ![]() |
ENDIAN | Value transfer | Type reference (TYPE) | ABAP_ENDIAN | Nicht benutzen (da wirkungslos!) | 20060315 | ||
3 | ![]() |
IGNORE_CERR | Value transfer | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | Ignoriere Konvertierungsfehler | 20060315 | |
4 | ![]() |
REPLACEMENT | Value transfer | Type reference (TYPE) | ABAP_REPL | '#' | Ersatzzeichen für Zeichensatzkonvertierung | 20060315 | |
5 | ![]() |
RESULT | Value transfer | Type reference (TYPE) | STRING | 20060315 | |||
6 | ![]() |
SOURCE | Call by reference | Type reference (TYPE) | XSTRING | source xstring | 20060315 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
Parameter mit ungültigem Wertebereich | 20060315 | |
2 | ![]() |
Parameter mit ungültigem Typ | 20061107 | |
3 | ![]() |
System-Exception für Initialisierung Code Page Converter | 20060315 | |
4 | ![]() |
System-Exception bei Zeichensatzkonvertierung | 20061107 |
Method CONVERT_TO Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
CODEPAGE | Call by reference | Type reference (TYPE) | STRING | `UTF-8` | codepage name | 20060315 | |
2 | ![]() |
ENDIAN | Value transfer | Type reference (TYPE) | ABAP_ENDIAN | Nicht benutzen (da wirkungslos!) | 20060315 | ||
3 | ![]() |
IGNORE_CERR | Value transfer | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | Ignoriere Konvertierungsfehler | 20060315 | |
4 | ![]() |
REPLACEMENT | Value transfer | Type reference (TYPE) | ABAP_REPL | '#' | Ersatzzeichen für Zeichensatzkonvertierung | 20060315 | |
5 | ![]() |
RESULT | Value transfer | Type reference (TYPE) | XSTRING | 20060315 | |||
6 | ![]() |
SOURCE | Call by reference | Type reference (TYPE) | STRING | source string | 20060315 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
Parameter mit ungültigem Wertebereich | 20060315 | |
2 | ![]() |
Parameter mit ungültigem Typ | 20061107 | |
3 | ![]() |
System-Exception für Initialisierung Code Page Converter | 20060315 | |
4 | ![]() |
System-Exception bei Zeichensatzkonvertierung | 20061107 |
Method CURRENT Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
CODEPAGE | Value transfer | Type reference (TYPE) | STRING | codepage string | 20060315 | ||
2 | ![]() |
HTTP_NAME | Value transfer | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | return http codepage name | 20060315 | |
3 | ![]() |
JAVA_NAME | Value transfer | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | return java codepage name | 20060315 | |
4 | ![]() |
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 | ![]() |
CODEPAGE | Value transfer | Type reference (TYPE) | STRING | codepage name | 20060315 | ||
2 | ![]() |
HTTP_NAME | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | return http codepage name | 20060315 | |
3 | ![]() |
JAVA_NAME | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | return java codepage name | 20060315 | |
4 | ![]() |
LANGUAGE | Call by reference | Attribute reference (LIKE) | SY-LANGU | Sprachenschlüssel der aktuellen Textumgebung | 20060315 | ||
5 | ![]() |
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 | ![]() |
CODEPAGE | Call by reference | Type reference (TYPE) | STRING | external codepage name | 20060315 | ||
2 | ![]() |
SAPCP | Value transfer | Type reference (TYPE) | CPCODEPAGE | SAP-Zeichensatzidentifikation | 20060315 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
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 | ![]() |
HTTP_NAME | Value transfer | Type reference (TYPE) | STRING | 20060315 | |||
2 | ![]() |
SAPCP | Value transfer | Type reference (TYPE) | CPCODEPAGE | SAP-Zeichensatzidentifikation | 20060315 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
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 | ![]() |
JAVA_NAME | Value transfer | Type reference (TYPE) | STRING | java codepage name | 20060315 | ||
2 | ![]() |
SAPCP | Call by reference | Type reference (TYPE) | CPCODEPAGE | SAP-Zeichensatzidentifikation | 20060315 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
Oberklasse für Parameterfehler | 20060315 |
History
Last changed by/on | SAP | 20110908 |
SAP Release Created in | 710 |