SWELOG SAP (Table for entries of the event log) Table details
Dictionary Type: Table
Description: Table for entries of the event log
Description: Table for entries of the event log
Table field list including key, data, relationships and ABAP select examples
SWELOG is a standard SAP Table which is used to store Table for entries of the event log data and is available within R/3 SAP systems depending on the version and release level.
The SWELOG table consists of various fields, each holding specific information or linking keys about Table for entries of the event log data available in SAP. These include EVENT_ID (ID of an event instance), RECTYPE (Name of Receiver Type), RECID (Receiver ID), RECFB (Name of Receiver Function Module).. 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: A - Application table (master and transaction data)Display/Maintenance via tcode SM30: Display/Maintenance Allowed but with Restrictions
SAP enhancement categories: Cannot Be Enhanced
SAP SWELOG table 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 |
CLIENT | Client | MANDT | CLNT | 3 | T000 | MANDT | |||
EVENT_ID | ID of an event instance | SWE_EVTID | NUMC | 20 | SWE_EVTID | ||||
RECTYPE | Name of Receiver Type | SWE_RECTYP | CHAR | 14 | SWETYPECOU | SWE_RECTYP | |||
RECID | Receiver ID | SWE_RECID | CHAR | 90 | SWO_OBJID | ||||
RECFB | Name of Receiver Function Module | SWE_RECFB | CHAR | 30 | TFDIR | FUNCNAME | |||
RFCDEST | Logical Destination (Specified in Function Call) | RFCDEST | CHAR | 32 | RFCDES | RFCDEST | RFC | F4_RFCDESTYPEALL | |
ERROR | Event Trace: Error Number | SWE_ERROR | NUMC | 4 | SWE_ERROR | ||||
OBJTYPE | Object Type | SWO_OBJTYP | CHAR | 10 | TOJTB | OJ_NAME | OBJ | ||
OBJKEY | Object key | SWO_TYPEID | CHAR | 70 | SWO_TYPEID | ||||
EVENT | Event | SWO_EVENT | CHAR | 32 | SWC_ELEM | ||||
EV_PROGRAM | Calling Program | SYCPROG | CHAR | 40 | Assigned to domain | PROGRAMM | |||
EV_DATE | System Date | SYDATUM | DATS | 8 | SYDATS | ||||
EV_TIME | System Time | SYUZEIT | TIMS | 6 | SYTIME | ||||
EV_USER | User Name | SYUNAME | CHAR | 12 | SYCHAR12 | ||||
RECGETFB | Name of Receiver Type Function Module | SWE_RECTFB | CHAR | 30 | TFDIR | FUNCNAME | |||
CHECKFB | Name of Check Function Module | SWE_CHKFB | CHAR | 30 | TFDIR | FUNCNAME | |||
EV_TRFC_ID | TRFC_ID of triggered receiver function module | SWE_TRFCID | CHAR | 24 | SWE_TRFCID | ||||
MSGID | Message Class | SYMSGID | CHAR | 20 | Assigned to domain | ARBGB | |||
MSGNO | Message Number | SYMSGNO | NUMC | 3 | SYMSGNO | ||||
MSGV1 | Message Variable | SYMSGV | CHAR | 50 | SYCHAR50 | ||||
MSGV2 | Message Variable | SYMSGV | CHAR | 50 | SYCHAR50 | ||||
MSGV3 | Message Variable | SYMSGV | CHAR | 50 | SYCHAR50 | ||||
MSGV4 | Message Variable | SYMSGV | CHAR | 50 | SYCHAR50 | ||||
MSGTY | Message Type | SYMSGTY | CHAR | 1 | SYCHAR01 |
Key field | Non-key field |
How do I retrieve data from SAP table SWELOG using ABAP code
The following ABAP code Example will allow you to do a basic selection on SWELOG to SELECT all data from the tableDATA: WA_SWELOG TYPE SWELOG.
SELECT SINGLE *
FROM SWELOG
INTO CORRESPONDING FIELDS OF WA_SWELOG
WHERE...
How to access SAP table SWELOG
Within an ECC or HANA version of SAP you can also view further information about SWELOG and the data within it using relevant transactions such asSE11 (ABAP Dictionary Maintenance)
SM30 (Maintain Table Data)
SE80 (Object Navigator)
SE16 (Data Browser).
Search for further information about these or an SAP related objects