SAP Table SWPSTEPLOG

Workflow: Instance Data of Steps of a Workflow Execution

SWPSTEPLOG (Workflow: Instance Data of Steps of a Workflow Execution) is a standard table in SAP R\3 ERP systems. Below you can find the technical details of the fields that make up this table. Key fields are marked in blue.

Additionally we provide an overview of foreign key relationships, if any, that link SWPSTEPLOG to other SAP tables.

SWPSTEPLOG table fields

Field Data element Checktable Datatype Length Decimals
CLIENT Client SWP_MANDT CLNT 3 0
WF_ID Workflow ID SWP_WF_ID SWWWIHEAD NUMC 12 0
NODE_ID Node Number SWD_NODEID NUMC 10 0
NODE_P_IND Workflow: ParForEach index of a node in a WF execution SWP_PARF_I NUMC 6 0
LOG_DATE Workflow: Date when an activity was logged SWP_LOGDAT DATS 8 0
LOG_TIME Workflow: Time when a WF activity was logged SWP_LOGTIM TIMS 6 0
LOG_COUNT Counter for entries in work item log SWW_LOGCNT NUMC 4 0
TIMESTAMP UTC Time Stamp in Long Form (YYYYMMDDhhmmssmmmuuun) TIMESTAMPL DEC 21 7
DELETED Workflow: Delete flag for workflow data which is old SWP_DELETE CHAR 1 0
X Yes
NULL No
RETRYCOUNT Workflow: Number of unsuccessful step activations SWP_RETRYC NUMC 2 0
WI_ID Workflow: Work item ID of an activity in a workflow SWP_WI_ID SWWWIHEAD NUMC 12 0
WI_SYSTEM Workflow: (Log.) system in which a workflow activity occurs SWP_LOGSYS CHAR 10 0
TASK_ID Task abbreviation SWD_STEP_T CHAR 14 0
WI_AGENT Actual Agent of Work Item SWW_AAGENT CHAR 12 0
WI_AED End Date of Work Item SWW_AED DATS 8 0
WI_AET Current end time of work item SWW_AET TIMS 6 0
RETURNCODE Workflow: Data element for terminating events (swwwcompevt) SWP_CMP_EV CHAR 74 0
WI_DH_STAT Deadline Status of a Work Item SWW_WIDHST NUMC 4 0
0000 Deadline Not Yet Reached
8990 Requested Start
8996 Latest Start
8997 Requested End
8998 Latest End
PRED_NODE Workflow: Preceding activity of a newly started activity SWP_PREDNO NUMC 10 0
PRED_NODEP Workflow: Parallelism index of preceding node of an activity SWP_PREDNP NUMC 6 0
PRED_WI_ID Workflow: Work item ID of preceding activity of an activity SWP_PREDWI NUMC 12 0
RETURNVAL WFM: Return value of a step SWP_RETVAL CHAR 255 0
RETURNTYP Type of Return Value SWP_RETTYP CHAR 2 0
EV Terminating event (object type + event) [C74]
RC Return code of method [C4]
RV Return value of method [C255]
CX Class-Based Exception

SWPSTEPLOG foreign key relationships

Table Field Foreign key table Foreign key field Check table Check field
SWPSTEPLOG WF_ID SWPSTEPLOG CLIENT SWWWIHEAD Workflow Runtime: Header Table for All Work Item Types CLIENT
SWPSTEPLOG WF_ID SWPSTEPLOG WF_ID SWWWIHEAD Workflow Runtime: Header Table for All Work Item Types WI_ID
SWPSTEPLOG WI_ID SWPSTEPLOG WI_ID SWWWIHEAD Workflow Runtime: Header Table for All Work Item Types WI_ID
SWPSTEPLOG WI_ID SWPSTEPLOG CLIENT SWWWIHEAD Workflow Runtime: Header Table for All Work Item Types CLIENT