SAP ABAP Class CL_SRAL_WRITER (RAL: Log Writer)
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_WRITER | |
| Short Description | RAL: Log Writer | |
| 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 | 20120209 | 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) | |
| 2 | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) |
Interfaces
Class CL_SRAL_WRITER has no interface implemented.
Friends
Class CL_SRAL_WRITER has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Constant | Public | Type reference (TYPE) | DBCON_NAME | 'r/3*ral' | Logical name for a database connection | 20120418 | ||
| 2 | Constant | Public | Type reference (TYPE) | DBCON_NAME | 'primary' | Logical name for a database connection | 20120801 | ||
| 3 | Constant | Private | Type reference (TYPE) | STRING | ' |
20130319 | |||
| 4 | Static Attribute | Private | Type reference (TYPE) | DBCON_NAME | 'r/3*ral' | Logical name for a database connection | 20120418 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Static method | Public | Method | 20121119 | ||
| 2 | Static method | Public | Method | 20121126 | ||
| 3 | Static method | Private | Method | 20120502 | ||
| 4 | Static method | Private | Method | 20120531 | ||
| 5 | Static method | Public | Method | 20121126 | ||
| 6 | Static method | Public | Method | 20120514 |
Events
Class CL_SRAL_WRITER has no event.
Types
Class CL_SRAL_WRITER has no local type.
Method Signatures
Method ADD_ENTRIES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_CLIENT_SPECIFIED | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | 20130218 | |||
| 2 | I_COMMIT | Call by reference | Type reference (TYPE) | BOOLEAN | ABAP_TRUE | 20121119 | |||
| 3 | I_LOG | Call by reference | Type reference (TYPE) | SRAL_LOG_LIST | 20121119 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20121119 |
Method CONVERT_TO_PERSIST_FORMAT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_LOG | Call by reference | Type reference (TYPE) | SRAL_LOG_LIST | 20121126 | ||||
| 2 | I_CORRELATION_ID | Call by reference | Type reference (TYPE) | SRAL_CORR_ID | 20121126 | ||||
| 3 | I_LOG_DATA | Call by reference | Type reference (TYPE) | SRAL_WRITER_LOG_DATA | 20121126 | ||||
| 4 | I_READ_INFO | Call by reference | Type reference (TYPE) | SRAL_READ_INFO | 20121126 | ||||
| 5 | I_READ_STATUS | Call by reference | Type reference (TYPE) | SRAL_READ_STATUS | TSRAL_READ_STATUS_SUCCESS | 20121126 | |||
| 6 | I_REMOTE_IP_ADDRESS | Call by reference | Type reference (TYPE) | SRAL_IP_ADDRESS | 20121126 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20121126 |
Method RAISE_ERROR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_MSG_TEXT | Call by reference | Type reference (TYPE) | STRING | 20120502 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | RAL: Exception | 20120502 |
Method RAISE_ERROR_034 Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_ERR | Value transfer | Type reference (TYPE) | STRING | 20120531 | ||||
| 2 | I_TEXT | Value transfer | Type reference (TYPE) | STRING | 20120531 |
Method RAISE_ERROR_034 on class CL_SRAL_WRITER has no exception.
Method SET_LOG_CONTEXT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | C_LOG | Call by reference | Type reference (TYPE) | SRAL_LOG_LIST | 20121126 | ||||
| 2 | I_CLIENT | Call by reference | Type reference (TYPE) | MANDT | 20130218 | ||||
| 3 | I_CORRELATION_ID | Call by reference | Type reference (TYPE) | SRAL_CORR_ID | 20121126 | ||||
| 4 | I_NEW_LOG_ID | Call by reference | Type reference (TYPE) | ABAP_BOOL | 20121130 | ||||
| 5 | I_READ_INFO | Call by reference | Type reference (TYPE) | SRAL_READ_INFO | 20121126 | ||||
| 6 | I_READ_STATUS | Call by reference | Type reference (TYPE) | SRAL_READ_STATUS | TSRAL_READ_STATUS_SUCCESS | 20121126 | |||
| 7 | I_REMOTE_IP_ADDRESS | Call by reference | Type reference (TYPE) | SRAL_IP_ADDRESS | 20121126 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20121130 |
Method WRITE_DATA Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_COMMIT | Call by reference | Type reference (TYPE) | BOOLEAN | ABAP_TRUE | Boolean Variable (X=True, -=False, Space=Unknown) | 20120808 | ||
| 2 | I_CORRELATION_ID | Call by reference | Type reference (TYPE) | SRAL_CORR_ID | Read Access Logging: Correlation ID | 20120514 | |||
| 3 | I_LOG_DATA | Call by reference | Type reference (TYPE) | SRAL_WRITER_LOG_DATA | RAL: Log Configuration Content | 20120514 | |||
| 4 | I_LOG_DATA_TYPE | Call by reference | Type reference (TYPE) | SRAL_DATA_TYPE | TSRAL_DATA_TYPE_LOG | Read Access Logging: Data Type | 20120514 | ||
| 5 | I_READ_INFO | Call by reference | Type reference (TYPE) | SRAL_READ_INFO | Read Access Logging: Read Access Status Info Text | 20120514 | |||
| 6 | I_READ_STATUS | Call by reference | Type reference (TYPE) | SRAL_READ_STATUS | TSRAL_READ_STATUS_SUCCESS | Read Access Logging: Read Access Status | 20120514 | ||
| 7 | I_REMOTE_IP_ADDRESS | Call by reference | Type reference (TYPE) | SRAL_IP_ADDRESS | Read Access Logging: IPv4 Address | 20120514 | |||
| 8 | I_USE_DB | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_TRUE | X=use DB; space=choose SHM or DB dynamically | 20120514 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | RAL: Exception | 20120514 |
History
| Last changed by/on | SAP | 20140121 |
| SAP Release Created in | 732 |