SRAL_MAIN SAP (Main entry for read access log) Structure details

Dictionary Type: Structure
Description: Main entry for read access log




ABAP Code to SELECT data from SRAL_MAIN
Related tables to SRAL_MAIN
Access table SRAL_MAIN




Structure field list including key, data, relationships and ABAP select examples

SRAL_MAIN is a standard SAP Structure so does not store data like a database table does. It can be used to define the fields of other actual tables or to process "Main entry for read access log" Information within sap ABAP programs.

This is done by declaring abap internal tables, work areas or database tables based on this Structure. These can then be used to store and process the required data appropriately.

i.e. DATA: wa_SRAL_MAIN TYPE SRAL_MAIN.

The SRAL_MAIN table consists of various fields, each holding specific information or linking keys about Main entry for read access log data available in SAP. These include USERNAME (User Name), DIRECTION (Read Access Logging: Direction), PURPOSE (RAL: Purpose ID), READ_STATUS (Read Access Logging: Read Access Status).. See below for full list along with technical details, documentation, text table, check tables, foreign key relationships, conversion routines, relevant tcodes and example ABAP select code etc. .

Delivery Class:
Display/Maintenance via tcode SM30: Display/Maintenance Allowed but with Restrictions
SAP enhancement categories: Cannot Be Enhanced


SAP SRAL_MAIN structure fields - Full list of fields found in SAP data dictionary

Field Description Data Element Data Type length (Dec) Check table Conversion Routine Domain Name MemoryID SHLP
CLIENTClient MANDTCLNT3Assigned to domainMANDT
USERNAMEUser Name UBNAMECHAR12UBNAME
DIRECTIONRead Access Logging: Direction SRAL_DIRECTIONCHAR1SRAL_DIRECTION
PURPOSERAL: Purpose ID SRAL_LOG_PURPOSECHAR10SRAL_LOG_PURPOSE
READ_STATUSRead Access Logging: Read Access Status SRAL_READ_STATUSCHAR1SRAL_READ_STATUS
READ_INFORead Access Logging: Read Access Status Info Text SRAL_READ_INFOSTRG0SRAL_STRING
CORR_IDRead Access Logging: Correlation ID SRAL_CORR_IDCHAR32SRAL_GUID
CHANNEL_IDRAL: Channel ID SRAL_CHANNEL_IDCHAR4SRAL_CHANNEL_ID
CFG_LIST 0
ENV_LIST 0
LOG_DOMAIN_NAMERead Access Logging: Log Domain SRAL_LOG_DOMAINCHAR30SRAL_LOG_DOMAIN
LOG_DOMAIN_SW_COMPRAL: Software component SRAL_SW_COMPCHAR30Assigned to domainDLVUNIT
DATA_LIST 0

Key field Non-key field



How do I retrieve data from SAP structure SRAL_MAIN using ABAP code?

As SRAL_MAIN is a database structure and not a table it does not store any data in the SAP data dictionary. The ABAP SELECT statement is therefore not appropriate and can not be performed on SRAL_MAIN as there is no data to select.

How to access SAP table SRAL_MAIN

Within an ECC or HANA version of SAP you can also view further information about SRAL_MAIN and the data within it using relevant transactions such as

SE11 (ABAP Dictionary Maintenance)
SM30 (Maintain Table Data)
SE80 (Object Navigator)
SE16 (Data Browser).


Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!