SWOTDDIC SAP (ABAP/4 Dictionary Field Information) Structure details
Description: ABAP/4 Dictionary Field Information
Structure field list including key, data, relationships and ABAP select examples
SWOTDDIC 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 "ABAP/4 Dictionary Field Information" 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_SWOTDDIC TYPE SWOTDDIC.
The SWOTDDIC table consists of various fields, each holding specific information or linking keys about ABAP/4 Dictionary Field Information data available in SAP. These include TABNAME (Table Name), FIELDNAME (Field Name), KEYFLAG (Identifies a key field of a table), POSITION (Position number of table field in database).. 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 SWOTDDIC 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 |
LANGUAGE | Language Key | DDLANGUAGE | LANG | 1 | Assigned to domain | ISOLA | SPRAS | ||
TABNAME | Table Name | TABNAME | CHAR | 30 | Assigned to domain | AS4TAB | DTB | ||
FIELDNAME | Field Name | FIELDNAME | CHAR | 30 | Assigned to domain | FDNAME | DFD | ||
KEYFLAG | Identifies a key field of a table | KEYFLAG | CHAR | 1 | KEYFLAG | ||||
POSITION | Position number of table field in database | FLPOS | RAW | 2 | NTABLONG | ||||
CHECKTABLE | Check table name of the foreign key | CHECKTABLE | CHAR | 30 | Assigned to domain | AS4TAB | |||
DDLENGTH | Length (No. of Characters) | DDLENG | NUMC | 6 | DDLENG | ||||
INTLENGTH | Length of a field in bytes | SWO_FLDLEN | INT4 | 10 | SYST_LONG | ||||
OUTLENGTH | Output length | SWO_OUTLEN | INT4 | 10 | SYST_LONG | ||||
DECIMALS | Number of Decimal Places | DECIMALS | NUMC | 6 | DDLENG | ||||
DATATYPE | Data Type in ABAP Dictionary | DATATYPE_D | CHAR | 4 | DTYPE | DATATYPE | |||
INTATYPE | ABAP elementary data type | SWO_FLDTYP | CHAR | 1 | INTTYPE | ||||
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 | |||
DOMNAME | Domain name | DOMNAME | CHAR | 30 | Assigned to domain | DOMNAME | DD_DOMA | ||
ROLLNAME | Data element (semantic domain) | ROLLNAME | CHAR | 30 | Assigned to domain | ROLLNAME | ROL | DD_DTEL | |
FIELDTEXT | Short Description of Repository Objects | AS4TEXT | CHAR | 60 | AS4TEXT | ||||
HEADLEN | Length of the heading | SWO_HEADLN | INT4 | 10 | SYST_LONG | ||||
REPTEXT | Heading | REPTEXT | CHAR | 55 | REPTEXT | ||||
SCRLEN1 | Max. length for short field label | SCRLEN_S | NUMC | 2 | SCRLEN | ||||
SCRTEXT_S | Short Field Label | SCRTEXT_S | CHAR | 10 | SCRTEXT_S | ||||
SCRLEN2 | Max. length for medium field label | SCRLEN_M | NUMC | 2 | SCRLEN | ||||
SCRTEXT_M | Medium Field Label | SCRTEXT_M | CHAR | 20 | SCRTEXT_M | ||||
SCRLEN3 | Max. length for long field label | SCRLEN_L | NUMC | 2 | SCRLEN | ||||
SCRTEXT_L | Long Field Label | SCRTEXT_L | CHAR | 40 | SCRTEXT_L | ||||
EVENT | Attribute with change event | SWC_CHEVNT | CHAR | 1 | SWC_BOOL |
Key field | Non-key field |
How do I retrieve data from SAP structure SWOTDDIC using ABAP code?
As SWOTDDIC 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 SWOTDDIC as there is no data to select.How to access SAP table SWOTDDIC
Within an ECC or HANA version of SAP you can also view further information about SWOTDDIC 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