STRUCINFO SAP (DD: nametab field inform. and field name with entire path) Structure details
Description: DD: nametab field inform. and field name with entire path
Structure field list including key, data, relationships and ABAP select examples
STRUCINFO 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 "DD: nametab field inform. and field name with entire path" 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_STRUCINFO TYPE STRUCINFO.
The STRUCINFO table consists of various fields, each holding specific information or linking keys about DD: nametab field inform. and field name with entire path data available in SAP. These include TABNAME (Table Name), POSITION (Position number of table field in database), FLAG1 (Flag 1 length 1 byte for field attributes), FLAG2 (Flag 2 length 1 byte for field attributes).. 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 STRUCINFO 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 |
TABNAME | Table Name | TABNAME | CHAR | 30 | Assigned to domain | AS4TAB | DTB | ||
POSITION | Position number of table field in database | FLPOS | RAW | 2 | NTABLONG | ||||
FLAG1 | Flag 1 length 1 byte for field attributes | FDFLAG1 | RAW | 1 | NTABSHORT | ||||
FLAG2 | Flag 2 length 1 byte for field attributes | FDFLAG2 | RAW | 1 | NTABSHORT | ||||
FLAG3 | Flag 1 length 1 byte for field attributes | FDFLAG1 | RAW | 1 | NTABSHORT | ||||
FLAG4 | Flag 2 length 1 byte for field attributes | FDFLAG2 | RAW | 1 | NTABSHORT | ||||
DBTABPOS | Position number of table field in database | FLPOS | RAW | 2 | NTABLONG | ||||
FIELDTYPE | ABAP data type (coded) | FLDTYPE | RAW | 1 | NTABSHORT | ||||
OFFSET | Table field offset | ROFFSET | RAW | 4 | DDRAW4 | ||||
DBLENGTH | Length of field in ABAP | DBLENGTH | RAW | 2 | NTABLONG | ||||
DBLENGTH2 | ABAP Dictionary: Length on Database | DBLENGTH2 | RAW | 4 | DDRAW4 | ||||
EXLENGTH | Field output length | OUTLENGTH | RAW | 2 | NTABLONG | ||||
DECIMALS | Number of decimal places in the field | INTDECIM | RAW | 1 | NTABSHORT | ||||
DEPTH | Depth in nested structures | DDDEPTH | RAW | 1 | NTABSHORT | ||||
FLDALIGN | Alignment of types with different pointer lengths | FLDALIGN | RAW | 1 | NTABSHORT | ||||
FIELDNAME | Field Name | FIELDNAME | CHAR | 30 | Assigned to domain | FDNAME | DFD | ||
ROLLNAME | Data element (semantic domain) | ROLLNAME | CHAR | 30 | Assigned to domain | ROLLNAME | ROL | DD_DTEL | |
ABTYPE | ABAP data type (nametab interface coded) | ABTYPE | RAW | 1 | NTABSHORT | ||||
DTYP | Data Type in ABAP Dictionary | DATATYPE_D | CHAR | 4 | DTYPE | DATATYPE | |||
EXID | ABAP data type (C,D,N,...) | INTTYPE | CHAR | 1 | INTTYPE | ||||
REFTABLE | Table for reference field | REFTABLE | CHAR | 30 | Assigned to domain | AS4TAB | |||
REFFIELD | Reference field for currency and qty fields | REFFIELD | CHAR | 30 | Assigned to domain | FDNAME | |||
PRECFIELD | Internal precision | PRECINTERN | RAW | 2 | NTABLONG | ||||
CONVEXIT | Conversion Routine | CONVEXIT | CHAR | 5 | CONVEXIT | ||||
MEMORYID | Set/Get parameter ID | MEMORYID | CHAR | 20 | Assigned to domain | MEMORYID | |||
CHECKTABLE | Check table name of the foreign key | CHECKTABLE | CHAR | 30 | Assigned to domain | AS4TAB | |||
DIGITS | Dictionary length for DEC, CURR, QUAN types | DDINTLENG | RAW | 2 | NTABLONG | ||||
FLDPATH | DD: field name with full path | DDFLDPATH | CHAR | 132 | DYNFNAM |
Key field | Non-key field |
How do I retrieve data from SAP structure STRUCINFO using ABAP code?
As STRUCINFO 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 STRUCINFO as there is no data to select.How to access SAP table STRUCINFO
Within an ECC or HANA version of SAP you can also view further information about STRUCINFO 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