cancel
Showing results for 
Search instead for 
Did you mean: 

remove standard buttons from alv

Former Member
0 Kudos

hi experts look i have got the following problem: i need to remove the standard button from the alv ( printf and download to excel ) that are displayed by default by the element so my requeriment is remove those buttons anyone knows what i can do?.

Edited by: john rivers on Jul 31, 2008 8:43 PM

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi

use the following code


data: lr_std            TYPE REF TO if_salv_wd_std_functions.

 l_VALUE type ref to Cl_Salv_Wd_Config_Table.

  l_VALUE = l_ref_INTERFACECONTROLLER->Get_Model(
  ).
lr_std ?= l_value.
lr_std->SET_EXPORT_ALLOWED( abap_false ).
  lr_std->SET_PDF_ALLOWED( abap_false ).

Former Member
0 Kudos

thanks it works!!!!

Answers (0)