SWFREVTLOG SAP (Event Log) Table details
Dictionary Type: Table
Description: Event Log
Description: Event Log
Table field list including key, data, relationships and ABAP select examples
SWFREVTLOG is a standard SAP Table which is used to store Event Log data and is available within R/3 SAP systems depending on the version and release level.
The SWFREVTLOG table consists of various fields, each holding specific information or linking keys about Event Log data available in SAP. These include LOGGUID (GUID in 'RAW' format), EVENT_ID (ID of an event instance), OBJCATEG (Object Type Category), OBJTYPE (Type of Objects in Persistent Object References).. 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: L - Table for storing temporary data, is delivered emptyDisplay/Maintenance via tcode SM30: Display/Maintenance Allowed but with Restrictions
SAP enhancement categories: Cannot Be Enhanced
SAP SWFREVTLOG 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 | Assigned to domain | MANDT | |||
LOGGUID | GUID in 'RAW' format | GUID_16 | RAW | 16 | SYSUUID | ||||
EVENT_ID | ID of an event instance | SWE_EVTID | NUMC | 20 | SWE_EVTID | ||||
OBJCATEG | Object Type Category | SWFECLSTYP | CHAR | 2 | SWFECLSTYP | SWF_CATID | |||
OBJTYPE | Type of Objects in Persistent Object References | SIBFTYPEID | CHAR | 32 | SIBFTYPEID | ||||
EVENT | Event | SWO_EVENT | CHAR | 32 | SWC_ELEM | ||||
OBJKEY | Instance Ident. in BOR Compat. Persistent Object References | SIBFBORIID | CHAR | 70 | SIBFBORIID | ||||
RECTYPE | Name of Receiver Type | SWFERECTYP | CHAR | 32 | SWFERECTYP | ||||
RECCATEG | Category of Objects in Persistent Object References | SIBFCATID | CHAR | 2 | SIBFCATID | ||||
RECTYPEID | Type of Objects in Persistent Object References | SIBFTYPEID | CHAR | 32 | SIBFTYPEID | ||||
RECKEY | Instance Ident. in BOR Compat. Persistent Object References | SIBFBORIID | CHAR | 70 | SIBFBORIID | ||||
ERROR | Event Trace: Error Number | SWE_ERROR | NUMC | 4 | SWE_ERROR | ||||
RECMODE | Indicator for Event Handler | SWFERECMOD | CHAR | 1 | SWFERECMOD | ||||
RECCLASS | Class Name of Handler | SWFERECCLS | CHAR | 30 | SEOCLSNAME | ||||
RECINTERF | Interface Name of Handler | SWFERECITF | CHAR | 30 | SEOCLSNAME | ||||
RECMETH | Name of Handler Method | SWFERECMET | CHAR | 30 | CHAR30 | ||||
RECMETYP | Method Type | SWFEMETTYP | CHAR | 1 | SWFEMETTYP | ||||
RECFB | Name of Receiver Function Module | SWE_RECFB | CHAR | 30 | Assigned to domain | FUNCNAME | |||
RFCDEST | Logical Destination (Specified in Function Call) | RFCDEST | CHAR | 32 | Assigned to domain | RFCDEST | RFC | F4_RFCDESTYPEALL | |
CHECKFB | Name of Check Function Module | SWE_CHKFB | CHAR | 30 | Assigned to domain | FUNCNAME | |||
RECGETFB | Name of Receiver Type Function Module | SWE_RECTFB | CHAR | 30 | Assigned to domain | FUNCNAME | |||
OTYPE | Object Type | OTYPE | CHAR | 2 | Assigned to domain | OTYPE | POT | ||
OBJID | Agent ID in Organizational Management | ACTORID | CHAR | 12 | HROBJID_12 | ||||
CREA_STMP | UTC Time Stamp in Short Form (YYYYMMDDhhmmss) | TZNTSTMPS | DEC | 15 | TZNTSTMPS | ||||
USERNAME | User Name | SYUNAME | CHAR | 12 | SYCHAR12 | ||||
TIMESTAMP | UTC time stamp in long form (YYYYMMDDhhmmss,mmmuuun) | TZNTSTMPL | DEC | 21(7) | TZNTSTMPL | ||||
PROGNAME | ABAP Program: Current Main Program | SYREPID | CHAR | 40 | Assigned to domain | PROGRAMM | |||
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 |
Key field | Non-key field |
How do I retrieve data from SAP table SWFREVTLOG using ABAP code
The following ABAP code Example will allow you to do a basic selection on SWFREVTLOG to SELECT all data from the tableDATA: WA_SWFREVTLOG TYPE SWFREVTLOG.
SELECT SINGLE *
FROM SWFREVTLOG
INTO CORRESPONDING FIELDS OF WA_SWFREVTLOG
WHERE...
How to access SAP table SWFREVTLOG
Within an ECC or HANA version of SAP you can also view further information about SWFREVTLOG 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