SWP_LOGTAB SAP (Workflow: Internal Table for Display: Node/Step Log) Structure details

Dictionary Type: Structure
Description: Workflow: Internal Table for Display: Node/Step Log




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




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

SWP_LOGTAB 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 "Workflow: Internal Table for Display: Node/Step 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_SWP_LOGTAB TYPE SWP_LOGTAB.

The SWP_LOGTAB table consists of various fields, each holding specific information or linking keys about Workflow: Internal Table for Display: Node/Step Log data available in SAP. These include WF_ID (Workflow ID), WI_DEPTH (Hierarchy level for work item), NODE_CLASS (Node Type), NODETYPE (Node Type).. 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: Can be enhanced (character-type or numeric)


SAP SWP_LOGTAB 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
TOP_LVL_WFWorkflow ID SWP_WF_IDNUMC12Assigned to domainSWW_WIID
WF_IDWorkflow ID SWP_WF_IDNUMC12Assigned to domainSWW_WIID
WI_DEPTHHierarchy level for work item SWI_DEPTHINT410
NODE_CLASSNode Type SWD_NODETPCHAR1SWD_NODETP
NODETYPENode Type SWD_NODETPCHAR1SWD_NODETP
NODE_IDNode Number SWD_NODEIDNUMC10SWD_NODIDS
NODE_P_INDWorkflow: ParForEach index of a node in a WF execution SWP_PARF_INUMC6SWC_INDEX
NODE_TEXTLanguage-dependent text of a workflow definition SWD_TEXT_DCHAR80TEXT80
CMDTEXTWorkflow: Description of statement (container/contr.fl.op SWP_CMDTXTCHAR55TEXT55
LOG_DATEWorkflow: Start time of a workflow activity SWP_CREA_DDATS8SYDATS
LOG_TIMEWorkflow: Start time of a workflow activity SWP_CREA_TTIMS6SYTIME
LOG_COUNTCounter for entries in work item log SWW_LOGCNTNUMC4SWW_LOGCNT
TIMESTAMPUTC Time Stamp in Long Form (YYYYMMDDhhmmssmmmuuun) TIMESTAMPLDEC21(7) TZNTSTMPL
WI_EVENTWorkflow: Event/action on work item (created, deadline) SWP_WI_EVTCHAR16TEXT16
CLIENTClient MANDTCLNT3T000MANDT
WI_IDWork item ID SWW_WIIDNUMC12Assigned to domainSWW_WIIDWID
WI_TYPEWork item type SWW_WITYPECHAR1SWW_WITYPE
WI_CREATORCreator of a work item SWW_OBJIDCHAR90SWO_OBJID
WI_LANGLanguage for Texts of a Work Item SWW_LANGLANG1Assigned to domainISOLASPRAS
WI_TEXTWork item text SWW_WITEXTCHAR120TEXT120
WI_RHTEXTShort Text from Task SWW_RHTEXTCHAR40CHAR40
WI_STATProcessing Status of a Work Item SWW_WISTATCHAR12Assigned to domainSWW_WISTAT
WI_CDCreation Date of Work Item SWW_CDDATS8SYDATS
WI_CTCreation Time of Work Item SWW_CTTIMS6SYTIME
WI_AEDEnd Date of Work Item SWW_AEDDATS8SYDATS
WI_AAGENTActual Agent of Work Item SWW_AAGENTCHAR12SYCHAR12
WI_AADDRKey for BOR Object of Type ADDRESS (SWWADDRKEY) SWWADDRESSCHAR28SYCHAR28
WI_CRUSERUser Who Created the Work Item SWW_CRUSERCHAR12SYCHAR12
WI_CRADDRKey for BOR Object of Type ADDRESS (SWWADDRKEY) SWWADDRESSCHAR28SYCHAR28
WI_CHCKWISuperordinate Work Item SWW_CHCKWINUMC12SWWWIHEADSWW_WIID
WI_CBFBCallback Function Module for Work Item Feedback SWW_CBFBCHAR30Assigned to domainFUNCNAME
WI_RH_TASKTask ID SWW_TASKCHAR14HROBJEC_14
WI_PRIOPriority of a Work Item SWW_PRIONUMC1SWD_PRIORI
WI_CONFIRMIndicator showing that end of processing must be confirmed SWW_WICONFCHAR1XFELD
WI_COMP_EVIndicator Denoting That Completion By Event Is Possible SWW_COMPEVCHAR1XFELD
WI_FORW_BY(Last) forwarder of work item SWW_FORWBYCHAR12SYCHAR12
WI_DISABLEFlag: Work item is currently locked SWW_DISABLCHAR1XFELD
WI_REJECTIndicator Denoting that Work Item Can Be Rejected by Agent SWW_REJECTCHAR1XFELD
TCLASSClassification of Tasks HR_TASK_CLCHAR12T77TCALPHAHR_TASK_CL
NOTE_EXISTIndicator Denoting that At Least One Note Exists for the WI SWW_NOTEEXCHAR1XFELD
NOTIFYFlag: Whether a Notification of Completion Is To Be Sent SWW_NOTIFYCHAR1XFELD
RETRY_CNTRetries for Work Items with Temporary Errors SWW_RETCNTNUMC2SWW_COUNT2
MAX_RETRYRetries for Work Items with Temporary Errors SWW_RETCNTNUMC2SWW_COUNT2
RC_MODELEDIndicator whether return code modeled in step definition SWW_RCMODLCHAR1XFELD
CB_DONEStatus Transition for Executed Work Item Completed SWW_CBDONECHAR1XFELD
HANDLEID of Workflow Trace SWT_HANDL_NUMC12SWT_HANDLE
SYNCCHAINFlag: WI Is Part of a Synchronous Processing Chain SWW_CHAINCHAR1XFELD
NO_DEADLFlag Denoting Whether WI Contains Deadline Data SWW_DEADFLCHAR1XFELD
WI_DH_STATDeadline Status of a Work Item SWW_WIDHSTNUMC4Assigned to domainSWW_WIDHST
WI_RELEASERelease of SAP System SYSAPRLCHAR4SYCHAR04
WLC_DISPLDisplay of WI in WLC modeled in step definition SWW_MODDISCHAR1SWW_MODDIS
WI_RESTLOGMinimize Number of Entries in Workflow Log SWD_NOLOGCHAR1SWD_NOLOG
REMOTE_IDWork item ID SWW_WIIDNUMC12Assigned to domainSWW_WIIDWID
REMOTE_SYSLogical system LOGSYSCHAR10TBDLSALPHALOGSYS
STATUS_EVTFlag: Whether Event STATUS_CHANGED Is To Be Triggered (FIs) SWW_STAEVTCHAR1XFELD
TIMEOUTTime Interval Between Creation of Work Item and Timeout SWD_BI_W_OINT410SWD_TIME_O
WF_TYPEType of Workflow Definition: Standard, Checklist, Ad Hoc, .. SWD_WFTYPENUMC4SWD_DWFTYP
WLC_FLAGSWF: Internal, conversion of 4-byte integer <-> 4-byte hex. SWA_X4RAW4SWA_STATES
XMLPROTTransfer Format Used In Web Activity SWD_XMLPRTNUMC2Assigned to domainSWD_XMLPRT
WAIT4CBWait For Feedback By XML SWD_WAIT4CCHAR1XFELD
TOP_WI_IDWorkflow: Unique ID of Top-Level Instance (6.1/get) SWFRTWIIDNUMC12Assigned to domainSWW_WIID
DEF_GUIDWorkflow: Unique ID of Step Definition (6.1/get) SWFRDGUIDCHAR40CHAR40
EXEC_TIMEWorkflow: De Facto Execution Time in Sec (6.1/get) SWFREXECTMINT410
NOTE_COUNTNumber of Attachments SWFRNOTECNINT410
PRS_PROFILType of Persistence Profile SWD_PERSIDNUMC4SWD_PERSID
CREA_TMPWorkflow: Creation Time Stamp SWFRCRETSDEC21(7) TZNTSTMPL
CHECK_STATWorkflow: Status of Post Condition/Wait Condition SWW_CHKSTANUMC2SWW_CHKSTA
BLOCKTYPEWFM: Block Type SWP_BLOCKTYPENUMC4SWP_BLOCKTYPE
PARENT_WIParent of a Work Item SWFRPARWINUMC12Assigned to domainSWW_WIID
RNDNUMBERWorkflow: Random Number SWF_RNDNUMNUMC2SWF_RNDNUM
WFD_IDNumber of workflow definition SWD_WFD_IDCHAR10Assigned to domainSWD_WFDIDS
WFD_VERSIONVersion SWD_VERSIOCHAR4SWD_VERSIO
WFD_EXETYPWorkflow Type SWD_EXETYPCHAR1SWD_EXETYP
PROCCATProcess Category SWD_PROCCATCHAR10SWD_PROCCAT
TOP_TASKTask Identifier of Top-Level Task SWW_TOP_TASKCHAR14HROBJEC_14
AGENT_NAMEName of Actual Agent of Work Item SWL_AAGT_NCHAR40TEXT40
STATUSTEXTWorkflow: Work Item Status SWW_STATXTCHAR20TEXT20
LS_DEADLWorkflow: 'Latest start deadline' overwritten (flag) SWP_LS_DDLCHAR1XFELD
DE_DEADLWorkflow: 'Requested end' missed (flag) SWP_DE_DDLCHAR1XFELD
LE_DEADLWorkflow: 'Latest end deadline' overwritten (flag) SWP_LE_DDLCHAR1XFELD
RETURNTYPType of Return Value SWP_RETTYPCHAR2SWP_RETTYP
RESULT_TXTName of Step or Outcome SWD_NODDSCCHAR80SWD_NODTXT
RC_INTERNException for method SWO_RETURNNUMC4SWO_RETURN
RETURNCODEWorkflow Definition: Container Expression for Step Result SWD_RETUR_CHAR255SWC_VALUE
RETURNTEXTWorkflow: Short text for work item return code (SWOTRETURN) SWP_RETTXTCHAR15CHAR15
WORKAREAApplication Area ARBGBCHAR20Assigned to domainARBGBMAG
MESSAGEMessage Number SYMSGNONUMC3SYMSGNO
ERRORTYPEMessage Type SYMSGTYCHAR1SYCHAR01
VARIABLE1Message Variable SYMSGVCHAR50SYCHAR50
VARIABLE2Message Variable SYMSGVCHAR50SYCHAR50
VARIABLE3Message Variable SYMSGVCHAR50SYCHAR50
VARIABLE4Message Variable SYMSGVCHAR50SYCHAR50
WI_LOGHISTProcessed Database Table Rows SYDBCNTINT410SYST_LONG
PRED_WI_IDWorkflow: Work item ID of preceding activity of an activity SWP_PREDWINUMC12Assigned to domainSWW_WIID
PRED_NODEWorkflow: Preceding activity of a newly started activity SWP_PREDNONUMC10SWD_NODIDS
STEP_HIDEDisplay Node in Workflow Log SWD_HIDECHAR1SWD_HIDE
SECT1Workflow: Time for Log SWWLOGSECTNUMC3SWWLOGSECT
SECT2Workflow: Time for Log SWWLOGSECTNUMC3SWWLOGSECT
SECT3Workflow: Time for Log SWWLOGSECTNUMC3SWWLOGSECT
SECT4Workflow: Time for Log SWWLOGSECTNUMC3SWWLOGSECT
SECT5Workflow: Time for Log SWWLOGSECTNUMC3SWWLOGSECT
CMPGUIDGUID of WFM Runtime Component SWPCMPGUIDCHAR32SYSUUID_C
NODECATWorkflow Log: Category of a Node SWPNODECATCHAR1SWPNODECAT
NODE_L_INDWFM: Node Loop Counter SWP_LOOPINDNUMC6SWC_INDEX

Key field Non-key field



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

As SWP_LOGTAB 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 SWP_LOGTAB as there is no data to select.

How to access SAP table SWP_LOGTAB

Within an ECC or HANA version of SAP you can also view further information about SWP_LOGTAB 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!