Skip to Content
0
Former Member
Jun 09, 2014 at 04:34 PM

Hide button in webdynpro standard

642 Views

Hi friends,

In the past some folks guided me to hide and change standard buttons; now I'm stuck with a toolbar which does not respond to my code when I want to hide it

Im enhancing webdybpro HRECM00_PLANNING_UI method WDDOMODIFYVIEW of view v_planning:

lr_lbl ?= view->get_element( ID = 'ADJUST_COMPENSATION' ).

IF lr_lbl IS NOT INITIAL.

lr_lbl->set_visible( 01 ).

endif.

lr_lbl ?= view->get_element( ID = 'SALV_WD_PDF' ).

IF lr_lbl IS NOT INITIAL.

lr_lbl->set_visible( 01 ).

endif.

but when debug it it seems that the method get_element is not getting anything. This is the detail of the webdynpro and toolbar buttons I want to hide (not all of them):

Any help will be greatly appreciated!!

Attachments

1.png (67.2 kB)
2.png (62.0 kB)
3.png (134.8 kB)
4.png (65.8 kB)