SAP ABAP Class CL_SRAL_DATA_CONVERT (RAL: Data convertion in and out)
Hierarchy
☛
SAP_BASIS (Software Component) SAP Basis Component
⤷
BC-SEC-RAL (Application Component) Read Access Logging
⤷
SREAD_ACCESS_LOG_CORE (Package) Read Access Logging: Core Framework
⤷
⤷
Properties
| Class | CL_SRAL_DATA_CONVERT | |
| Short Description | RAL: Data convertion in and out | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | SREAD_ACCESS_LOG_CORE | Read Access Logging: Core Framework |
| Created | 20120220 | SAP |
| Last change | 20141121 | |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
Class CL_SRAL_DATA_CONVERT has no forward declaration.
Interfaces
Class CL_SRAL_DATA_CONVERT has no interface implemented.
Friends
Class CL_SRAL_DATA_CONVERT has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Static Attribute | Private | Object reference (TYPE REF TO) | CL_ABAP_CONV_IN_CE | Converter In | 20130111 | |||
| 2 | Static Attribute | Private | Object reference (TYPE REF TO) | CL_ABAP_CONV_OUT_CE | Code Page and Endian Conversion (System Format -> External) | 20130111 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Static method | Public | Method | Convert |
20130131 | |
| 2 | Static method | Public | Method | Inbound: Convert internal data to raw data | 20120220 | |
| 3 | Static method | Public | Method | Inbound: Convert internal data to raw data | 20130108 | |
| 4 | Static method | Public | Method | Convert RawString to |
20130131 | |
| 5 | Static method | Public | Method | Outbound: Convert raw data to internal data | 20130111 |
Events
Class CL_SRAL_DATA_CONVERT has no event.
Types
Class CL_SRAL_DATA_CONVERT has no local type.
Method Signatures
Method CONVERT_ANY_TO_RAW Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ANY | Call by reference | Type reference (TYPE) | ANY | Any | 20130131 | |||
| 2 | RAW | Value transfer | Type reference (TYPE) | SRAL_RAWSTRING | RAL: RawString | 20130131 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | RAL: Exception | 20130131 |
Method CONVERT_DATA_TO_RAW Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_DATA | Call by reference | Type reference (TYPE) | XSTRING | Data as xstring | 20120220 | |||
| 2 | E_DATA_CHAR_UPPER | Call by reference | Type reference (TYPE) | SRAL_CHAR_DATA | RAL: Data in character format | 20120710 | |||
| 3 | E_DECIMALS | Call by reference | Type reference (TYPE) | INT4 | Number of decimals (only type P) | 20120220 | |||
| 4 | E_LENGTH | Call by reference | Type reference (TYPE) | INT4 | Length of data | 20120220 | |||
| 5 | E_TYPE | Call by reference | Type reference (TYPE) | INTTYPE | ABAP data type (C, D, N, g, ...) | 20120220 | |||
| 6 | I_DATA | Call by reference | Object reference (TYPE REF TO) | DATA | Data to be converted | 20120220 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | RAL: Exception | 20121219 |
Method CONVERT_DATA_TO_RAW_OR_CHAR50 Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_DATA | Call by reference | Type reference (TYPE) | XSTRING | Data as xstring | 20130108 | |||
| 2 | E_DATA_CHAR_UPPER | Call by reference | Type reference (TYPE) | SRAL_CHAR_DATA | RAL: Data in character format | 20130108 | |||
| 3 | E_DECIMALS | Call by reference | Type reference (TYPE) | INT4 | Number of decimals (only type P) | 20130108 | |||
| 4 | E_LENGTH | Call by reference | Type reference (TYPE) | INT4 | Length of data | 20130108 | |||
| 5 | E_TYPE | Call by reference | Type reference (TYPE) | INTTYPE | ABAP data type (C, D, N, g, ...) | 20130108 | |||
| 6 | I_DATA | Call by reference | Object reference (TYPE REF TO) | DATA | Data to be converted | 20130108 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | RAL: Exception | 20130108 |
Method CONVERT_RAW_TO_ANY Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ANY | Value transfer | Type reference (TYPE) | ANY | Any | 20130131 | |||
| 2 | RAW | Call by reference | Type reference (TYPE) | SRAL_RAWSTRING | RAL: RawString | 20130131 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | RAL: Exception | 20130131 |
Method CONVERT_RAW_TO_DATA Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_DATA | Call by reference | Object reference (TYPE REF TO) | DATA | Resulting data | 20130111 | |||
| 2 | I_DATA | Call by reference | Type reference (TYPE) | XSTRING | Data as xstring | 20130111 | |||
| 3 | I_DECIMALS | Call by reference | Type reference (TYPE) | INT4 | Number of decimals (only type P) | 20130111 | |||
| 4 | I_LENGTH | Call by reference | Type reference (TYPE) | INT4 | Length of data (used for types: P, N, x, C) | 20130111 | |||
| 5 | I_TYPE | Call by reference | Type reference (TYPE) | INTTYPE | ABAP data type (C, D, N, g, ...) | 20130111 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | RAL: Exception | 20130111 |
History
| Last changed by/on | SAP | 20141121 |
| SAP Release Created in | 732 |