Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Hide Group elements

Hi all ,

I want to make my Grp UI hide on click of a check box .

How do i do the same .

Pls help


Former Member

Hi Supriya,

Create one attribute of type WDUI_VISIBILITY and bind it to visible property of Group element.

In check box on_toggle event write code like this...

DATA lo_el_context TYPE REF TO if_wd_context_element.
  DATA ls_context TYPE wd_this->Element_context.
  DATA lv_visible TYPE wd_this->Element_context-visible.

* get element via lead selection
  lo_el_context = wd_context->get_element( ).

* get single attribute
      name =  `VISIBLE`
      value = '01' ). // set value according to your req



0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question