Hiding Standard Functions 
Depending on the application area and the data displayed in the ALV Grid Control, not all standard functions are needed or useful. This is why you can either hide the entire toolbar or display only a subset of the standard functions available.
Set the parameter NO_TOOLBAR of the layout structure:
Syntax
data: gs_layout type lvc_s_layo. gs_layout-no_toolbar = 'X'.
Pass the layout structure with method set_table_for_first_display.
Define a table of type UI_FUNCTIONS and a work area of type UI_FUNC:
Syntax
data: lt_exclude type ui_functions, ls_exclude type ui_func.
Append the attributes of the functions you want to hide to the table:
Syntax
ls_exclude = cl_gui_alv_grid=>mc_fc_sum. append ls_exclude to lt_exclude.
Note
The attributes of the standard functions all begin with the prefix MC_FC_. In addition, there is the prefix MC_MB_ for an entire menu in the toolbar.
Pass the table using the parameter it_toolbar_excluding of the method set_table_for_first_display.
Either the entire toolbar or the icons of the standard functions passed in the table are not visible during the entire lifetime of the ALV Grid Control.