SWD_EVENTS SAP (WF: Subsequent events (results, events, exceptions, ...)) Structure details
Description: WF: Subsequent events (results, events, exceptions, ...)
Structure field list including key, data, relationships and ABAP select examples
SWD_EVENTS 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 "WF: Subsequent events (results, events, exceptions, ...)" 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_SWD_EVENTS TYPE SWD_EVENTS.
The SWD_EVENTS table consists of various fields, each holding specific information or linking keys about WF: Subsequent events (results, events, exceptions, ...) data available in SAP. These include RETURN_DSC (Outcome), EVT_TYPE (Event for object type), EVT_TEXT (Event description), EVT_CONTEL (Container element with object reference).. 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 SWD_EVENTS 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 |
RETURNCODE | Result of synchronous method | SWD_RESVAL | CHAR | 10 | DOMVAL | ||||
RETURN_DSC | Outcome | SWD_RESDSC | CHAR | 60 | DDTEXT | ||||
EVT_TYPE | Event for object type | SWD_EVTTYP | CHAR | 32 | SIBFTYPEID | ||||
EVT_TEXT | Event description | SWD_EVTTXT | CHAR | 80 | TEXT80 | ||||
EVT_CONTEL | Container element with object reference | SWD_CONEVT | CHAR | 255 | SWD_VALUE | ||||
EVT_CONTXT | Workflow definition: Keyword container element | SWD_CONTXT | CHAR | 80 | TEXT80 | ||||
EVT_OTYPE | Object Type | SWD_OBJTYP | CHAR | 32 | SIBFTYPEID | ||||
EVT_CATID | Object Category (for Events) | SWD_ECATID | CHAR | 2 | SWFECLSTYP | ||||
ICON | Comment | CHAR50 | CHAR | 50 | TEXT50 | ||||
BUTTON | Comment | CHAR50 | CHAR | 50 | TEXT50 | ||||
SELECT | Workflow definition: Selection flag | SWD_SELFLG | CHAR | 1 | XFELD | ||||
TYPE | Outcome Type | SWD_OUTTYP | CHAR | 2 | SWD_OUTTYP | ||||
NODEID | Node Number | SWD_NODEID | NUMC | 10 | SWD_NODIDS | ||||
NODETYPE | Node type | SWD_TRETYP | CHAR | 4 | Assigned to domain | SWD_TRETYP | |||
SEL_FLAG | Workflow definition: Selection flag | SWD_SELFLG | CHAR | 1 | XFELD | ||||
DESCRIPT | Outcome Name | SWD_EVTDSC | CHAR | 80 | SWD_NODTXT | ||||
TASK | Task abbreviation | SWD_STEP_T | CHAR | 14 | HROBJEC_14 | ||||
RETURN | Workflow definition: Return value of a method | SWD_ORETRN | CHAR | 4 | SWD_EXCEPT | ||||
OBJTYPE | Object Type | SWO_OBJTYP | CHAR | 10 | Assigned to domain | OJ_NAME | OBJ | ||
ERRORTYPE | Error type | SWO_ERRTYP | NUMC | 1 | SWO_ERRTYP | ||||
ERROR_0 | Exception: Temporary error | SWO_ERR_0 | CHAR | 1 | SWC_BOOL | ||||
ERROR_1 | Exception: Application error | SWO_ERR_1 | CHAR | 1 | SWC_BOOL | ||||
ERROR_2 | Exception: System error | SWO_ERR_2 | CHAR | 1 | SWC_BOOL | ||||
ARBGB | Application Area | ARBGB | CHAR | 20 | Assigned to domain | ARBGB | MAG | ||
MSGNR | Message number | SWO_MSGNR | NUMC | 3 | NUMC3 | ||||
TEXT | Message Text | NATXT | CHAR | 73 | NATXT | ||||
FUNCEXCEPT | Name of corresponding FM exception | SWC_FUEX | CHAR | 30 | LPARAMETER | ||||
NOEDIT | No editing due to inheritance or needs to be overridden | SWC_NOEDIT | CHAR | 1 | SWC_INHERI | ||||
SORTORDER | Sort sequence | SWC_SORTOD | NUMC | 4 | NUMC04 | ||||
FILTER | Filter is set | SWC_FILTER | CHAR | 1 | SWC_BOOL | ||||
CREA_REL | Release at Creation | SWO_CREARE | CHAR | 4 | CHAR4 | ||||
EXC_CLSNAM | Object Type Name | SEOCLSNAME | CHAR | 30 | SEOCLSNAME | CLASS | |||
STEP_HIDE | Display Node in Workflow Log | SWD_HIDE | CHAR | 1 | SWD_HIDE |
Key field | Non-key field |
How do I retrieve data from SAP structure SWD_EVENTS using ABAP code?
As SWD_EVENTS 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 SWD_EVENTS as there is no data to select.How to access SAP table SWD_EVENTS
Within an ECC or HANA version of SAP you can also view further information about SWD_EVENTS 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