SWRSWIHEAD SAP (Workflow: Work Item Header) Structure details
Description: Workflow: Work Item Header
Structure field list including key, data, relationships and ABAP select examples
SWRSWIHEAD 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: Work Item Header" 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_SWRSWIHEAD TYPE SWRSWIHEAD.
The SWRSWIHEAD table consists of various fields, each holding specific information or linking keys about Workflow: Work Item Header data available in SAP. These include DEST_ID (Workflow API: Destination for Remote Calls), WI_ID (Work item ID), WI_TYPE (Work item type), WI_TEXT_LANG (Language for Texts of a Work Item).. 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 SWRSWIHEAD 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 |
DEST_ID | Workflow API: Destination for Remote Calls | SWR_DEST | CHAR | 4 | CHAR4 | ||||
WI_ID | Work item ID | SWW_WIID | NUMC | 12 | Assigned to domain | SWW_WIID | WID | ||
WI_TYPE | Work item type | SWW_WITYPE | CHAR | 1 | SWW_WITYPE | ||||
WI_TEXT_LANG | Language for Texts of a Work Item | SWW_LANG | LANG | 1 | Assigned to domain | ISOLA | SPRAS | ||
WI_TEXT | Work Item Text | WITEXT | CHAR | 120 | TEXT120 | ||||
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_CZONLO | Time Zone of Creation Time | SWR_CZONLO | CHAR | 6 | Assigned to domain | TZNZONE | |||
CREA_TMP | Workflow: Creation Time Stamp | SWFRCRETS | DEC | 21(7) | TZNTSTMPL | ||||
WI_AAGENT | Actual Agent of Work Item | SWW_AAGENT | CHAR | 12 | SYCHAR12 | ||||
WI_AAGENT_LOC | Actual Agent of Work Item | SWW_AAGENT | CHAR | 12 | SYCHAR12 | ||||
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_REJECT | Indicator Denoting that Work Item Can Be Rejected by Agent | SWW_REJECT | CHAR | 1 | XFELD | ||||
WI_FORW_BY | (Last) forwarder of work item | SWW_FORWBY | CHAR | 12 | SYCHAR12 | ||||
WI_FORW_BY_LOC | (Last) forwarder of work item | SWW_FORWBY | CHAR | 12 | SYCHAR12 | ||||
WI_STAT | Processing Status of a Work Item | SWW_WISTAT | CHAR | 12 | Assigned to domain | SWW_WISTAT | |||
NOTE_EXIST | Indicator Denoting that At Least One Note Exists for the WI | SWW_NOTEEX | CHAR | 1 | XFELD | ||||
SUBST_FOR_OTYPE | Substitution for (Object Type) | SWR_SUBSTOTYPE | CHAR | 2 | Assigned to domain | OTYPE | |||
SUBST_FOR_OBJID | Substitution for (AgentID) | SWR_SUBSTOBJID | CHAR | 12 | HROBJID_12 | ||||
SUBST_FOR_OBJID_LOC | Substitution for (AgentID) | SWR_SUBSTOBJID | CHAR | 12 | HROBJID_12 | ||||
WI_COMP_EV | Indicator Denoting That Completion By Event Is Possible | SWW_COMPEV | CHAR | 1 | XFELD | ||||
DECISION | Flag for User Decision | SWR_TYPE_DECI | CHAR | 1 | XFELD |
Key field | Non-key field |
How do I retrieve data from SAP structure SWRSWIHEAD using ABAP code?
As SWRSWIHEAD 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 SWRSWIHEAD as there is no data to select.How to access SAP table SWRSWIHEAD
Within an ECC or HANA version of SAP you can also view further information about SWRSWIHEAD 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