SWOTRP SAP (Runtime Structure Parameters) Structure details
Description: Runtime Structure Parameters
Structure field list including key, data, relationships and ABAP select examples
SWOTRP 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 Parameters" 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_SWOTRP TYPE SWOTRP.
The SWOTRP table consists of various fields, each holding specific information or linking keys about Runtime Structure Parameters data available in SAP. These include PARAMETER (Parameter for method), DESCRIPT (Name), OBJTYPE (Object Type), EDITELEM (Element name in upper/lower case).. 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 SWOTRP 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 |
VERB | Object type component | SWO_VERB | CHAR | 32 | SWC_ELEM | ||||
PARAMETER | Parameter for method | SWO_PARAM | CHAR | 32 | SWC_ELEM | ||||
DESCRIPT | Name | SWC_DESCR | CHAR | 20 | TEXT20 | ||||
OBJTYPE | Object Type | SWO_OBJTYP | CHAR | 10 | TOJTB | OJ_NAME | OBJ | ||
EDITELEM | Element name in upper/lower case | SWC_EDITEL | CHAR | 32 | SWC_EDITEL | ||||
EDITORDER | Editing sequence | SWC_EDITOR | NUMC | 4 | NUMC4 | ||||
FUNCPNAME | Name of corresponding function module parameter | SWC_FUPAR | CHAR | 30 | LPARAMETER | ||||
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 | |||
ELEMTYPE | Element type | SWC_ELEMTP | CHAR | 1 | SWC_ELEMTP | ||||
OBLIGIMP | Required | SWC_OBLIMP | 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 | |||
INTLENGTH | Internal field length | SWO_INTLEN | NUMC | 6 | NUMC06 | ||||
INTATYPE | ABAP elementary data type | SWO_FLDTYP | CHAR | 1 | INTTYPE | ||||
OUTLENGTH | Output length | SWO_OUTLNG | NUMC | 6 | NUMC06 | ||||
LOWERCASE | Lowercase letters allowed/not allowed | LOWERCASE | CHAR | 1 | AS4FLAG | ||||
CONVEXIT | Conversion Routine | CONVEXIT | CHAR | 5 | CONVEXIT | ||||
MEMORYID | Set/Get parameter ID | MEMORYID | CHAR | 20 | TPARA | MEMORYID | |||
CREA_REL | Release at Creation | SWO_CREARE | CHAR | 4 | CHAR4 | ||||
SHORTTEXT | Description | SWC_SHTEXT | CHAR | 80 | TEXT80 | ||||
DDLENGTH | Length (No. of Characters) | DDLENG | NUMC | 6 | DDLENG |
Key field | Non-key field |
How do I retrieve data from SAP structure SWOTRP using ABAP code?
As SWOTRP 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 SWOTRP as there is no data to select.How to access SAP table SWOTRP
Within an ECC or HANA version of SAP you can also view further information about SWOTRP 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