SWL_WL SAP (Attributes of the User's Work List) Structure details
Description: Attributes of the User's Work List
Structure field list including key, data, relationships and ABAP select examples
SWL_WL 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 the User's Work List" 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_SWL_WL TYPE SWL_WL.
The SWL_WL table consists of various fields, each holding specific information or linking keys about Attributes of the User's Work List data available in SAP. These include CLIENT (Client), WI_ID (Work item ID), WI_TYPE (Work item type), WI_CREATOR (Creator 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 SWL_WL 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 |
CLIENT | Client | MANDT | CLNT | 3 | T000 | MANDT | |||
WI_ID | Work item ID | SWW_WIID | NUMC | 12 | SWWWIHEAD | SWW_WIID | WID | ||
WI_TYPE | Work item type | SWW_WITYPE | CHAR | 1 | SWWTYPTEXT | 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 | T002 | ISOLA | SPRAS | ||
WI_TEXT | Work Item Text | WITEXT | CHAR | 120 | TEXT120 | ||||
WI_NITEXT | Short text for notification of completion for work item | SWW_NITEXT | CHAR | 120 | TEXT120 | ||||
WI_DITEXT | Short text for missed deadline for work item | SWW_DITEXT | 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 | SWWWIHEAD | SWW_WIID | |||
WI_CBFB | Callback Function Module for Work Item Feedback | SWW_CBFB | CHAR | 30 | TFDIR | FUNCNAME | |||
CB_DONE | Status Transition for Executed Work Item Completed | SWW_CBDONE | CHAR | 1 | XFELD | ||||
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_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 | SWWSTATEXT | 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 | ||||
OTYPE | Object Type | OTYPE | CHAR | 2 | Assigned to domain | OTYPE | POT | ||
OBJID | Agent ID in Organizational Management | ACTORID | CHAR | 12 | HROBJID_12 | ||||
HANDLE | ID of Workflow Trace | SWT_HANDL_ | NUMC | 12 | SWT_HANDLE | ||||
NO_EXECUTE | Work Item May Not be Executed by User Specified | WI_NO_EXEC | CHAR | 1 | CHAR1_X | ||||
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 | ||||
REMOTE_ID | Work item ID | SWW_WIID | NUMC | 12 | Assigned to domain | SWW_WIID | WID | ||
REMOTE_SYS | Logical system | LOGSYS | CHAR | 10 | Assigned to domain | ALPHA | LOGSYS | ||
NO_DEADL | Flag Denoting Whether WI Contains Deadline Data | SWW_DEADFL | CHAR | 1 | XFELD | ||||
RETRY_CNT | Retries for Work Items with Temporary Errors | SWW_RETCNT | NUMC | 2 | SWW_COUNT2 | ||||
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 | ||||
WI_CLASS | Workflow: Class of Work Item Instance | SWFRWICLAS | CHAR | 30 | SEOCLSNAME | ||||
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 | ||||
PROCCAT | Process Category | SWD_PROCCAT | CHAR | 10 | SWD_PROCCAT | ||||
PARENT_WI | Parent of a Work Item | SWFRPARWI | NUMC | 12 | Assigned to domain | SWW_WIID |
Key field | Non-key field |
How do I retrieve data from SAP structure SWL_WL using ABAP code?
As SWL_WL 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 SWL_WL as there is no data to select.How to access SAP table SWL_WL
Within an ECC or HANA version of SAP you can also view further information about SWL_WL 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