SWOT21 SAP (Parameter Object Types 2.1) Table details
Dictionary Type: Table
Description: Parameter Object Types 2.1
Description: Parameter Object Types 2.1
Table field list including key, data, relationships and ABAP select examples
SWOT21 is a standard SAP Table which is used to store Parameter Object Types 2.1 data and is available within R/3 SAP systems depending on the version and release level.
The SWOT21 table consists of various fields, each holding specific information or linking keys about Parameter Object Types 2.1 data available in SAP. These include METHOD (Method), PARAMETER (Parameter for method), ELEMTYPE (Element type), OFFSET (Offset in 2.1).. 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: W - System table, contents transportable via separate TR objectsDisplay/Maintenance via tcode SM30: Display/Maintenance Allowed but with Restrictions
SAP enhancement categories: Not classified
SAP SWOT21 table 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 |
OBJTYPE | Object Type | SWO_OBJTYP | CHAR | 10 | TOJTB | OJ_NAME | OBJ | ||
METHOD | Method | SWO_METHOD | CHAR | 32 | SWC_ELEM | ||||
PARAMETER | Parameter for method | SWO_PARAM | CHAR | 32 | SWC_ELEM | ||||
ELEMTYPE | Element type | SWC_ELEMTP | CHAR | 1 | SWC_ELEMTP | ||||
OFFSET | Offset in 2.1 | SWO_OFS21 | INT4 | 10 | SYST_LONG | ||||
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 | Assigned to domain | MEMORYID |
Key field | Non-key field |
How do I retrieve data from SAP table SWOT21 using ABAP code
The following ABAP code Example will allow you to do a basic selection on SWOT21 to SELECT all data from the tableDATA: WA_SWOT21 TYPE SWOT21.
SELECT SINGLE *
FROM SWOT21
INTO CORRESPONDING FIELDS OF WA_SWOT21
WHERE...
How to access SAP table SWOT21
Within an ECC or HANA version of SAP you can also view further information about SWOT21 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