COCF_S_LAYOUT SAP (Simplified ALV Layout with Sorting and Filter) Structure details

Dictionary Type: Structure
Description: Simplified ALV Layout with Sorting and Filter




ABAP Code to SELECT data from COCF_S_LAYOUT
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_NAMEALV control: Field name of internal table field LVC_FNAMECHAR30CHAR30
SCRTEXT_SShort Field Label SCRTEXT_SCHAR10SCRTEXT_S
SCRTEXT_MMedium Field Label SCRTEXT_MCHAR20SCRTEXT_M
SCRTEXT_LLong Field Label SCRTEXT_LCHAR40SCRTEXT_L
REPTEXTHeading REPTEXTCHAR55REPTEXT
DATA_TYPEABAP data type (C,D,N,...) INTTYPECHAR1INTTYPE
COL_WIDTH Column Width0
LINES_BEG 0
LINES_END 0
REF_QUANALV control: Field name for unit of measure referenced LVC_QFNAMECHAR30CHAR30
REF_CURRALV control: Field name for currency unit referenced LVC_CFNAMECHAR30CHAR30
EDIT_MASKALV control: EditMask for output LVC_EDTMSKCHAR60CHAR60
COL_OPTALV control: Optimize column width LVC_CWOCHAR1CHAR1
SHOW_INIT_VAL Show Initial Values: ' = Automat., '0' = Never, '1' = Always0
COLUMN_SEQUENCE Column Sequence0
TABLE_NAMELVC tab name LVC_TNAMECHAR30
SORT_SEQUENCE Sort Sequence0
SORT_DIRECTION Sort Direction0
TOTALGeneral Flag FLAGCHAR1FLAG
SUBTOTALGeneral Flag FLAGCHAR1FLAG
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 as

SE11 (ABAP Dictionary Maintenance)
SM30 (Maintain Table Data)
SE80 (Object Navigator)
SE16 (Data Browser).


Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!