Quantcast
Channel: SCN : All Content - All Communities
Viewing all articles
Browse latest Browse all 7846

Hide button in webdynpro standard

$
0
0

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):

 

1.png

2.png

3.png

4.png

 

Any help will be greatly appreciated!!


Viewing all articles
Browse latest Browse all 7846

Trending Articles



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