SWR_WIHDR SAP (Work Item Structure) Structure details
Description: Work Item Structure
Structure field list including key, data, relationships and ABAP select examples
SWR_WIHDR 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 "Work Item Structure" 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_SWR_WIHDR TYPE SWR_WIHDR.
The SWR_WIHDR table consists of various fields, each holding specific information or linking keys about Work Item Structure data available in SAP. These include WI_TYPE (Work item 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 SWR_WIHDR 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 | Work item type | SWW_WITYPE | CHAR | 1 | SWW_WITYPE | ||||
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 | WITEXT | CHAR | 120 | TEXT120 | ||||
WI_RHTEXT | Short Text from Task | SWW_RHTEXT | CHAR | 40 | CHAR40 | ||||
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_AAGENT | Actual Agent of Work Item | SWW_AAGENT | CHAR | 12 | SYCHAR12 | ||||
WI_CHCKWI | Superordinate Work Item | SWW_CHCKWI | NUMC | 12 | Assigned to domain | SWW_WIID | |||
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_DISABLE | Flag: Work item is currently locked | SWW_DISABL | CHAR | 1 | XFELD | ||||
STATUSTEXT | Workflow: Work Item Status | SWW_STATXT | CHAR | 20 | TEXT20 | ||||
WI_STAT | Processing Status of a Work Item | SWW_WISTAT | CHAR | 12 | Assigned to domain | SWW_WISTAT | |||
WI_LED | Latest End Date for Work Item | SWW_LED | DATS | 8 | SYDATS | ||||
WI_LET | Latest end time for work item | SWW_LET | TIMS | 6 | SYTIME | ||||
TYPETEXT | Work Item Type | SWW_TYPTXT | CHAR | 20 | TEXT20 | ||||
TCLASS | Classification of Tasks | HR_TASK_CL | CHAR | 12 | Assigned to domain | ALPHA | HR_TASK_CL | ||
NOTE_EXIST | Indicator Denoting that At Least One Note Exists for the WI | SWW_NOTEEX | CHAR | 1 | XFELD | ||||
WI_DH_STAT | Deadline Status of a Work Item | SWW_WIDHST | NUMC | 4 | SWW_WIDHST | ||||
DHSTATEXT | Workflow: Work Item Status | SWW_STATXT | CHAR | 20 | TEXT20 | ||||
NO_EXECUTE | Work item may not be executed by user specified | SWRWINOEXE | CHAR | 1 | CHAR1_X | ||||
WI_RELEASE | Release of SAP System | SYSAPRL | CHAR | 4 | SYCHAR04 | ||||
WI_CD_FTD | Creation date of work item (formatted) | SWR_CD_F | CHAR | 20 | CHAR20 | ||||
WI_CT_FTD | Creation time of work item (formatted) | SWR_CT_F | CHAR | 20 | CHAR20 | ||||
WI_LED_FTD | Latest end date of a work item (formatted) | SWR_LED_F | CHAR | 20 | CHAR20 | ||||
WI_LET_FTD | Latest End Time of a Work Item (Formatted) | SWR_LET_F | CHAR | 20 | CHAR20 | ||||
WI_AA_NAME | Name of Actual Agent | SWR_AGTNAM | CHAR | 40 | TEXT40 | ||||
DEF_GUID | Workflow: Unique ID of Step Definition (6.1/get) | SWFRDGUID | CHAR | 40 | CHAR40 | ||||
WI_CRTTS | WAPI: TimeStamp for Creation | SWR_CRTTS | DEC | 21(7) | TZNTSTMPL | ||||
NOTE_COUNT | Number of Attachments | SWFRNOTECN | INT4 | 10 | |||||
WI_COMP_EV | Indicator Denoting That Completion By Event Is Possible | SWW_COMPEV | CHAR | 1 | XFELD | ||||
PROCCAT | Process Category | SWD_PROCCAT | CHAR | 10 | SWD_PROCCAT |
Key field | Non-key field |
How do I retrieve data from SAP structure SWR_WIHDR using ABAP code?
As SWR_WIHDR 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 SWR_WIHDR as there is no data to select.How to access SAP table SWR_WIHDR
Within an ECC or HANA version of SAP you can also view further information about SWR_WIHDR 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