COCF_S_LAYOUT SAP (Simplified ALV Layout with Sorting and Filter) Structure details
Description: Simplified ALV Layout with Sorting and Filter
Related tables to COCF_S_LAYOUT
Access table COCF_S_LAYOUT
Structure field list including key, data, relationships and ABAP select examples
COCF_S_LAYOUT 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 "Simplified ALV Layout with Sorting and Filter" 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_COCF_S_LAYOUT TYPE COCF_S_LAYOUT.
The COCF_S_LAYOUT table consists of various fields, each holding specific information or linking keys about Simplified ALV Layout with Sorting and Filter data available in SAP. These include FIELD_NAME (ALV control: Field name of internal table field), SCRTEXT_S (Short Field Label), SCRTEXT_M (Medium Field Label), SCRTEXT_L (Long Field Label).. 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: Cannot Be Enhanced
SAP COCF_S_LAYOUT 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 |
FCAT | 0 | ||||||||
FIELD_NAME | ALV control: Field name of internal table field | LVC_FNAME | CHAR | 30 | CHAR30 | ||||
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 | ||||
REPTEXT | Heading | REPTEXT | CHAR | 55 | REPTEXT | ||||
DATA_TYPE | ABAP data type (C,D,N,...) | INTTYPE | CHAR | 1 | INTTYPE | ||||
COL_WIDTH | Column Width | 0 | |||||||
LINES_BEG | 0 | ||||||||
LINES_END | 0 | ||||||||
REF_QUAN | ALV control: Field name for unit of measure referenced | LVC_QFNAME | CHAR | 30 | CHAR30 | ||||
REF_CURR | ALV control: Field name for currency unit referenced | LVC_CFNAME | CHAR | 30 | CHAR30 | ||||
EDIT_MASK | ALV control: EditMask for output | LVC_EDTMSK | CHAR | 60 | CHAR60 | ||||
COL_OPT | ALV control: Optimize column width | LVC_CWO | CHAR | 1 | CHAR1 | ||||
SHOW_INIT_VAL | Show Initial Values: ' = Automat., '0' = Never, '1' = Always | 0 | |||||||
COLUMN_SEQUENCE | Column Sequence | 0 | |||||||
TABLE_NAME | LVC tab name | LVC_TNAME | CHAR | 30 | |||||
SORT_SEQUENCE | Sort Sequence | 0 | |||||||
SORT_DIRECTION | Sort Direction | 0 | |||||||
TOTAL | General Flag | FLAG | CHAR | 1 | FLAG | ||||
SUBTOTAL | General Flag | FLAG | CHAR | 1 | FLAG | ||||
FILTER | 0 |
Key field | Non-key field |
How do I retrieve data from SAP structure COCF_S_LAYOUT using ABAP code?
As COCF_S_LAYOUT 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 COCF_S_LAYOUT as there is no data to select.How to access SAP table COCF_S_LAYOUT
Within an ECC or HANA version of SAP you can also view further information about COCF_S_LAYOUT 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