SWB_ERROR SAP (Structure for Handling Errors) Structure details

Dictionary Type: Structure
Description: Structure for Handling Errors




ABAP Code to SELECT data from SWB_ERROR
Related tables to SWB_ERROR
Access table SWB_ERROR




Structure field list including key, data, relationships and ABAP select examples

SWB_ERROR 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 for Handling Errors" 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_SWB_ERROR TYPE SWB_ERROR.

The SWB_ERROR table consists of various fields, each holding specific information or linking keys about Structure for Handling Errors data available in SAP. These include NODEID (Node Number), NODETYPE (Node type), WORKAREA (Application Area), MESSAGE (Workflow definition: Message number).. 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 SWB_ERROR 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
NODEIDNode Number SWD_NODEIDNUMC10SWD_NODIDS
NODETYPENode type SWD_TRETYPCHAR4Assigned to domainSWD_TRETYP
WORKAREAApplication Area ARBGBCHAR20T100AARBGBMAG
MESSAGEWorkflow definition: Message number SWD_MSGNRNUMC3SYMSGNO
TYPEWorkflow definition: Message type SWD_ERRTYPCHAR1SYCHAR01
ACT_POSSIBWorkflow definition: Activation possible SWD_ACTPOSCHAR1XFELD
SAV_POSSIBWorkflow definition: Save possible SWD_SAVPOSCHAR1XFELD
VARIABLE1Message Variable SYMSGVCHAR50SYCHAR50
VARIABLE2Message Variable SYMSGVCHAR50SYCHAR50
VARIABLE3Message Variable SYMSGVCHAR50SYCHAR50
VARIABLE4Message Variable SYMSGVCHAR50SYCHAR50
FIELDNAMEWorkflow definition: Field name on screen SWD_FLDNA_CHAR30CHAR30
DYNNRWorkflow definition: Screen number SWD_DYNNRCHAR4SYCHAR04
SUBSCREENWorkflow definition: Screen number SWD_DYNNRCHAR4SYCHAR04
STEP_LOOPWorkflow definition: Number of step loop on screen SWD_STLOOPNUMC1NUMC1
POS_CURSORVertical Cursor Position SYCUROWINT410SYST_SHORT
CREFTEXTText (80 Characters) TEXT80CHAR80TEXT80UEB
SWB_LINEIDCondition Editor: Line Number in Internal Display SWB_LINEIDNUMC3NUM3
SWB_OPTYPEWF Condition Editor: Element Type SWB_ELMTYPCHAR1SWB_ELMTYP
SWB_ERRTYPReturn Code SYSUBRCINT410SYST_SHORT

Key field Non-key field



How do I retrieve data from SAP structure SWB_ERROR using ABAP code?

As SWB_ERROR 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 SWB_ERROR as there is no data to select.

How to access SAP table SWB_ERROR

Within an ECC or HANA version of SAP you can also view further information about SWB_ERROR and the data within it using relevant transactions such as

SE11 (ABAP Dictionary Maintenance)
SM30 (Maintain Table Data)
SE80 (Object Navigator)
SE16 (Data Browser).


Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!