SWOTEDITOR SAP (Editor Control Structure) Structure details

Dictionary Type: Structure
Description: Editor Control Structure




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




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

SWOTEDITOR 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 "Editor Control 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_SWOTEDITOR TYPE SWOTEDITOR.

The SWOTEDITOR table consists of various fields, each holding specific information or linking keys about Editor Control Structure data available in SAP. These include METHOD (Method), OBJTYPECLS (Object Type Class), OBJSTACK (Stack counter for object types), DISPLAY (Editor in display mode).. 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: Not classified


SAP SWOTEDITOR 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
OBJTYPEObject Type SWO_OBJTYPCHAR10Assigned to domainOJ_NAMEOBJ
METHODMethod SWO_METHODCHAR32SWC_ELEM
OBJTYPECLSObject Type Class SWO_OTCLASCHAR2SWO_OTCLAS
OBJSTACKStack counter for object types SWC_CONTSTNUMC4NUMC4
DISPLAYEditor in display mode SWC_DISPLYCHAR1SWC_BOOL
BASEGROUPGroups of basic data SWO_BASGRPNUMC4NUMC04
RETURNException for method SWO_RETURNNUMC4SWO_RETURN
FUNCTIONFunction on a container SWC_FUNCTCHAR20SWC_FUNCT
FUNCEXITExit function from container editor SWC_FUNCEXCHAR4CHAR4
CHANGEDDefinition Was Changed SWC_CHANGECHAR1SWC_BOOL
CURSORTop Displayed List Line SYSTAROINT410SYST_LONG
LINESNumber of elements in CONTEDIT SWC_LINESINT410SYST_LONG
BUFFEREditor buffer number of lines SWC_BUFFERINT410SYST_LONG
MARK1First line selected SWC_MARK1INT410SYST_LONG
MARK2Last line selected SWC_MARK2INT410SYST_LONG
CURSORFLDScreen field under cursor SWC_CUFILDCHAR30CHAR30
CURSORCOLFirst List Column Displayed SYSTACOINT410SYST_LONG
CURSOROFFSHorizontal Cursor Position SYCUCOLINT410SYST_SHORT
CURSORLINEVertical Cursor Position SYCUROWINT410SYST_SHORT
STATUSCurrent status of editor GUI SWC_STATUSCHAR20GUI_STATUS
TITLECurrent GUI title in editor SWC_TITLECHAR3CHAR3
SELECTIndex of selected element SWC_SELECTINT410SYST_LONG
MODEEditor mode SWC_EDMODECHAR1SWC_EDMODE
SORTEditor was re-sorted SWC_SORTCHAR1SWC_BOOL
FILTERFilter is set SWC_FILTERCHAR1SWC_BOOL
FILTVALUEFilter SWC_FILVALCHAR30CHAR30
FILTBOXFilter checkbox SWC_FILBOXCHAR1SWC_BOOL
FILTEXACTFilter exactly SWC_FILEXACHAR1SWC_BOOL
FILTGENERFilter generically SWC_FILGENCHAR1SWC_BOOL
FILTCSFilter in case character string occurs SWC_FILCSCHAR1SWC_BOOL
MARKCOLUMNSelected editor column SWC_MARKCLINT410SYST_LONG
LINESIZECurrent line width in list SWC_LINSIZINT410SYST_LONG
NOEDITNo editing due to inheritance or needs to be overridden SWC_NOEDITCHAR1SWC_INHERI
USEOBJNAMEDisplay object name SWC_USEONMCHAR1SWC_BOOL
CHANGEDTXTText for object type status SWO_RELTXTCHAR20TEXT20

Key field Non-key field



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

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

How to access SAP table SWOTEDITOR

Within an ECC or HANA version of SAP you can also view further information about SWOTEDITOR 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!