SWCONTEDIT SAP (Editor Structure) Structure details
Description: Editor Structure
Structure field list including key, data, relationships and ABAP select examples
SWCONTEDIT 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 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_SWCONTEDIT TYPE SWCONTEDIT.
The SWCONTEDIT table consists of various fields, each holding specific information or linking keys about Editor Structure data available in SAP. These include ELEMENT (Element), VERBTYPE (Verb type (key, attr., method)), EDITORDER (Editing sequence), ISINTERF (Interface object type).. 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 SWCONTEDIT 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 |
ELEMENT | Element | SWC_ELEM | CHAR | 32 | SWC_ELEM | ||||
VERBTYPE | Verb type (key, attr., method) | SWO_VERBTP | CHAR | 1 | SWO_VERBTP | ||||
EDITORDER | Editing sequence | SWC_EDITOR | NUMC | 4 | NUMC4 | ||||
ISINTERF | Interface object type | SWO_ISIF | CHAR | 1 | SWC_BOOL | ||||
CREA_REL | Release at Creation | SWO_CREARE | CHAR | 4 | CHAR4 | ||||
OBJTYPE | Object Type | SWO_OBJTYP | CHAR | 10 | TOJTB | OJ_NAME | OBJ | ||
OBJTYPECLS | Object Type Class | SWO_OTCLAS | CHAR | 2 | SWO_OTCLAS | ||||
REFTYPE | Dictionary | SWC_REFTYP | CHAR | 1 | SWC_REFTYP | ||||
REFSTRUCT | Reference table | SWC_REFSTR | CHAR | 30 | Assigned to domain | AS4TAB | |||
REFFIELD | Reference field | SWC_REFFLD | CHAR | 30 | Assigned to domain | FDNAME | |||
REFOBJTYPE | Reference obj. type | SWO_REFOBJ | CHAR | 10 | TOJTB | OJ_NAME | |||
EDITELEM | Element name in upper/lower case | SWC_EDITEL | CHAR | 32 | SWC_EDITEL | ||||
OLEINDEX | OLE verb index | SWO_OLEIND | NUMC | 10 | NUMC10 | ||||
WINHLPIND | WinHelp index | SWO_WINHID | NUMC | 10 | NUMC10 | ||||
DESCRIPT | Name | SWC_DESCR | CHAR | 20 | TEXT20 | ||||
SHORTTEXT | Description | SWC_SHTEXT | CHAR | 80 | TEXT80 | ||||
OLETYPE | OLE data type | SWO_OLETYP | NUMC | 5 | NUMC5 | ||||
OLETYPE_P | OLE pointer | SWO_OLEPTR | CHAR | 1 | SWC_BOOL | ||||
ELEMTYPE | Element type | SWC_ELEMTP | CHAR | 1 | SWC_ELEMTP | ||||
OBLIGIMP | Required | SWC_OBLIMP | CHAR | 1 | SWC_BOOL | ||||
OBLIG | Mandatory element | SWC_OBLIG | CHAR | 1 | SWC_BOOL | ||||
TABELEM | Multiline element | SWC_TABELM | CHAR | 1 | SWC_BOOL | ||||
MCODE | Search Help (Formerly Matchcode) | SWC_MCODE | CHAR | 30 | Assigned to domain | SHLPNAME | |||
HLPPARAM | Name of a search help parameter | SHLPFIELD | CHAR | 30 | Assigned to domain | FDNAME | |||
ATTRTYPE | Attribute type | SWO_ATTYPE | CHAR | 1 | SWO_ATTYPE | ||||
ISTAT | Object status | SWO_ISTAT | CHAR | 5 | CHAR5 | ||||
ABAPTYPE | ABAP function type | SWO_METYPE | CHAR | 1 | SWO_METTYP | ||||
ISAPI | Method is R/3 interface function | SWO_ISAPI | CHAR | 1 | SWC_BOOL | ||||
ABAPNAME | Name of ABAP Function | SWO_ATTNAM | CHAR | 30 | CHAR30 | ||||
FUNCPNAME | Name of corresponding function module parameter | SWC_FUPAR | CHAR | 30 | LPARAMETER | ||||
DIALOG | Method with dialog | SWO_DIALOG | CHAR | 1 | SWC_BOOL | ||||
SYNCHRON | Synchronous method | SWO_SYNCH | CHAR | 1 | SWC_BOOL | ||||
RESULT | Method with result parameter | SWO_RESULT | CHAR | 1 | SWC_BOOL | ||||
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 | ||||
COUNTPARAM | Number of parameters in method | SWO_CNTPAR | NUMC | 2 | NUMC2 | ||||
OLEARRAY | Number of columns | SWO_OLEARR | CHAR | 1 | SWC_BOOL | ||||
GUISELECT | Relevant for user interface | SWO_GUISEL | CHAR | 1 | SWC_BOOL | ||||
CLASSVERB | Instance-independent | SWO_CLSVRB | CHAR | 1 | SWC_BOOL | ||||
INVATTRIB | Inverse attribute | SWO_INVATT | CHAR | 32 | SWC_EDITEL | ||||
MODELONLY | Release status verb | SWO_VMODEL | CHAR | 1 | SWO_FLGMOD | ||||
FROZEN | Flag: DDIC structure frozen | SWO_FROZEN | CHAR | 1 | CHAR1_X | ||||
OBSOLETE | Release in which object type was set as obsolete | SWO_OBSOL | CHAR | 4 | CHAR4 | ||||
EVNOINST | Triggering instance for event not available | SWO_EVINST | CHAR | 1 | FLAG | ||||
INTAPI | Flag: Internal API method | SWO_INTAPI | CHAR | 1 | SWC_BOOL | ||||
OLETYPTEXT | OLE data type description | SWO_OLETYT | CHAR | 40 | TEXT40 | ||||
REF_D | Data type reference ABAP Dictionary | SWC_REFTPD | CHAR | 1 | SWC_BOOL | ||||
REF_O | Data type reference object type | SWC_REFTPO | CHAR | 1 | SWC_BOOL | ||||
REF_M | Reference type OLE data type | SWC_REFTPM | CHAR | 1 | SWC_BOOL | ||||
ELEM_E | Parameter is exported from method | SWC_EXPORT | CHAR | 1 | SWC_BOOL | ||||
ELEM_I | Parameter is imported in method | SWC_IMPORT | CHAR | 1 | SWC_BOOL | ||||
OBJTYPTEXT | Name | OJ_STEXT | CHAR | 20 | TEXT20 | ||||
ISTATTEXT | Short text | SWO_TEXT30 | CHAR | 30 | TEXT30 | ||||
ATTR_D | Attribute type: Database field | SWO_ATTYPD | CHAR | 1 | SWC_BOOL | ||||
ATTR_S | Attribute type: Object status | SWO_ATTYPS | CHAR | 1 | SWC_BOOL | ||||
ATTR_V | Attribute type: Virtual | SWO_ATTYPV | CHAR | 1 | SWC_BOOL | ||||
ABAP_A | Other ABAP/4 function | SWO_METH_A | CHAR | 1 | SWC_BOOL | ||||
ABAP_T | ABAP/4 transaction | SWO_METH_T | CHAR | 1 | SWC_BOOL | ||||
ABAP_F | ABAP/4 function module | SWO_METH_F | CHAR | 1 | SWC_BOOL | ||||
ABAP_D | ABAP dialog module | SWO_METH_O | CHAR | 1 | SWC_BOOL | ||||
ABAP_R | ABAP report | SWO_METH_R | CHAR | 1 | SWC_BOOL | ||||
ABAP_S | ABAP/4 interface function (BAPI, ...) | SWO_METH_S | CHAR | 1 | SWC_BOOL | ||||
STATETXT | Text for object type status | SWO_RELTXT | CHAR | 20 | TEXT20 |
Key field | Non-key field |
How do I retrieve data from SAP structure SWCONTEDIT using ABAP code?
As SWCONTEDIT 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 SWCONTEDIT as there is no data to select.How to access SAP table SWCONTEDIT
Within an ECC or HANA version of SAP you can also view further information about SWCONTEDIT 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