SAP Table BPM_WIHEAD

Work item header: key transactional data of workflow runtime

BPM_WIHEAD (Work item header: key transactional data of workflow runtime) 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 BPM_WIHEAD to other SAP tables.

BPM_WIHEAD table fields

Field Data element Checktable Datatype Length Decimals
ROCANCEL BW Delta Process: Record Mode RODMUPDMOD CHAR 1 0
NULL After-Image
X Before-Image
A Add
D Delete (Key Only)
N New Image
R Reverse-Image
Y Update Image (Value from Update)
WI_ID Work item ID SWW_WIID NUMC 12 0
WI_TASK Task ID SWW_TASK CHAR 14 0
WI_TASK_VER Version SWD_VERSIO CHAR 4 0
WI_EXETYPE Workflow Type SWD_EXETYP CHAR 1 0
S Definition
E Runtime
D Ad Hoc Definition
R Ad Hoc Runtime
C Configuration Definition
A Configuration Runtime
WI_NODEID Node Number SWD_NODEID NUMC 10 0
PARENT_ID Work item ID SWW_WIID NUMC 12 0
PARENT_TASK Task ID SWW_TASK CHAR 14 0
PARENT_TASK_VER Version SWD_VERSIO CHAR 4 0
PARENT_EXETYPE Workflow Type SWD_EXETYP CHAR 1 0
S Definition
E Runtime
D Ad Hoc Definition
R Ad Hoc Runtime
C Configuration Definition
A Configuration Runtime
TOP_ID Work item ID SWW_WIID NUMC 12 0
TOP_TASK Task ID SWW_TASK CHAR 14 0
TOP_TASK_VER Version SWD_VERSIO CHAR 4 0
TOP_EXETYPE Workflow Type SWD_EXETYP CHAR 1 0
S Definition
E Runtime
D Ad Hoc Definition
R Ad Hoc Runtime
C Configuration Definition
A Configuration Runtime
WI_TYPE Work item type SWW_WITYPE CHAR 1 0
P Work Item that Represents a Remote Work Item (Proxy WI)
E Work Item that Waits for an Event (Wait Step)
A Work Item that Represents a Work Queue
W Dialog Work Item; Represents a Single-Step Task
D Deadline Work Item; Notification upon Missed Deadline
N Notification Item (No Longer Used)
B Work Item for Background Step
F Workflow (Also Subworkflow)
C Work Item that Represents a Container Linkage
R Work Item that Represents a Remote Work Item (http)
X Work Item that Represents a Block
Q Work Item that Represents a Dialog Block
WF_TYPE Type of Workflow Definition: Standard, Checklist, Ad Hoc, .. SWD_WFTYPE NUMC 4 0
0000 Standard Workflow
0001 Ad Hoc Agent Assignment Is Possible
0002 Portrays Checklist
0004 Supports Forms
0008 Has a Review Workflow
0016 Review Workflow
0032 Insertable Ad Hoc Workflow
0064 Has an Insertable Ad Hoc Workflow
0128 Generated Workflow (Not Modifiable)
0256 Message-Based Workflow
0512 Guided Procedure Workflow
PROCCAT Process Category BPM_PROCCAT CHAR 10 0
NULL Business Workflow
GP Guided Procedure
CCBPM Cross-Component BPM
NOTE_COUNT Number of Attachments SWFRNOTECN INT4 10 0
WI_LANG Language for Texts of a Work Item SWW_LANG LANG 1 0
WI_STAT Processing Status of a Work Item SWW_WISTAT CHAR 12 0
WAITING Waiting (Also: Work Items in Resubmission)
READY Ready
SELECTED Reserved
STARTED In Process
ERROR Error
COMMITTED Executed (Only If Expl. End Confirmation Is Expected)
COMPLETED Completed
CANCELLED Logically Deleted
CHECKED In Preparation
EXCPCAUGHT Exception Caught
EXCPHANDLR Exception Being Handled
CREA_TMP Workflow: Creation Time Stamp SWFRCRETS DEC 21 7
LAST_CHG_TMP Workflow: Completion Time Stamp SWFRCMPTS DEC 21 7
EXEC_TIME Workflow: De Facto Execution Time in Sec (6.1/get) SWFREXECTM INT4 10 0
WI_CRUSER User Who Created the Work Item SWW_CRUSER CHAR 12 0
WI_AAGENT Actual Agent of Work Item SWW_AAGENT CHAR 12 0
WI_FORW_BY (Last) forwarder of work item SWW_FORWBY CHAR 12 0
WI_PRIO Priority of a Work Item SWW_PRIO NUMC 1 0
1 1 Highest - Express
2 2 Very high
3 3 Higher
4 4 High
5 5 Medium
6 6 Low
7 7 Lower
8 8 Very low
9 9 Lowest
RETRY_CNT Retries for Work Items with Temporary Errors SWW_RETCNT NUMC 2 0