SWOTRM SAP (Runtime Structure Methods) Structure details

Dictionary Type: Structure
Description: Runtime Structure Methods




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




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

SWOTRM 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 "Runtime Structure Methods" 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_SWOTRM TYPE SWOTRM.

The SWOTRM table consists of various fields, each holding specific information or linking keys about Runtime Structure Methods data available in SAP. These include DESCRIPT (Name), OBJTYPE (Object Type), PROGNAME (Implementation program), FORMNAME (Name of the subroutine).. 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 SWOTRM 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
METHODMethod SWO_METHODCHAR32SWC_ELEM
DESCRIPTName SWC_DESCRCHAR20TEXT20
OBJTYPEObject Type SWO_OBJTYPCHAR10TOJTBOJ_NAMEOBJ
PROGNAMEImplementation program SWO_PROGRCHAR40TRDIRPROGNAME
FORMNAMEName of the subroutine SWO_FORMCHAR42CHAR42
ABAPTYPEABAP function type SWO_METYPECHAR1SWO_METTYP
ABAPNAMEName of ABAP Function SWO_ATTNAMCHAR30CHAR30
EDITELEMElement name in upper/lower case SWC_EDITELCHAR32SWC_EDITEL
EDITORDEREditing sequence SWC_EDITORNUMC4NUMC4
DIALOGMethod with dialog SWO_DIALOGCHAR1SWC_BOOL
SYNCHRONSynchronous method SWO_SYNCHCHAR1SWC_BOOL
RESULTMethod with result parameter SWO_RESULTCHAR1SWC_BOOL
ISINTERFInterface object type SWO_ISIFCHAR1SWC_BOOL
CREA_RELRelease at Creation SWO_CREARECHAR4CHAR4
REFTYPEDictionary SWC_REFTYPCHAR1SWC_REFTYP
REFSTRUCTReference table SWC_REFSTRCHAR30Assigned to domainAS4TAB
REFFIELDReference field SWC_REFFLDCHAR30Assigned to domainFDNAME
REFOBJTYPEReference obj. type SWO_REFOBJCHAR10TOJTBOJ_NAME
TABELEMMultiline element SWC_TABELMCHAR1SWC_BOOL
MCODESearch Help (Formerly Matchcode) SWC_MCODECHAR30Assigned to domainSHLPNAME
INTLENGTHInternal field length SWO_INTLENNUMC6NUMC06
INTATYPEABAP elementary data type SWO_FLDTYPCHAR1INTTYPE
OUTLENGTHOutput length SWO_OUTLNGNUMC6NUMC06
LOWERCASELowercase letters allowed/not allowed LOWERCASECHAR1AS4FLAG
CONVEXITConversion Routine CONVEXITCHAR5CONVEXIT
MEMORYIDSet/Get parameter ID MEMORYIDCHAR20Assigned to domainMEMORYID
SHORTTEXTDescription SWC_SHTEXTCHAR80TEXT80
COUNTPARAMNumber of parameters in method SWO_CNTPARNUMC2NUMC2
GUISELECTRelevant for user interface SWO_GUISELCHAR1SWC_BOOL
CLASSVERBInstance-independent SWO_CLSVRBCHAR1SWC_BOOL
MODELONLYRelease status verb SWO_VMODELCHAR1SWO_FLGMOD
ISAPIMethod is R/3 interface function SWO_ISAPICHAR1SWC_BOOL
OBSOLETERelease in which object type was set as obsolete SWO_OBSOLCHAR4CHAR4
FACTORYFlag: Factory method SWO_FCTORYCHAR1CHAR1_X
INTAPIFlag: Internal API method SWO_INTAPICHAR1SWC_BOOL
DDLENGTHLength (No. of Characters) DDLENGNUMC6DDLENG

Key field Non-key field



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

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

How to access SAP table SWOTRM

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