SAP Table SWP_SUSPEN

Workflow instances: Suspended work item callbacks

SWP_SUSPEN (Workflow instances: Suspended work item callbacks) 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 SWP_SUSPEN to other SAP tables.

SWP_SUSPEN table fields

Field Data element Checktable Datatype Length Decimals
CLIENT Client MANDT CLNT 3 0
WF_ID Workflow ID SWP_WF_ID SWWWIHEAD NUMC 12 0
WI_ID Workflow: Work item whose callback must be repeated SWP_SUSPWI NUMC 12 0
NODE_ID Node Number SWD_NODEID NUMC 10 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
LAST_WI_RE Character value SWC_VALUE CHAR 255 0
DELETED Workflow: Delete flag for workflow data which is old SWP_DELETE CHAR 1 0
X Yes
NULL No
ERROR_TYPE Workflow: Error Types for Suspend SWP_ERRTYP NUMC 4 0
0000 Runtime Error (Default), Suspend + Workflow in Error
0001 Enqueue Error: Callback to Workflow
0002 Enqueue Error: Status Not Updated in Parent Workflow
0003 Error When Writing the Event Linkage
0004 Error in Binding
0005 Workflow in Status 'Error'
0006 Workflow Definition Not Found
0007 Workflow Instance Already Deleted
0008 Workflow Instance Does Not Exist
0009 Workflow Locked Against Execution
0010 Error When Determining the Return Code
0011 Error When Determining the Next Node
0012 Error When Creating or in Transient Step
0013 Error in Logical Deletion of a Step
0014 Callback Error: SUSPEND Entry Already Exists
0015 Callback Error: Process in DEBUG Mode
0016 Enqueue Error: Callback of Deadline Monitoring
TIMESTAMP UTC Time Stamp in Long Form (YYYYMMDDhhmmssmmmuuun) TIMESTAMPL DEC 21 7
RETRY_CNT Retries for Work Items with Temporary Errors SWW_RETCNT NUMC 2 0
ALERT_SEND Workflow: Alert Sent SWW_ALTSND CHAR 1 0
X Yes
NULL No
STATUS Workflow: Status of an SWP_SUSPEND Entry SWW_SUSSTA NUMC 2 0
01 Active
02 Error

SWP_SUSPEN foreign key relationships

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