Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8578

Re: In my prograame i want to hide ALV button which i don't need? Any help would be appriciated.?

$
0
0

Hi,

 

Data : it_excl_func TYPE ui_functions.

Suppose You got a method called excluding

 

Method excluding.
  APPEND cl_gui_alv_grid=>mc_fc_subtot TO it_excl_func.
  APPEND cl_gui_alv_grid=>mc_fc_sum TO it_excl_func.=
  APPEND cl_gui_alv_grid=>mc_fc_graph TO it_excl_func.
  APPEND cl_gui_alv_grid=>mc_fc_info TO it_excl_func.
  APPEND cl_gui_alv_grid=>mc_fc_print TO it_excl_func.
  APPEND cl_gui_alv_grid=>mc_fc_filter TO it_excl_func.
  APPEND cl_gui_alv_grid=>mc_fc_views TO it_excl_func.
  APPEND cl_gui_alv_grid=>mc_mb_export TO it_excl_func.
  APPEND cl_gui_alv_grid=>mc_fc_find TO it_excl_func.
Endmethod

 

Then call this method

 

call method obj_c1->excluding.

 

Then call the set_table_for_first_display method.

 

CALL METHOD o_grid2->set_table_for_first_display

........

........

it_toolbar_excluding          = it_excl_func

 

This will work fine

Regards.


Viewing all articles
Browse latest Browse all 8578

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>