SWPSTEPLOG SAP (Workflow: Instance Data of Steps of a Workflow Execution) Table details

Dictionary Type: Table
Description: Workflow: Instance Data of Steps of a Workflow Execution




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




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

SWPSTEPLOG is a standard SAP Table which is used to store Workflow: Instance Data of Steps of a Workflow Execution data and is available within R/3 SAP systems depending on the version and release level.

The SWPSTEPLOG table consists of various fields, each holding specific information or linking keys about Workflow: Instance Data of Steps of a Workflow Execution data available in SAP. These include WF_ID (Workflow ID), NODE_ID (Node Number), NODE_P_IND (Workflow: ParForEach index of a node in a WF execution), LOG_DATE (Workflow: Date when an activity was logged).. 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 SWPSTEPLOG 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 SWP_MANDTCLNT3Assigned to domainMANDT
WF_IDWorkflow ID SWP_WF_IDNUMC12SWWWIHEADSWW_WIID
NODE_IDNode Number SWD_NODEIDNUMC10SWD_NODIDS
NODE_P_INDWorkflow: ParForEach index of a node in a WF execution SWP_PARF_INUMC6SWC_INDEX
LOG_DATEWorkflow: Date when an activity was logged SWP_LOGDATDATS8SYDATS
LOG_TIMEWorkflow: Time when a WF activity was logged SWP_LOGTIMTIMS6SYTIME
LOG_COUNTCounter for entries in work item log SWW_LOGCNTNUMC4SWW_LOGCNT
TIMESTAMPUTC Time Stamp in Long Form (YYYYMMDDhhmmssmmmuuun) TIMESTAMPLDEC21(7) TZNTSTMPL
DELETEDWorkflow: Delete flag for workflow data which is old SWP_DELETECHAR1XFELD
RETRYCOUNTWorkflow: Number of unsuccessful step activations SWP_RETRYCNUMC2NUMC2
WI_IDWorkflow: Work item ID of an activity in a workflow SWP_WI_IDNUMC12SWWWIHEADSWW_WIID
WI_SYSTEMWorkflow: (Log.) system in which a workflow activity occurs SWP_LOGSYSCHAR10CHAR10
TASK_IDTask abbreviation SWD_STEP_TCHAR14HROBJEC_14
WI_AGENTActual Agent of Work Item SWW_AAGENTCHAR12SYCHAR12
WI_AEDEnd Date of Work Item SWW_AEDDATS8SYDATS
WI_AETCurrent end time of work item SWW_AETTIMS6SYTIME
RETURNCODEWorkflow: Data element for terminating events (swwwcompevt) SWP_CMP_EVCHAR74CHAR74
WI_DH_STATDeadline Status of a Work Item SWW_WIDHSTNUMC4SWW_WIDHST
PRED_NODEWorkflow: Preceding activity of a newly started activity SWP_PREDNONUMC10SWD_NODIDS
PRED_NODEPWorkflow: Parallelism index of preceding node of an activity SWP_PREDNPNUMC6SWC_INDEX
PRED_WI_IDWorkflow: Work item ID of preceding activity of an activity SWP_PREDWINUMC12Assigned to domainSWW_WIID
RETURNVALWFM: Return value of a step SWP_RETVALCHAR255SWP_RETVAL
RETURNTYPType of Return Value SWP_RETTYPCHAR2SWP_RETTYP

Key field Non-key field



How do I retrieve data from SAP table SWPSTEPLOG using ABAP code

The following ABAP code Example will allow you to do a basic selection on SWPSTEPLOG to SELECT all data from the table
DATA: WA_SWPSTEPLOG TYPE SWPSTEPLOG.

SELECT SINGLE *
FROM SWPSTEPLOG
INTO CORRESPONDING FIELDS OF WA_SWPSTEPLOG
WHERE...

How to access SAP table SWPSTEPLOG

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