Quantcast
Channel: SCN : All Content - Web Dynpro ABAP
Viewing all articles
Browse latest Browse all 3667

How To Read Tray(which is designed in view) in my action method

$
0
0

Hi ,

 

I want to hide the TRAYs which are designed in view of my wda component.I have created one attribute(BOOLEAN) at context level and bind to the tray as shown in figure and write below code.

in tray i have attached node w_dynamic(which is custom table).

 

lo_nd_w_dynamic = wd_context->get_child_node( name = wd_this->wdctx_w_dynamic ).

*

* get element via lead selection

   lo_el_w_dynamic = lo_nd_w_dynamic->get_element( ).

*

   lo_el_w_dynamic->set_attribute(

     name `BOOLEAN`

     value = abap_true ).



How read the tray...so based on the condition,i want to show trays either visible or none.how to achieve it.I know BOOLEAN IS NOT PART OF W_DYNAMIC.SO GOT ERROR.Please help me here.

screen.PNG


Viewing all articles
Browse latest Browse all 3667

Trending Articles



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