SWI_UNIT SAP (Attributes of individual work items) Structure details
Description: Attributes of individual work items
Structure field list including key, data, relationships and ABAP select examples
SWI_UNIT 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 "Attributes of individual work items" 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_SWI_UNIT TYPE SWI_UNIT.
The SWI_UNIT table consists of various fields, each holding specific information or linking keys about Attributes of individual work items data available in SAP. These include WI_CD (Creation Date of Work Item), WI_CT (Creation Time of Work Item), STATUSTEXT (Workflow: Work Item Status), AGENTNAME (Name of work item agent).. 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 SWI_UNIT 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_CD | Creation Date of Work Item | SWW_CD | DATS | 8 | SYDATS | ||||
WI_CT | Creation Time of Work Item | SWW_CT | TIMS | 6 | SYTIME | ||||
STATUSTEXT | Workflow: Work Item Status | SWW_STATXT | CHAR | 20 | TEXT20 | ||||
AGENTNAME | Name of work item agent | SWI_AGENT | CHAR | 40 | TEXT40 | ||||
WI_TEXT | Work item text | SWW_WITEXT | CHAR | 120 | TEXT120 | ||||
WI_AED | End Date of Work Item | SWW_AED | DATS | 8 | SYDATS | ||||
WI_PRIO | Priority of a Work Item | SWW_PRIO | NUMC | 1 | SWD_PRIORI | ||||
NOTE_EXIST | Indicator Denoting that At Least One Note Exists for the WI | SWW_NOTEEX | CHAR | 1 | XFELD | ||||
NO_DEADL | Flag Denoting Whether WI Contains Deadline Data | SWW_DEADFL | CHAR | 1 | XFELD |
Key field | Non-key field |
How do I retrieve data from SAP structure SWI_UNIT using ABAP code?
As SWI_UNIT 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 SWI_UNIT as there is no data to select.How to access SAP table SWI_UNIT
Within an ECC or HANA version of SAP you can also view further information about SWI_UNIT 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