SAP table SWW_WIHEAD (Workflow: Structure for Header Table of All Work Item Types)

SAP table SWW_WIHEAD has 1 primary key field being WI_ID.

Field Description Data Type Length Decimals Checktable Data Element
WI_ID Work item ID NUMC 12 0 SWW_WIID
WI_TYPE Workflow: Step Type CHAR 1 0 SWFRWITYPE
A Work Item that Represents a Work Queue
B Work Item for Background Step
C Work Item that Represents a Container Linkage
E Work Item that Waits for an Event (Wait Step)
F (Sub-)Workflow
I Condition
L Loop
M Multiple Condition
O Container Operation
P Work Item that Represents a Remote Work Item (Proxy WI)
R Work Item that Represents a Remote Work Item (http)
S Fork
U Publish Event
W Dialog Work Item; Represents a Single-Step Task
WI_CREATOR Creator of a work item CHAR 90 0 SWW_OBJID
WI_LANG Language for Texts of a Work Item LANG 1 0 SWW_LANG
WI_TEXT Work item text CHAR 120 0 SWW_WITEXT
WI_RHTEXT Short Text from Task CHAR 40 0 SWW_RHTEXT
WI_STAT Processing Status of a Work Item CHAR 12 0 SWW_WISTAT
CANCELLED Logically Deleted
CHECKED In Preparation
COMMITTED Executed
COMPLETED Completed
ERROR Error
EXCPCAUGHT Exception Caught
EXCPHANDLR Exception Active
READY Ready
SELECTED Accepted
STARTED In Process
WAITING Waiting
WI_CD Creation Date of Work Item DATS 8 0 SWW_CD
WI_CT Creation Time of Work Item TIMS 6 0 SWW_CT
WI_AED End Date of Work Item DATS 8 0 SWW_AED
WI_AAGENT Actual Agent of Work Item CHAR 12 0 SWW_AAGENT
WI_AADDR Key for BOR Object of Type ADDRESS (SWWADDRKEY) CHAR 28 0 SWWADDRESS
WI_CRUSER User Who Created the Work Item CHAR 12 0 SWW_CRUSER
WI_CRADDR Key for BOR Object of Type ADDRESS (SWWADDRKEY) CHAR 28 0 SWWADDRESS
WI_CHCKWI Superordinate Work Item NUMC 12 0 SWWWIHEAD SWW_CHCKWI
WI_CBFB Callback Function Module for Work Item Feedback CHAR 30 0 SWW_CBFB
WI_RH_TASK Task ID CHAR 14 0 SWW_TASK
WI_PRIO Priority of a Work Item NUMC 1 0 SWW_PRIO
WI_CONFIRM Indicator showing that end of processing must be confirmed CHAR 1 0 SWW_WICONF
WI_COMP_EV Indicator Denoting That Completion By Event Is Possible CHAR 1 0 SWW_COMPEV
WI_FORW_BY (Last) forwarder of work item CHAR 12 0 SWW_FORWBY
WI_DISABLE Flag: Work item is currently locked CHAR 1 0 SWW_DISABL
WI_REJECT Indicator Denoting that Work Item Can Be Rejected by Agent CHAR 1 0 SWW_REJECT
TCLASS Classification of Tasks CHAR 12 0 T77TC HR_TASK_CL
NOTE_EXIST Indicator Denoting that At Least One Note Exists for the WI CHAR 1 0 SWW_NOTEEX
NOTIFY Flag: Whether a Notification of Completion Is To Be Sent CHAR 1 0 SWW_NOTIFY
RETRY_CNT Retries for Work Items with Temporary Errors NUMC 2 0 SWW_RETCNT
MAX_RETRY Retries for Work Items with Temporary Errors NUMC 2 0 SWW_RETCNT
RC_MODELED Indicator whether return code modeled in step definition CHAR 1 0 SWW_RCMODL
CB_DONE Status Transition for Executed Work Item Completed CHAR 1 0 SWW_CBDONE
HANDLE ID of Workflow Trace NUMC 12 0 SWT_HANDL_
SYNCCHAIN Flag: WI Is Part of a Synchronous Processing Chain CHAR 1 0 SWW_CHAIN
NO_DEADL Flag Denoting Whether WI Contains Deadline Data CHAR 1 0 SWW_DEADFL
WI_DH_STAT Deadline Status of a Work Item NUMC 4 0 SWWDHSTEXT SWW_WIDHST
0000 Deadline Not Yet Reached
8990 Requested Start
8996 Latest Start
8997 Requested End
8998 Latest End
WI_RELEASE Release of SAP System CHAR 4 0 SYSAPRL
WLC_DISPL Display of WI in WLC Modeled in Step Definition CHAR 1 0 SWW_MODDIS
Nothing modeled
F Function module modeled
X Subscreen modeled
Z Everything modeled (tab page, function module)
WI_RESTLOG Minimize Number of Entries in Workflow Log CHAR 1 0 SWD_NOLOG
Only log success messages and errors
1 No restrictions on logging
2 Only log errors
REMOTE_ID Work item ID NUMC 12 0 SWW_WIID
REMOTE_SYS Logical system CHAR 10 0 TBDLS LOGSYS
STATUS_EVT Flag: Whether Event STATUS_CHANGED Is To Be Triggered (FIs) CHAR 1 0 SWW_STAEVT
TIMEOUT Time Interval Between Creation of Work Item and Timeout INT4 10 0 SWD_BI_W_O
WF_TYPE Type of Workflow Definition: Standard, Checklist, Ad Hoc, .. NUMC 4 0 SWD_WFTYPE
WLC_FLAGS WF: Flags RAW 4 0 SWW_WLC_FLAGS
XMLPROT Transfer Format Used In Web Activity NUMC 2 0 * SWD_XMLPRT
WAIT4CB Wait For Feedback By XML CHAR 1 0 SWD_WAIT4C
TOP_WI_ID Workflow: Unique ID of Top-Level Instance (6.1/get) NUMC 12 0 SWFRTWIID
DEF_GUID Workflow: Unique ID of Step Definition (6.1/get) CHAR 40 0 SWFRDGUID
EXEC_TIME Workflow: De Facto Execution Time in Sec (6.1/get) INT4 10 0 SWFREXECTM
NOTE_COUNT Number of Attachments INT4 10 0 SWFRNOTECN
PRS_PROFIL Type of Persistence Profile NUMC 4 0 SWD_PERSID
0000 Compatibility Mode
0001 Structure Persistence
0002 XML Persistence
CREA_TMP Workflow: Creation Time Stamp DEC 21 7 SWFRCRETS
CHECK_STAT Workflow: Status of Post Condition/Wait Condition NUMC 2 0 SWW_CHKSTA
00 No Post/Wait Condition Active
01 Post Condition to Be Checked (Delivery Using Batch)
02 Wait Condition to Be Checked (Delivery Using Batch)
03 Post/Wait Condition to Be Checked (Delivery Using Batch)
11 Post Condition to Be Checked (Delivery Using Event)
12 Wait Condition to Be Checked (Delivery Using Event)
13 Post/Wait Condition to Be Checked (Delivery Using Event)
BTC_PROCES Workflow: Background Processing Active for Item NUMC 2 0 SWW_BTCPRO
01 Pre/Post Conditions (RSWWCOND)
MAX_COUNT Number of Events to Be Received NUMC 4 0 SWW_MCNT
ACT_COUNT Current Number of Events Received NUMC 4 0 SWW_ACNT
NODE_TYPE Node Type CHAR 1 0 SWD_NODETP
C CASE
D DECISION
E ENDIF
F FORK
I IF
J JOIN
L SERVICE
O CONTROL
P Container operation (ADD, MULTIPLY, ...)
R RECEIVER
S STEP
T TRIGGER
V VOID
X BLOCKSTART
Y BLOCKEND
Z DEAD END
APPL Source application for work queue CHAR 30 0 SWZ_APPL
DEF_TASK Default task for work queue CHAR 14 0 SWZ_DFTASK
RELEASED Indicator Denoting Whether Entire Work Queue Is Released CHAR 1 0 SWZ_AIREL
MCOA1 Search term for matchcode use CHAR 30 0 SWZ_MCOA1
APPLEXFUNC Function module for executing a work queue CHAR 30 0 SWZ_EXEFCT
BLOCK_GUID Workflow: Guid for Block CHAR 32 0 SWW_BLGUID
BLOCKTYPE WFM: Block Type NUMC 4 0 SWP_BLOCKTYPE
0000 Explicit Block
0001 Implicit Block
0002 Local Workflow
PARENT_WI Parent of a Work Item NUMC 12 0 SWFRPARWI
RNDNUMBER Workflow: Random Number NUMC 2 0 SWF_RNDNUM
WFD_ID Number of workflow definition CHAR 10 0 SWD_WFD_ID
WFD_VERSION Version CHAR 4 0 SWD_VERSIO
WFD_EXETYP Workflow Type CHAR 1 0 SWD_EXETYP
A Configuration Runtime
C Configuration Definition
D Ad Hoc Definition
E Runtime
R Ad Hoc Runtime
S Definition
PROCCAT Process Category CHAR 10 0 SWD_PROCCAT
Business Workflow
CCBPM Cross-Component BPM
GP Guided Procedure
TOP_TASK Task Identifier of Top-Level Task CHAR 14 0 SWW_TOP_TASK
AGING_STATE Workflow: Version of Data Aging NUMC 4 0 SWW_DAAG_VERSION
0000 not aged
0001
AGING_TEMPERATURE Workflow: Temperature for Data Aging DATS 8 0 SWW_DAAG_TEMPERATURE
WLC_FLAGS_EXT Workflow: Flags Extended RAW 8 0 SWW_WLC_FLAGS_EXT
WI_AED_TIMESTAMP Workflow: Timestamp completion DEC 21 7 SWF_AED_TIMESTAMP
REFERENCE_NODEID Reference Node NUMC 10 0 SWD_REFERENCE_NODEID
STEP_ID Workflow: Step Id CHAR 40 0 SWD_STEP_ID
AGENT_RULE_ID Workflow: Agent Rule Id CHAR 40 0 SWD_AGENT_RULE_ID
WI_TEXT_ID Work Item Text ID CHAR 32 0 SWW_WITEXTID
CPWF_HANDLE CP WF Integration: Workflow Handle CHAR 32 0 SWF_CPWF_HANDLE
WI_MOD_BY Workflow: Modified by CHAR 12 0 SWF_MODIFIED_BY
WI_MOD_FLAG Modified flag CHAR 1 0 SWW_MODIFIED_FLAG

SWW_WIHEAD foreign key relationships

Table Field Check Table Check Field
0 SWW_WIHEAD REMOTE_SYS TBDLS Logical system LOGSYS
1 SWW_WIHEAD TCLASS T77TC Classification of Tasks MANDT
1 SWW_WIHEAD TCLASS T77TC Classification of Tasks TCLASS
0 SWW_WIHEAD WI_CHCKWI SWWWIHEAD Workflow Runtime: Header Table for All Work Item Types WI_ID
1 SWW_WIHEAD WI_DH_STAT SWWDHSTEXT Workflow: Status Texts for Work Item Deadline Status WI_DH_STAT
1 SWW_WIHEAD WI_DH_STAT SWWDHSTEXT Workflow: Status Texts for Work Item Deadline Status LANGUAGE