X031L is an SAP Structure so does not store data like a database table does but can be used to process "Nametab Structure, Database Structure DDNTF" 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_X031L TYPE X031L .
Below is the documentation avaialable and full details of the fields which make up this Structure.
You can view further information about this via relevant transactions such as SE11 or SE80. Also check out the Comments section below to view or add related contributions and example screen shots.
Field | Component Type | Data Type | length (Decimals) | Check table | Description | Conversion Routine |
TABNAME | TABNAME | CHAR | 30 |
* | Table Name | |
POSITION | FLPOS | RAW | 2 | Position number of table field in database | ||
.INCLUDE | DDSUX031L | Nametab Structure, Database Structure DDNTF | ||||
FLAG1 | FDFLAG1 | RAW | 1 | Flag 1 length 1 byte for field attributes | ||
FLAG2 | FDFLAG2 | RAW | 1 | Flag 2 length 1 byte for field attributes | ||
FLAG3 | FDFLAG1 | RAW | 1 | Flag 1 length 1 byte for field attributes | ||
FLAG4 | FDFLAG2 | RAW | 1 | Flag 2 length 1 byte for field attributes | ||
DBTABPOS | FLPOS | RAW | 2 | Position number of table field in database | ||
FIELDTYPE | FLDTYPE | RAW | 1 | ABAP data type (coded) | ||
OFFSET | ROFFSET | RAW | 4 | Table field offset | ||
DBLENGTH | DBLENGTH | RAW | 2 | Length of field in ABAP | ||
DBLENGTH2 | DBLENGTH2 | RAW | 4 | ABAP Dictionary: Length on Database | ||
EXLENGTH | OUTLENGTH | RAW | 2 | Field output length | ||
DECIMALS | INTDECIM | RAW | 1 | Number of decimal places in the field | ||
DEPTH | DDDEPTH | RAW | 1 | Depth in nested structures | ||
FLDALIGN | FLDALIGN | RAW | 1 | Alignment of types with different pointer lengths | ||
FIELDNAME | FIELDNAME | CHAR | 30 |
* | Field Name | |
ROLLNAME | ROLLNAME | CHAR | 30 |
* | Data element (semantic domain) | |
ABTYPE | ABTYPE | RAW | 1 | ABAP data type (nametab interface coded) | ||
DTYP | DATATYPE_D | CHAR | 4 | Data Type in ABAP Dictionary | DTYPE | |
EXID | INTTYPE | CHAR | 1 | ABAP data type (C,D,N,...) | ||
REFTABLE | REFTABLE | CHAR | 30 |
* | Table for reference field | |
REFFIELD | REFFIELD | CHAR | 30 |
* | Reference field for currency and qty fields | |
PRECFIELD | PRECINTERN | RAW | 2 | Internal precision | ||
CONVEXIT | CONVEXIT | CHAR | 5 | Conversion Routine | ||
MEMORYID | MEMORYID | CHAR | 20 |
* | Set/Get parameter ID | |
CHECKTABLE | CHECKTABLE | CHAR | 30 |
* | Check table name of the foreign key | |
DIGITS | DDINTLENG | RAW | 2 | Dictionary length for DEC, CURR, QUAN types |
Key field | |
Non-key field |