SAP CL_GUI_ALV_GRID_EXT OO Class - ALV List Viewer + Enhancements









CL_GUI_ALV_GRID_EXT is a standard SAP object class available within R/3 SAP systems depending on your version and release level. You can view/maintain the class details by entering its name into the relevant SAP transactions such as SE24, SE80 or even SE84. Below is the documentation available for class CL_GUI_ALV_GRID_EXT including details of:

  • Interface class implementations
  • Inheritance details
  • Methods defined within class ( including link to full details )
  • Attributes ( including initial values )
  • Class Events

Inheritance

This OO class has a superclass assigned to it, which means it will inherit its objects and methods. The superclass for CL_GUI_ALV_GRID_EXT is CL_GUI_ALV_GRID

Method list of CL_GUI_ALV_GRID_EXT SAP class


A method is a coding block that performs a certain procedure (i.e. ABAP functionality) on an object within the overall SAP class. In simple terms if the object is an SAP database table a method could be the procedure to add a record or to delete a record. If you are new to OO in many respects, the implementation of a method is similar to a function module and can be called in a very similar way using CALL METHOD. Instead of "CALL FUNCTION", Methods are referenced using the following syntax: CALL METHOD =>methodname EXPORTING/IMPORTING...


Method NameDescriptionVisability
ADD_FUNCTIONAdds Further Standard Functions to Navigation ProfilePrivate
CALL METHOD cl_gui_alv_grid_ext=>ADD_FUNCTION...more details

BUILD_XML_FOR_PDFSetup XML Doc for PDF PrintoutPrivate
CALL METHOD cl_gui_alv_grid_ext=>BUILD_XML_FOR_PDF...more details

BUILD_XML_HEADERSubdocument HeaderPrivate
CALL METHOD cl_gui_alv_grid_ext=>BUILD_XML_HEADER...more details

BUILD_XML_TABLESubdocument TablePrivate
CALL METHOD cl_gui_alv_grid_ext=>BUILD_XML_TABLE...more details

GET_BADI_FILTERFilter Value for BAdI Implementation of TablePublic
CALL METHOD cl_gui_alv_grid_ext=>GET_BADI_FILTER...more details

HIDE_EMPTY_COLUMNSHide Empty ColumnsPrivate
CALL METHOD cl_gui_alv_grid_ext=>HIDE_EMPTY_COLUMNS...more details

ON_AFTER_UCOMMBec. CL_GUI_ALV_GRID->SORT_TABLE priv, here sorting UpdPrivate
CALL METHOD cl_gui_alv_grid_ext=>ON_AFTER_UCOMM...more details

ON_EXT_CONTEXT_MENUStart Navigation ProfilePrivate
CALL METHOD cl_gui_alv_grid_ext=>ON_EXT_CONTEXT_MENU...more details

ON_EXT_TOOLBARStart Navigation ProfilePrivate
CALL METHOD cl_gui_alv_grid_ext=>ON_EXT_TOOLBAR...more details

ON_EXT_USER_COMMANDEvaluate Additional OK CodesPrivate
CALL METHOD cl_gui_alv_grid_ext=>ON_EXT_USER_COMMAND...more details

PRINT_ALV_GRID_AS_PDFStart PDF PrintoutPrivate
CALL METHOD cl_gui_alv_grid_ext=>PRINT_ALV_GRID_AS_PDF...more details

SET_APPLICATION_DATATransfer of Additional Application Data for BAdI CallPublic
CALL METHOD cl_gui_alv_grid_ext=>SET_APPLICATION_DATA...more details

SET_BADI_FILTERFilter Key for Unique Identification of BAdIPrivate
CALL METHOD cl_gui_alv_grid_ext=>SET_BADI_FILTER...more details

SET_HIDE_EMPTY_COLUMNSHide Empty ColumnsPublic
CALL METHOD cl_gui_alv_grid_ext=>SET_HIDE_EMPTY_COLUMNS...more details

SET_NAVIGATION_PROFILESwitch Navigation Profile On/Off (Default On)Public
CALL METHOD cl_gui_alv_grid_ext=>SET_NAVIGATION_PROFILE...more details

SET_OKCODE_TABLETransfer of Application Functions for Navigation ProfilePublic
CALL METHOD cl_gui_alv_grid_ext=>SET_OKCODE_TABLE...more details

