SWW_WIHEAD SAP (Workflow: Structure for Header Table of All Work Item Types) Structure details
Description: Workflow: Structure for Header Table of All Work Item Types
Structure field list including key, data, relationships and ABAP select examples
SWW_WIHEAD is a standard SAP Structure so does not store data like a database table does. It can be used to define the fields of other actual tables or to process "Workflow: Structure for Header Table of All Work Item Types" Information within sap ABAP programs.
This is done by declaring abap internal tables, work areas or database tables based on this Structure. These can then be used to store and process the required data appropriately.
i.e. DATA: wa_SWW_WIHEAD TYPE SWW_WIHEAD.
The SWW_WIHEAD table consists of various fields, each holding specific information or linking keys about Workflow: Structure for Header Table of All Work Item Types data available in SAP. These include WI_TYPE (Workflow: Step Type), WI_CREATOR (Creator of a work item), WI_LANG (Language for Texts of a Work Item), WI_TEXT (Work item text).. 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:Display/Maintenance via tcode SM30: Display/Maintenance Allowed but with Restrictions
SAP enhancement categories: Cannot Be Enhanced
SAP SWW_WIHEAD structure 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 |
WI_ID | Work item ID | SWW_WIID | NUMC | 12 | Assigned to domain | SWW_WIID | WID | ||
WI_TYPE | Workflow: Step Type | SWFRWITYPE | CHAR | 1 | SWFRWITYPE | ||||
WI_CREATOR | Creator of a work item | SWW_OBJID | CHAR | 90 | SWO_OBJID | ||||
WI_LANG | Language for Texts of a Work Item | SWW_LANG | LANG | 1 | Assigned to domain | ISOLA | SPRAS | ||
WI_TEXT | Work item text | SWW_WITEXT | CHAR | 120 | TEXT120 | ||||
WI_RHTEXT | Short Text from Task | SWW_RHTEXT | CHAR | 40 | CHAR40 | ||||
WI_STAT | Processing Status of a Work Item | SWW_WISTAT | CHAR | 12 | Assigned to domain | SWW_WISTAT | |||
WI_CD | Creation Date of Work Item | SWW_CD | DATS | 8 | SYDATS | ||||
WI_CT | Creation Time of Work Item | SWW_CT | TIMS | 6 | SYTIME | ||||
WI_AED | End Date of Work Item | SWW_AED | DATS | 8 | SYDATS | ||||
WI_AAGENT | Actual Agent of Work Item | SWW_AAGENT | CHAR | 12 | SYCHAR12 | ||||
WI_AADDR | Key for BOR Object of Type ADDRESS (SWWADDRKEY) | SWWADDRESS | CHAR | 28 | SYCHAR28 | ||||
WI_CRUSER | User Who Created the Work Item | SWW_CRUSER | CHAR | 12 | SYCHAR12 | ||||
WI_CRADDR | Key for BOR Object of Type ADDRESS (SWWADDRKEY) | SWWADDRESS | CHAR | 28 | SYCHAR28 | ||||
WI_CHCKWI | Superordinate Work Item | SWW_CHCKWI | NUMC | 12 | SWWWIHEAD | SWW_WIID | |||
WI_CBFB | Callback Function Module for Work Item Feedback | SWW_CBFB | CHAR | 30 | Assigned to domain | FUNCNAME | |||
WI_RH_TASK | Task ID | SWW_TASK | CHAR | 14 | HROBJEC_14 | ||||
WI_PRIO | Priority of a Work Item | SWW_PRIO | NUMC | 1 | SWD_PRIORI | ||||
WI_CONFIRM | Indicator showing that end of processing must be confirmed | SWW_WICONF | CHAR | 1 | XFELD | ||||
WI_COMP_EV | Indicator Denoting That Completion By Event Is Possible | SWW_COMPEV | CHAR | 1 | XFELD | ||||
WI_FORW_BY | (Last) forwarder of work item | SWW_FORWBY | CHAR | 12 | SYCHAR12 | ||||
WI_DISABLE | Flag: Work item is currently locked | SWW_DISABL | CHAR | 1 | XFELD | ||||
WI_REJECT | Indicator Denoting that Work Item Can Be Rejected by Agent | SWW_REJECT | CHAR | 1 | XFELD | ||||
TCLASS | Classification of Tasks | HR_TASK_CL | CHAR | 12 | T77TC | ALPHA | HR_TASK_CL | ||
NOTE_EXIST | Indicator Denoting that At Least One Note Exists for the WI | SWW_NOTEEX | CHAR | 1 | XFELD | ||||
NOTIFY | Flag: Whether a Notification of Completion Is To Be Sent | SWW_NOTIFY | CHAR | 1 | XFELD | ||||
RETRY_CNT | Retries for Work Items with Temporary Errors | SWW_RETCNT | NUMC | 2 | SWW_COUNT2 | ||||
MAX_RETRY | Retries for Work Items with Temporary Errors | SWW_RETCNT | NUMC | 2 | SWW_COUNT2 | ||||
RC_MODELED | Indicator whether return code modeled in step definition | SWW_RCMODL | CHAR | 1 | XFELD | ||||
CB_DONE | Status Transition for Executed Work Item Completed | SWW_CBDONE | CHAR | 1 | XFELD | ||||
HANDLE | ID of Workflow Trace | SWT_HANDL_ | NUMC | 12 | SWT_HANDLE | ||||
SYNCCHAIN | Flag: WI Is Part of a Synchronous Processing Chain | SWW_CHAIN | CHAR | 1 | XFELD | ||||
NO_DEADL | Flag Denoting Whether WI Contains Deadline Data | SWW_DEADFL | CHAR | 1 | XFELD | ||||
WI_DH_STAT | Deadline Status of a Work Item | SWW_WIDHST | NUMC | 4 | SWWDHSTEXT | SWW_WIDHST | |||
WI_RELEASE | Release of SAP System | SYSAPRL | CHAR | 4 | SYCHAR04 | ||||
WLC_DISPL | Display of WI in WLC modeled in step definition | SWW_MODDIS | CHAR | 1 | SWW_MODDIS | ||||
WI_RESTLOG | Minimize Number of Entries in Workflow Log | SWD_NOLOG | CHAR | 1 | SWD_NOLOG | ||||
REMOTE_ID | Work item ID | SWW_WIID | NUMC | 12 | Assigned to domain | SWW_WIID | WID | ||
REMOTE_SYS | Logical system | LOGSYS | CHAR | 10 | TBDLS | ALPHA | LOGSYS | ||
STATUS_EVT | Flag: Whether Event STATUS_CHANGED Is To Be Triggered (FIs) | SWW_STAEVT | CHAR | 1 | XFELD | ||||
TIMEOUT | Time Interval Between Creation of Work Item and Timeout | SWD_BI_W_O | INT4 | 10 | SWD_TIME_O | ||||
WF_TYPE | Type of Workflow Definition: Standard, Checklist, Ad Hoc, .. | SWD_WFTYPE | NUMC | 4 | SWD_DWFTYP | ||||
WLC_FLAGS | WF: Internal, conversion of 4-byte integer <-> 4-byte hex. | SWA_X4 | RAW | 4 | SWA_STATES | ||||
XMLPROT | Transfer Format Used In Web Activity | SWD_XMLPRT | NUMC | 2 | Assigned to domain | SWD_XMLPRT | |||
WAIT4CB | Wait For Feedback By XML | SWD_WAIT4C | CHAR | 1 | XFELD | ||||
TOP_WI_ID | Workflow: Unique ID of Top-Level Instance (6.1/get) | SWFRTWIID | NUMC | 12 | Assigned to domain | SWW_WIID | |||
DEF_GUID | Workflow: Unique ID of Step Definition (6.1/get) | SWFRDGUID | CHAR | 40 | CHAR40 | ||||
EXEC_TIME | Workflow: De Facto Execution Time in Sec (6.1/get) | SWFREXECTM | INT4 | 10 | |||||
NOTE_COUNT | Number of Attachments | SWFRNOTECN | INT4 | 10 | |||||
PRS_PROFIL | Type of Persistence Profile | SWD_PERSID | NUMC | 4 | SWD_PERSID | ||||
CREA_TMP | Workflow: Creation Time Stamp | SWFRCRETS | DEC | 21(7) | TZNTSTMPL | ||||
CHECK_STAT | Workflow: Status of Post Condition/Wait Condition | SWW_CHKSTA | NUMC | 2 | SWW_CHKSTA | ||||
BTC_PROCES | Workflow: Background Processing Active for Item | SWW_BTCPRO | NUMC | 2 | SWW_BTCPRO | ||||
MAX_COUNT | Number of Events to Be Received | SWW_MCNT | NUMC | 4 | SWD_RCOUNT | ||||
ACT_COUNT | Current Number of Events Received | SWW_ACNT | NUMC | 4 | SWD_RCOUNT | ||||
NODE_TYPE | Node Type | SWD_NODETP | CHAR | 1 | SWD_NODETP | ||||
APPL | Source application for work queue | SWZ_APPL | CHAR | 30 | Assigned to domain | DEVCLASS | |||
DEF_TASK | Default task for work queue | SWZ_DFTASK | CHAR | 14 | HROBJEC_14 | ||||
RELEASED | Indicator Denoting Whether Entire Work Queue Is Released | SWZ_AIREL | CHAR | 1 | XFELD | ||||
MCOA1 | Search term for matchcode use | SWZ_MCOA1 | CHAR | 30 | CHAR30 | ||||
APPLEXFUNC | Function module for executing a work queue | SWZ_EXEFCT | CHAR | 30 | Assigned to domain | FUNCNAME | |||
BLOCK_GUID | Workflow: Guid for Block | SWW_BLGUID | CHAR | 32 | SYSUUID_C | ||||
BLOCKTYPE | WFM: Block Type | SWP_BLOCKTYPE | NUMC | 4 | SWP_BLOCKTYPE | ||||
PARENT_WI | Parent of a Work Item | SWFRPARWI | NUMC | 12 | Assigned to domain | SWW_WIID | |||
RNDNUMBER | Workflow: Random Number | SWF_RNDNUM | NUMC | 2 | SWF_RNDNUM | ||||
WFD_ID | Number of workflow definition | SWD_WFD_ID | CHAR | 10 | Assigned to domain | SWD_WFDIDS | |||
WFD_VERSION | Version | SWD_VERSIO | CHAR | 4 | SWD_VERSIO | ||||
WFD_EXETYP | Workflow Type | SWD_EXETYP | CHAR | 1 | SWD_EXETYP | ||||
PROCCAT | Process Category | SWD_PROCCAT | CHAR | 10 | SWD_PROCCAT | ||||
TOP_TASK | Task Identifier of Top-Level Task | SWW_TOP_TASK | CHAR | 14 | HROBJEC_14 |
Key field | Non-key field |
How do I retrieve data from SAP structure SWW_WIHEAD using ABAP code?
As SWW_WIHEAD is a database structure and not a table it does not store any data in the SAP data dictionary. The ABAP SELECT statement is therefore not appropriate and can not be performed on SWW_WIHEAD as there is no data to select.How to access SAP table SWW_WIHEAD
Within an ECC or HANA version of SAP you can also view further information about SWW_WIHEAD 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