SWELOG SAP (Table for entries of the event log) Table details

Dictionary Type: Table
Description: Table for entries of the event log




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




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
CLIENTClient MANDTCLNT3T000MANDT
EVENT_IDID of an event instance SWE_EVTIDNUMC20SWE_EVTID
RECTYPEName of Receiver Type SWE_RECTYPCHAR14SWETYPECOUSWE_RECTYP
RECIDReceiver ID SWE_RECIDCHAR90SWO_OBJID
RECFBName of Receiver Function Module SWE_RECFBCHAR30TFDIRFUNCNAME
RFCDESTLogical Destination (Specified in Function Call) RFCDESTCHAR32RFCDESRFCDESTRFCF4_RFCDESTYPEALL
ERROREvent Trace: Error Number SWE_ERRORNUMC4SWE_ERROR
OBJTYPEObject Type SWO_OBJTYPCHAR10TOJTBOJ_NAMEOBJ
OBJKEYObject key SWO_TYPEIDCHAR70SWO_TYPEID
EVENTEvent SWO_EVENTCHAR32SWC_ELEM
EV_PROGRAMCalling Program SYCPROGCHAR40Assigned to domainPROGRAMM
EV_DATESystem Date SYDATUMDATS8SYDATS
EV_TIMESystem Time SYUZEITTIMS6SYTIME
EV_USERUser Name SYUNAMECHAR12SYCHAR12
RECGETFBName of Receiver Type Function Module SWE_RECTFBCHAR30TFDIRFUNCNAME
CHECKFBName of Check Function Module SWE_CHKFBCHAR30TFDIRFUNCNAME
EV_TRFC_IDTRFC_ID of triggered receiver function module SWE_TRFCIDCHAR24SWE_TRFCID
MSGIDMessage Class SYMSGIDCHAR20Assigned to domainARBGB
MSGNOMessage Number SYMSGNONUMC3SYMSGNO
MSGV1Message Variable SYMSGVCHAR50SYCHAR50
MSGV2Message Variable SYMSGVCHAR50SYCHAR50
MSGV3Message Variable SYMSGVCHAR50SYCHAR50
MSGV4Message Variable SYMSGVCHAR50SYCHAR50
MSGTYMessage Type SYMSGTYCHAR1SYCHAR01

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 table
DATA: 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 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!