SHOW_META_INFORMATIONDisplay of Metadata of TablePrivate
CALL METHOD cl_gui_alv_grid_ext=>SHOW_META_INFORMATION...more details



CL_GUI_ALV_GRID_EXT attributes

List of attributes within class CL_ABAP_CHAR_UTILITIES. These can be referenced using the following syntax CL_ABAP_CHAR_UTILITIES=>. Although depending on where you are inserting the ABAP code you do need to check if the attribute is public or private.

NameLevelDescriptionInitial ValueTypeVisability
GC_HIDE_EMPTY_COLUMNSConstantHide Empty Columns'&GRID2_HIDE_EMPTY_COLUMNS'LIKE
NAVP_OKCODE
Private
GC_NOConstantNoSPACELIKE
XFLAG
Public
GC_PRINT_AS_PDFInstance AttributeFunction Code of a Function'&GRID2_PRINT_PDF'LIKE
NAVP_OKCODE
Private
GC_SHOW_META_DATAConstantFunction Code of a Function'&GRID2_SHOW_META_DATA'LIKE
NAVP_OKCODE
Private
GC_SUBTOTALS_HEADERInstance AttributeLIKE
Private
GC_SUBTOTAL_FNAMEConstantALV Control: Field Name of Internal Table Field'SUBTOTAL'LIKE
LVC_FNAME
Public
GC_XMLTAG_CONTENTInstance AttributeLIKE
Private
GC_XMLTAG_DATEInstance AttributeLIKE
Private
GC_XMLTAG_DOCUMENTInstance AttributeLIKE
Private
GC_XMLTAG_HEADERInstance AttributeLIKE
Private
GC_XMLTAG_TABLEInstance AttributeLIKE
Private
GC_XMLTAG_TAB_TITLEInstance AttributeLIKE
Private
GC_XMLTAG_TAB_WIDTHInstance AttributeLIKE
Private
GC_XMLTAG_TIMEInstance AttributeLIKE
Private
GC_XMLTAG_TITLEInstance AttributeLIKE
Private
GC_YESConstantYes'X'LIKE
XFLAG
Public
MR_APPLICATION_DATAInstance AttributeDummy Reference for Transfer of Application DataLIKE
DATA
Private
MR_BADIInstance AttributeBAdILIKE
BADI_GUI_ALV_GRID_EXT
Private
MR_NAVIGATION_PROFILEInstance AttributeNavigation ProfileLIKE
IF_NAVP
Private
MR_TABLEInstance AttributeOriginal tableLIKE
DATA
Public
MT_APPL_SORTInstance AttributeALV Control: Table of Sort CriteriaLIKE
LVC_T_SORT
Private
MT_EMPTY_COLUMNSInstance AttributeLIKE
Private
MT_FIELDCATInstance AttributeField Catalog APPL DataLIKE
LVC_T_FCAT
Private
MT_OKCODEInstance AttributeTable Function Code for Navigation ProfileLIKE
NAVP_T_OKCODE
Private
MV_BUILD_DATEInstance AttributeDateLIKE
DATUM
Private
MV_BUILD_TIMEInstance AttributeTime in CHAR FormatLIKE
TIME
Private
MV_EMPTY_COLUMNS_HIDDENInstance AttributeEmpty Columns Are Hidden At Time of First RunthroughLIKE
XFLAG
Private
MV_EMPTY_SHALL_HIDDENInstance AttributeState: Empty Columns HiddenLIKE
CHAR1
Private
MV_EXT_FUNCTIONSInstance AttributeAppend Further Functions in Navigation Profile'X'LIKE
XFLAG
Private
MV_FIRST_DISPLAYInstance AttributeFirst Call (set_table_for_first_display)LIKE
XFLAG
Public
MV_KEY_TABLEInstance AttributeFilter Value of ALV Object for BAdI IdentificationLIKE
CHAR50
Private
MV_NAVP_ONInstance AttributeNavigation Profile Switched On'X'LIKE
XFLAG
Private
MV_SEL_MODEInstance AttributeSelection ModeLIKE
CHAR1
Private
MV_STYLE_FNAMEInstance AttributeField Name of Style TableLIKE
LVC_FNAME
Private


Links to Related Class(s)

CL_GUI_A...
Full list of available SAP object classes

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!