FIELDINFO SAP (Field attributes for a specific field) Structure details
Description: Field attributes for a specific field
Structure field list including key, data, relationships and ABAP select examples
FIELDINFO 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 "Field attributes for a specific field" 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_FIELDINFO TYPE FIELDINFO.
The FIELDINFO table consists of various fields, each holding specific information or linking keys about Field attributes for a specific field data available in SAP. These include NAME (CHAR30 for SYST), TYPE (ABAP: Data type of an object in the ABAP program load), LENG (ABAP: Length of an Object in Program Load (in Bytes)), OLEN (ABAP: Output length of an object in the ABAP program load).. 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 FIELDINFO 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 |
FIELDNAME | CHAR30 for SYST | SYCHAR30 | CHAR | 30 | SYCHAR30 | ||||
NAME | CHAR30 for SYST | SYCHAR30 | CHAR | 30 | SYCHAR30 | ||||
TYPE | ABAP: Data type of an object in the ABAP program load | RDATA_TYPE | CHAR | 1 | SYCHAR01 | ||||
LENG | ABAP: Length of an Object in Program Load (in Bytes) | RDATA_LENG | NUMC | 5 | SYNUM05 | ||||
OLEN | ABAP: Output length of an object in the ABAP program load | RDATA_OLEN | NUMC | 3 | SYNUM03 | ||||
DECS | ABAP/4: Decimal places of a field in the ABAP/4 program load | RDATA_DECS | NUMC | 3 | SYNUM03 | ||||
FLITL | ABAP: Read only object ? | RDATA_LITL | CHAR | 1 | SYCHAR01 | ||||
REFTYPELOC | Definition point of ABAP type | RTYPE_LOC | CHAR | 4 | RTYPE_LOC | ||||
REFTYPENAM | ABAP: Dictionary type help ID | RTYPE_NAME | CHAR | 61 | RTYPE_NAME | ||||
ROLLNAME | Data element (semantic domain) | ROLLNAME | CHAR | 30 | Assigned to domain | ROLLNAME | ROL | DD_DTEL | |
DOMNAME | Domain name | DOMNAME | CHAR | 30 | Assigned to domain | DOMNAME | DD_DOMA | ||
DDIC_TYPE | Data Type in ABAP Dictionary | DATATYPE_D | CHAR | 4 | DTYPE | DATATYPE | |||
ENTITYTAB | Value table | ENTITYTAB | CHAR | 30 | Assigned to domain | AS4TAB | DD_DBTB | ||
CONEXIT | Conversion Routine | CONVEXIT | CHAR | 5 | CONVEXIT | ||||
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 | |||
KEYFIELD | Identifies a key field of a table | KEYFLAG | CHAR | 1 | KEYFLAG | ||||
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 |
Key field | Non-key field |
How do I retrieve data from SAP structure FIELDINFO using ABAP code?
As FIELDINFO 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 FIELDINFO as there is no data to select.How to access SAP table FIELDINFO
Within an ECC or HANA version of SAP you can also view further information about FIELDINFO 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