OMACOL SAP (HR-OM: Column Group Attributes) Structure details
Description: HR-OM: Column Group Attributes
Structure field list including key, data, relationships and ABAP select examples
OMACOL 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 "HR-OM: Column Group Attributes" 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_OMACOL TYPE OMACOL.
The OMACOL table consists of various fields, each holding specific information or linking keys about HR-OM: Column Group Attributes data available in SAP. These include COLNAME (Tree Control: Column Name / Item Name), GENERIC (Column Framework: Column Can Be Used Generically), WIDTH (Count Parameters), ALIGNMENT (Column Framework: Alignment of Column Entries).. 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 OMACOL 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 |
ARRAYTYPE | Column Framework: Column Group | HRARRAYTYP | CHAR | 15 | HRARRAYTYP | ||||
COLNAME | Tree Control: Column Name / Item Name | TV_ITMNAME | CHAR | 12 | TM_CHAR12 | ||||
GENERIC | Column Framework: Column Can Be Used Generically | OMGENFLAG | CHAR | 1 | FLAG | ||||
WIDTH | Count Parameters | NUMC04 | NUMC | 4 | NUMC4 | ||||
ALIGNMENT | Column Framework: Alignment of Column Entries | MDT_ALIGN | NUMC | 1 | MDT_ALIGN | ||||
ICONNAME | Name of an Icon | ICONNAME | CHAR | 30 | ICONNAME | ||||
ONLY_ICONS | Column Framework: Column for Icons Only | OMICONFLAG | CHAR | 1 | FLAG | ||||
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 | TFDIR | FUNCNAME | LIB | ||
CB_EVENT | Name of Function Module | RS38L_FNAM | CHAR | 30 | TFDIR | FUNCNAME | LIB | ||
CB_REFRESH | Name of Function Module | RS38L_FNAM | CHAR | 30 | TFDIR | FUNCNAME | LIB | ||
FIX_COLUMN | Column Framework: Fixed Column | HROMFIXCOL | CHAR | 1 | FLAG | ||||
COL_ORDER | Two digit number | NUMC2 | NUMC | 2 | NUMC2 | ||||
FRIENDTYPE | Column Framework: Coherence Relationship | HROMFRIEND | CHAR | 15 | HRARRAYTYP | ||||
SHOW_NEVER | Column Framework: Never Display Column | HROMSHOWNE | CHAR | 1 | FLAG | ||||
HIDDEN | Column Framework: Column Hidden by Default | HROMHIDDEN | CHAR | 1 | FLAG | ||||
ALWAYS_ON | Column Framework: Column Cannot Be Hidden | HROMALWAYS | CHAR | 1 | FLAG |
Key field | Non-key field |
How do I retrieve data from SAP structure OMACOL using ABAP code?
As OMACOL 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 OMACOL as there is no data to select.How to access SAP table OMACOL
Within an ECC or HANA version of SAP you can also view further information about OMACOL 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