D021S SAP (Screen fields) Structure details
Description: Screen fields
Structure field list including key, data, relationships and ABAP select examples
D021S 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 "Screen fields" 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_D021S TYPE D021S.
The D021S table consists of various fields, each holding specific information or linking keys about Screen fields data available in SAP. These include DIDX (Box height), FLG1 (Flag byte 1), FLG2 (Flag byte 2), FLG3 (Flag byte 3).. 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 D021S 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 |
FNAM | Field name | FNAM_____4 | CHAR | 132 | DYNFNAM | ||||
DIDX | Box height | DIDX | RAW | 2 | DIDX | ||||
FLG1 | Flag byte 1 | FLG1_____4 | RAW | 1 | FLG1_____4 | ||||
FLG2 | Flag byte 2 | FLG2_____4 | RAW | 1 | FLG2_____4 | ||||
FLG3 | Flag byte 3 | FLG3_____4 | RAW | 1 | FLG3_____4 | ||||
FILL | Padding character, leading zero | FILL_____4 | CHAR | 1 | FILL_____4 | ||||
FMB1 | Format byte | FMB1_____4 | RAW | 1 | FMB1_____4 | ||||
FMB2 | Format byte extension | FMB2_____4 | RAW | 1 | FMB2_____4 | ||||
COLR | Color | COLR_____4 | CHAR | 1 | COLR_____4 | ||||
LENG | Text length | LENG_____7 | RAW | 1 | LENG_____7 | ||||
LINE | Line | LINE_____2 | RAW | 1 | LINE_____2 | ||||
COLN | Column | COLN_____4 | RAW | 1 | COLN_____4 | ||||
LTYP | Loop type | LTYP_____4 | CHAR | 1 | LTYP_____4 | ||||
LANF | Loop start line | LANF_____4 | RAW | 1 | LANF_____4 | ||||
LBLK | Loop block size | LBLK_____4 | RAW | 1 | LBLK_____4 | ||||
LREP | Loop repeat factor | LREP_____4 | RAW | 1 | LREP_____4 | ||||
FMKY | Function menu key | FMKY_____4 | CHAR | 3 | FMKY_____4 | ||||
PAID | Set/Get parameter ID | MEMORYID | CHAR | 20 | Assigned to domain | MEMORYID | |||
UCNV | User conversion routine | UCNV_____4 | CHAR | 5 | UCNV_____4 | ||||
TYPE | Field Format | TYPE_____6 | CHAR | 4 | TYPE_____6 | ||||
AUTH | Authorization ID | AUTH_____3 | CHAR | 3 | AUTH_____3 | ||||
WNAM | Currency key field | SCRPWSCHL | CHAR | 132 | DYNWNAM | ||||
DMAC | Matchcode file name | DMAC_____4 | CHAR | 132 | DYNDMAC | ||||
GRP1 | Modification group 1 | GRP1_____4 | CHAR | 3 | GRP1_____4 | ||||
GRP2 | Modification group 2 | GRP2_____4 | CHAR | 3 | GRP2_____4 | ||||
GRP3 | Modification group 3 | GRP3_____4 | CHAR | 3 | GRP3_____4 | ||||
GRP4 | Modification group 4 | GRP4_____4 | CHAR | 3 | GRP4_____4 | ||||
ITYP | Internal type from ABAP Dictionary | ITYP_____4 | CHAR | 1 | ITYP_____4 | ||||
AGLT | Number of valid positions | AGLT_____4 | RAW | 1 | AGLT_____4 | ||||
ADEZ | No. of decimal places | ADEZ_____4 | RAW | 1 | ADEZ_____4 | ||||
STXT | Text | STXT_____1 | CHAR | 132 | STXT_____1 | ||||
RES1 | Screen source reserve field area without structure | DYNRESE | CHAR | 255 | DYNRESE | ||||
RES2 | Screen source reserve field area without structure | DYNRESE | CHAR | 255 | DYNRESE |
Key field | Non-key field |
How do I retrieve data from SAP structure D021S using ABAP code?
As D021S 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 D021S as there is no data to select.How to access SAP table D021S
Within an ECC or HANA version of SAP you can also view further information about D021S 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