SWPSTEPLOG SAP (Workflow: Instance Data of Steps of a Workflow Execution) Table details
Description: Workflow: Instance Data of Steps of a Workflow Execution
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 |
CLIENT | Client | SWP_MANDT | CLNT | 3 | Assigned to domain | MANDT | |||
WF_ID | Workflow ID | SWP_WF_ID | NUMC | 12 | SWWWIHEAD | SWW_WIID | |||
NODE_ID | Node Number | SWD_NODEID | NUMC | 10 | SWD_NODIDS | ||||
NODE_P_IND | Workflow: ParForEach index of a node in a WF execution | SWP_PARF_I | NUMC | 6 | SWC_INDEX | ||||
LOG_DATE | Workflow: Date when an activity was logged | SWP_LOGDAT | DATS | 8 | SYDATS | ||||
LOG_TIME | Workflow: Time when a WF activity was logged | SWP_LOGTIM | TIMS | 6 | SYTIME | ||||
LOG_COUNT | Counter for entries in work item log | SWW_LOGCNT | NUMC | 4 | SWW_LOGCNT | ||||
TIMESTAMP | UTC Time Stamp in Long Form (YYYYMMDDhhmmssmmmuuun) | TIMESTAMPL | DEC | 21(7) | TZNTSTMPL | ||||
DELETED | Workflow: Delete flag for workflow data which is old | SWP_DELETE | CHAR | 1 | XFELD | ||||
RETRYCOUNT | Workflow: Number of unsuccessful step activations | SWP_RETRYC | NUMC | 2 | NUMC2 | ||||
WI_ID | Workflow: Work item ID of an activity in a workflow | SWP_WI_ID | NUMC | 12 | SWWWIHEAD | SWW_WIID | |||
WI_SYSTEM | Workflow: (Log.) system in which a workflow activity occurs | SWP_LOGSYS | CHAR | 10 | CHAR10 | ||||
TASK_ID | Task abbreviation | SWD_STEP_T | CHAR | 14 | HROBJEC_14 | ||||
WI_AGENT | Actual Agent of Work Item | SWW_AAGENT | CHAR | 12 | SYCHAR12 | ||||
WI_AED | End Date of Work Item | SWW_AED | DATS | 8 | SYDATS | ||||
WI_AET | Current end time of work item | SWW_AET | TIMS | 6 | SYTIME | ||||
RETURNCODE | Workflow: Data element for terminating events (swwwcompevt) | SWP_CMP_EV | CHAR | 74 | CHAR74 | ||||
WI_DH_STAT | Deadline Status of a Work Item | SWW_WIDHST | NUMC | 4 | SWW_WIDHST | ||||
PRED_NODE | Workflow: Preceding activity of a newly started activity | SWP_PREDNO | NUMC | 10 | SWD_NODIDS | ||||
PRED_NODEP | Workflow: Parallelism index of preceding node of an activity | SWP_PREDNP | NUMC | 6 | SWC_INDEX | ||||
PRED_WI_ID | Workflow: Work item ID of preceding activity of an activity | SWP_PREDWI | NUMC | 12 | Assigned to domain | SWW_WIID | |||
RETURNVAL | WFM: Return value of a step | SWP_RETVAL | CHAR | 255 | SWP_RETVAL | ||||
RETURNTYP | Type of Return Value | SWP_RETTYP | CHAR | 2 | SWP_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 tableDATA: 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 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