TXW_VDT_DESC SAP (View Data Description) Structure details
Description: View Data Description
Structure field list including key, data, relationships and ABAP select examples
TXW_VDT_DESC 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 "View Data Description" 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_TXW_VDT_DESC TYPE TXW_VDT_DESC.
The TXW_VDT_DESC table consists of various fields, each holding specific information or linking keys about View Data Description data available in SAP. These include SEGTYPE (Data file segment type), SEGDATA (Data file: Segment data code), FIELD_POS (Position of the field in the table), FIELD_OFFS (Offset of a field).. 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: Cannot Be Enhanced
SAP TXW_VDT_DESC 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 |
SEGMENT | Segment structure | TXW_EXPSTR | CHAR | 30 | Assigned to domain | TXW_EXPSTR | |||
SEGTYPE | Data file segment type | TXW_SEGTYP | NUMC | 2 | TXW_SEGTYP | ||||
SEGDATA | Data file: Segment data code | TXW_SEGDAT | NUMC | 6 | TXW_SEGDAT | ||||
FIELD_POS | Position of the field in the table | TABFDPOS | NUMC | 4 | AS4POS | ||||
FIELD_OFFS | Offset of a field | DOFFSET | NUMC | 6 | DOFFSET | ||||
FIELDNAME | Field name | TXW_FIELD | CHAR | 30 | CHAR30 | ||||
INDEX_ID | Index ID | TXW_IDXID | CHAR | 1 | TXW_IDXID | ||||
SEL_FIELD | Flag: Field is selection field | TXW_SELFLD | CHAR | 1 | XFELD | ||||
FIELD_TYPE | Field type | TXW_FLDTYP | CHAR | 1 | TXW_FLDTYP | ||||
X_CHK_TOT | Flag: Field is checksum key figure | TXW_CHKTOT | CHAR | 1 | XFELD | ||||
X_CHK_GRP | Flag: Field is used to group checksums | TXW_CHKGRP | CHAR | 1 | XFELD | ||||
FIELDTEXT | Short Description of Repository Objects | AS4TEXT | CHAR | 60 | AS4TEXT | ||||
REPTEXT | Heading | REPTEXT | CHAR | 55 | REPTEXT | ||||
SCRTEXT_M | Medium Field Label | SCRTEXT_M | CHAR | 20 | SCRTEXT_M | ||||
IOBJNM | Related info object (RSIOBJNM in BRS) | TXW_IOBJNM | CHAR | 30 | CHAR30 | ||||
LENG | Length (No. of Characters) | DDLENG | NUMC | 6 | DDLENG | ||||
DATATYPE | Data Type in ABAP Dictionary | DATATYPE_D | CHAR | 4 | DTYPE | DATATYPE | |||
REFFIELD | Related unit fieldname (RSUNINM in BRS) | TXW_UNITNM | CHAR | 30 | CHAR30 | ||||
REFSEGTYPE | Reference segment type | TXW_REFSGT | NUMC | 2 | TXW_SEGTYP | ||||
REFSEGDATA | Reference segment data | TXW_REFSGD | NUMC | 6 | TXW_SEGDAT | ||||
REFSEGMENT | Reference segment for currency/amount fields | TXW_REFEXPSTR | CHAR | 30 | Assigned to domain | TXW_EXPSTR | |||
ORI_TNAME | Table Name | TABNAME | CHAR | 30 | Assigned to domain | AS4TAB | DTB | ||
ORI_FNAME | Field Name | FIELDNAME | CHAR | 30 | Assigned to domain | FDNAME | DFD | ||
DFIESWA | 0 | ||||||||
TABNAME | Table Name | TABNAME | CHAR | 30 | AS4TAB | DTB | |||
FIELDNAME | Field Name | FIELDNAME | CHAR | 30 | FDNAME | DFD | |||
LANGU | Language Key | DDLANGUAGE | LANG | 1 | ISOLA | SPRAS | |||
POSITION | Position of the field in the table | TABFDPOS | NUMC | 4 | AS4POS | ||||
OFFSET | Offset of a field | DOFFSET | NUMC | 6 | DOFFSET | ||||
DOMNAME | Domain name | DOMNAME | CHAR | 30 | DOMNAME | DD_DOMA | |||
ROLLNAME | Data element (semantic domain) | ROLLNAME | CHAR | 30 | ROLLNAME | ROL | DD_DTEL | ||
CHECKTABLE | Table Name | TABNAME | CHAR | 30 | AS4TAB | DTB | |||
LENG | Length (No. of Characters) | DDLENG | NUMC | 6 | DDLENG | ||||
INTLEN | Internal Length in Bytes | INTLEN | NUMC | 6 | DDLENG | ||||
OUTPUTLEN | Output Length | OUTPUTLEN | NUMC | 6 | DDLENG | ||||
DECIMALS | Number of Decimal Places | DECIMALS | NUMC | 6 | DDLENG | ||||
DATATYPE | ABAP/4 Dictionary: Screen data type for Screen Painter | DYNPTYPE | CHAR | 4 | DATATYPE | ||||
INTTYPE | ABAP data type (C,D,N,...) | INTTYPE | CHAR | 1 | INTTYPE | ||||
REFTABLE | Table for reference field | REFTABLE | CHAR | 30 | AS4TAB | ||||
REFFIELD | Reference field for currency and qty fields | REFFIELD | CHAR | 30 | FDNAME | ||||
PRECFIELD | Name of included table | PRECFIELD | CHAR | 30 | FDNAME | ||||
AUTHORID | Authorization class | AUTHORID | CHAR | 3 | AUTHORID | ||||
MEMORYID | Set/Get parameter ID | MEMORYID | CHAR | 20 | MEMORYID | ||||
LOGFLAG | Indicator for writing change documents | LOGFLAG | CHAR | 1 | AS4FLAG | ||||
MASK | Template (not used) | AS4MASK | CHAR | 20 | AS4MASK | ||||
MASKLEN | Template length (not used) | MASKLEN | NUMC | 4 | MASKLEN | ||||
CONVEXIT | Conversion Routine | CONVEXIT | CHAR | 5 | CONVEXIT | ||||
HEADLEN | Maximum length of heading | HEADLEN | NUMC | 2 | SCRLEN | ||||
SCRLEN1 | Max. length for short field label | SCRLEN_S | NUMC | 2 | SCRLEN | ||||
SCRLEN2 | Max. length for medium field label | SCRLEN_M | NUMC | 2 | SCRLEN | ||||
SCRLEN3 | Max. length for long field label | SCRLEN_L | NUMC | 2 | SCRLEN | ||||
FIELDTEXT | Short Description of Repository Objects | AS4TEXT | CHAR | 60 | AS4TEXT | ||||
REPTEXT | Heading | REPTEXT | CHAR | 55 | REPTEXT | ||||
SCRTEXT_S | Short Field Label | SCRTEXT_S | CHAR | 10 | SCRTEXT_S | ||||
SCRTEXT_M | Medium Field Label | SCRTEXT_M | CHAR | 20 | SCRTEXT_M | ||||
SCRTEXT_L | Long Field Label | SCRTEXT_L | CHAR | 40 | SCRTEXT_L | ||||
KEYFLAG | Identifies a key field of a table | KEYFLAG | CHAR | 1 | KEYFLAG | ||||
LOWERCASE | Lowercase letters allowed/not allowed | LOWERCASE | CHAR | 1 | AS4FLAG | ||||
MAC | Flag if search help is attached to the field | DDSHATTACH | CHAR | 1 | DDBOOL | ||||
GENKEY | Flag (X or Blank) | AS4FLAG | CHAR | 1 | AS4FLAG | ||||
NOFORKEY | Flag (X or Blank) | AS4FLAG | CHAR | 1 | AS4FLAG | ||||
VALEXI | Existence of fixed values | VALEXI | CHAR | 1 | AS4FLAG | ||||
NOAUTHCH | Flag (X or Blank) | AS4FLAG | CHAR | 1 | AS4FLAG | ||||
SIGN | Flag for sign in numerical fields | SIGNFLAG | CHAR | 1 | AS4FLAG | ||||
DYNPFLD | Flag: field to be displayed on the screen | DYNPROFLD | CHAR | 1 | AS4FLAG | ||||
F4AVAILABL | Does the field have an input help | DDF4AVAIL | CHAR | 1 | DDBOOL | ||||
COMPTYPE | DD: Component Type | COMPTYPE | CHAR | 1 | COMPTYPE | ||||
LFIELDNAME | Field name | FNAM_____4 | CHAR | 132 | DYNFNAM | ||||
LTRFLDDIS | Basic write direction has been defined LTR (left-to-right) | DDLTRFLDDI | CHAR | 1 | DDBOOL | ||||
BIDICTRLC | DD: No Filtering of BIDI Formatting Characters | DDBIDICTRL | CHAR | 1 | DDBOOL | ||||
OUTPUTSTYLE | DD: Output Style (Output Style) for Decfloat Types | OUTPUTSTYLE | NUMC | 2 | OUTPUTSTYLE | ||||
NOHISTORY | DD: Flag for Deactivating Input History in Screen Field | DDNOHISTORY | CHAR | 1 | DDBOOL | ||||
AMPMFORMAT | DD: Indicator whether AM/PM time format is required | DDAMPMFORMAT | CHAR | 1 | DDAMPMFORMAT |
Key field | Non-key field |
How do I retrieve data from SAP structure TXW_VDT_DESC using ABAP code?
As TXW_VDT_DESC 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 TXW_VDT_DESC as there is no data to select.How to access SAP table TXW_VDT_DESC
Within an ECC or HANA version of SAP you can also view further information about TXW_VDT_DESC 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