OMGRIDCOL SAP (Information on Column Display in Grid Control) Structure details
Description: Information on Column Display in Grid Control
Structure field list including key, data, relationships and ABAP select examples
OMGRIDCOL 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 "Information on Column Display in Grid Control" 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_OMGRIDCOL TYPE OMGRIDCOL.
The OMGRIDCOL table consists of various fields, each holding specific information or linking keys about Information on Column Display in Grid Control data available in SAP. These include HEADING (ALV control: Column identifier for dialog functions), WIDTH (ALV control: Column width in characters), ALIGNMENT (ALV control: Alignment), ICON (ALV control: Output as icon).. 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 OMGRIDCOL 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 |
COLNAME | Tree Control: Column Name / Item Name | TV_ITMNAME | CHAR | 12 | TM_CHAR12 | ||||
HEADING | ALV control: Column identifier for dialog functions | LVC_TXT | CHAR | 40 | TEXT40 | ||||
WIDTH | ALV control: Column width in characters | LVC_OUTLEN | NUMC | 6 | DDLENG | ||||
ALIGNMENT | ALV control: Alignment | LVC_JUST | CHAR | 1 | CHAR1 | ||||
ICON | ALV control: Output as icon | LVC_ICON | CHAR | 1 | XFLAG | ||||
FIX_COLUMN | Column Framework: Fixed Column | HROMFIXCOL | CHAR | 1 | FLAG | ||||
HIDDEN | Column Framework: Column Hidden by Default | HROMHIDDEN | CHAR | 1 | FLAG | ||||
SHOW_NEVER | Column Framework: Never Display Column | HROMSHOWNE | CHAR | 1 | FLAG | ||||
ALWAYS_ON | Column Framework: Column Cannot Be Hidden | HROMALWAYS | CHAR | 1 | FLAG | ||||
FRIENDTYPE | Column Framework: Coherence Relationship | HROMFRIEND | CHAR | 15 | HRARRAYTYP | ||||
CONVEXIT | Conversion Routine | CONVEXIT | CHAR | 5 | CONVEXIT | ||||
INT_LENGTH | Internal Length in Bytes | INTLEN | NUMC | 6 | DDLENG | ||||
OUT_LENGTH | Column Framework: Output Length in Bytes | EXTLEN | NUMC | 6 | DDLENG | ||||
CB_CONTENT | Name of Function Module | RS38L_FNAM | CHAR | 30 | Assigned to domain | FUNCNAME | LIB | ||
CB_REFRESH | Name of Function Module | RS38L_FNAM | CHAR | 30 | Assigned to domain | FUNCNAME | LIB |
Key field | Non-key field |
How do I retrieve data from SAP structure OMGRIDCOL using ABAP code?
As OMGRIDCOL 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 OMGRIDCOL as there is no data to select.How to access SAP table OMGRIDCOL
Within an ECC or HANA version of SAP you can also view further information about OMGRIDCOL 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