TWTASKS SAP (Structure of task from task service) Structure details
Description: Structure of task from task service
Structure field list including key, data, relationships and ABAP select examples
TWTASKS 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 "Structure of task from task service" 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_TWTASKS TYPE TWTASKS.
The TWTASKS table consists of various fields, each holding specific information or linking keys about Structure of task from task service data available in SAP. These include TASK_LUW_ID (Character field, length 32), TASK_STATUS (Natural Number), TASK_ICON (Character field of length 6), TASK_MSG_ID (Message Class).. 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 TWTASKS 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 |
TASK_ID | Character field, length 32 | CHAR32 | CHAR | 32 | CHAR32 | ||||
TASK_LUW_ID | Character field, length 32 | CHAR32 | CHAR | 32 | CHAR32 | ||||
TASK_STATUS | Natural Number | INT4 | INT4 | 10 | INT4 | ||||
TASK_ICON | Character field of length 6 | CHAR6 | CHAR | 6 | CHAR6 | ||||
TASK_MSG_ID | Message Class | SYMSGID | CHAR | 20 | Assigned to domain | ARBGB | |||
TASK_MSG_NUMBER | Message Number | SYMSGNO | NUMC | 3 | SYMSGNO | ||||
TASK_MSG_TEXT | Message Text | BAPI_MSG | CHAR | 220 | TEXT220 | ||||
TASK_NAME | Class Name | SEOCLNAME | CHAR | 30 | SEOCLSNAME | SEOCLSNAMEF4 | |||
TASK_DEST | Logical Destination (Specified in Function Call) | RFCDEST | CHAR | 32 | Assigned to domain | RFCDEST | RFC | F4_RFCDESTYPEALL | |
TASK_USER | User Name in User Master Record | XUBNAME | CHAR | 12 | Assigned to domain | XUBNAME | XUS | ||
TASK_TIMESTAMP | UTC Time Stamp in Long Form (YYYYMMDDhhmmssmmmuuun) | TIMESTAMPL | DEC | 21(7) | TZNTSTMPL | ||||
TASK_DATE | System Date | SYDATUM | DATS | 8 | SYDATS | ||||
TASK_TIME | System Time | SYUZEIT | TIMS | 6 | SYTIME | ||||
TASK_TW_STATUS | Boolean Variable (X=True, -=False, Space=Unknown) | BOOLEAN | CHAR | 1 | BOOLEAN |
Key field | Non-key field |
How do I retrieve data from SAP structure TWTASKS using ABAP code?
As TWTASKS 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 TWTASKS as there is no data to select.How to access SAP table TWTASKS
Within an ECC or HANA version of SAP you can also view further information about TWTASKS 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