cancel
Showing results for 
Search instead for 
Did you mean: 

hide customised alv button

Former Member
0 Kudos

hi,

how should i go about hiding the customised alv button i created?

thanks.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

You can get the reference to your user defined function by calling the method get_function and passing the ID or the function code that you have specified. The simply call the set_visible method to make it invisible. Sample code would be like this:

data: lr_function TYPE REF TO cl_salv_wd_function.

lr_function = l_alv_model->if_salv_wd_function_settings~get_function( 'ID' ).

lr_function->set_visible( CL_WD_UIELEMENT=>e_visible-NONE ).

Hope this helps.

Regards

Nithya

Answers (1)

Answers (1)

Former Member
0 Kudos

hi

good

go through this link

http://www8.sap.com/mk/get?_EC=SscUM7P0WSa7hgJOJl5hEU

thanks

mrutyun^