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
⤷ 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 | ABAP | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) |
2 | TSRAL | 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 | CO_DB_CON_DEFAULT | Constant | Public | Type reference (TYPE) | DBCON_NAME | 'r/3*ral' | Logical name for a database connection | 20120418 | |
2 | CO_DB_PRIMARY | Constant | Public | Type reference (TYPE) | DBCON_NAME | 'primary' | Logical name for a database connection | 20120801 | |
3 | CO_VALUE_INITIAL | Constant | Private | Type reference (TYPE) | STRING | ' |
20130319 | ||
4 | M_DB_CON | 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 | ADD_ENTRIES | Static method | Public | Method | 20121119 | |
2 | CONVERT_TO_PERSIST_FORMAT | Static method | Public | Method | 20121126 | |
3 | RAISE_ERROR | Static method | Private | Method | 20120502 | |
4 | RAISE_ERROR_034 | Static method | Private | Method | 20120531 | |
5 | SET_LOG_CONTEXT | Static method | Public | Method | 20121126 | |
6 | WRITE_DATA | 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 | Importing | I_CLIENT_SPECIFIED | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | 20130218 | ||
2 | Importing | I_COMMIT | Call by reference | Type reference (TYPE) | BOOLEAN | ABAP_TRUE | 20121119 | ||
3 | Importing | I_LOG | Call by reference | Type reference (TYPE) | SRAL_LOG_LIST | 20121119 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | CX_SRAL | 20121119 |
Method CONVERT_TO_PERSIST_FORMAT Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Exporting | ET_LOG | Call by reference | Type reference (TYPE) | SRAL_LOG_LIST | 20121126 | |||
2 | Importing | I_CORRELATION_ID | Call by reference | Type reference (TYPE) | SRAL_CORR_ID | 20121126 | |||
3 | Importing | I_LOG_DATA | Call by reference | Type reference (TYPE) | SRAL_WRITER_LOG_DATA | 20121126 | |||
4 | Importing | I_READ_INFO | Call by reference | Type reference (TYPE) | SRAL_READ_INFO | 20121126 | |||
5 | Importing | I_READ_STATUS | Call by reference | Type reference (TYPE) | SRAL_READ_STATUS | TSRAL_READ_STATUS_SUCCESS | 20121126 | ||
6 | Importing | I_REMOTE_IP_ADDRESS | Call by reference | Type reference (TYPE) | SRAL_IP_ADDRESS | 20121126 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | CX_SRAL | 20121126 |
Method RAISE_ERROR Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | I_MSG_TEXT | Call by reference | Type reference (TYPE) | STRING | 20120502 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | CX_SRAL | RAL: Exception | 20120502 |
Method RAISE_ERROR_034 Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | I_ERR | Value transfer | Type reference (TYPE) | STRING | 20120531 | |||
2 | Importing | 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 | Changing | C_LOG | Call by reference | Type reference (TYPE) | SRAL_LOG_LIST | 20121126 | |||
2 | Importing | I_CLIENT | Call by reference | Type reference (TYPE) | MANDT | 20130218 | |||
3 | Importing | I_CORRELATION_ID | Call by reference | Type reference (TYPE) | SRAL_CORR_ID | 20121126 | |||
4 | Importing | I_NEW_LOG_ID | Call by reference | Type reference (TYPE) | ABAP_BOOL | 20121130 | |||
5 | Importing | I_READ_INFO | Call by reference | Type reference (TYPE) | SRAL_READ_INFO | 20121126 | |||
6 | Importing | I_READ_STATUS | Call by reference | Type reference (TYPE) | SRAL_READ_STATUS | TSRAL_READ_STATUS_SUCCESS | 20121126 | ||
7 | Importing | I_REMOTE_IP_ADDRESS | Call by reference | Type reference (TYPE) | SRAL_IP_ADDRESS | 20121126 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | CX_SRAL | 20121130 |
Method WRITE_DATA Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | I_COMMIT | Call by reference | Type reference (TYPE) | BOOLEAN | ABAP_TRUE | Boolean Variable (X=True, -=False, Space=Unknown) | 20120808 | |
2 | Importing | I_CORRELATION_ID | Call by reference | Type reference (TYPE) | SRAL_CORR_ID | Read Access Logging: Correlation ID | 20120514 | ||
3 | Importing | I_LOG_DATA | Call by reference | Type reference (TYPE) | SRAL_WRITER_LOG_DATA | RAL: Log Configuration Content | 20120514 | ||
4 | Importing | I_LOG_DATA_TYPE | Call by reference | Type reference (TYPE) | SRAL_DATA_TYPE | TSRAL_DATA_TYPE_LOG | Read Access Logging: Data Type | 20120514 | |
5 | Importing | I_READ_INFO | Call by reference | Type reference (TYPE) | SRAL_READ_INFO | Read Access Logging: Read Access Status Info Text | 20120514 | ||
6 | Importing | I_READ_STATUS | Call by reference | Type reference (TYPE) | SRAL_READ_STATUS | TSRAL_READ_STATUS_SUCCESS | Read Access Logging: Read Access Status | 20120514 | |
7 | Importing | I_REMOTE_IP_ADDRESS | Call by reference | Type reference (TYPE) | SRAL_IP_ADDRESS | Read Access Logging: IPv4 Address | 20120514 | ||
8 | Importing | 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 | CX_SRAL | RAL: Exception | 20120514 |
History
Last changed by/on | SAP | 20140121 |
SAP Release Created in | 732 |