Hi Brijo,
If its statically designed, go to the respective tab and set the visibility property to NONE.
If you want it to hide using code:
write the below code in wddomodifyview( ).
if first_time = abap_true.
data lo_tabstrip type ref to cl_wd_tabstrip.
data lo_tab type ref to cl_wd_tab.
lo_tabstrip ?= view->get_element( 'TABSTRIP_NAME').
if lo_tabstrip is bound.
lo_tab = lo_tabstrip->get_tab( 'NAME_OF_TAB' ).
if lo_tab is bound.
lo_tab->set_visible( '01')." invisible
endif.
endif.
endif.
change the tabstrip name and name of tab as per your requirement.
Hope this helps you.
Regards,
Rama
Hi,
If you want to hide any UI element, you have to use the visible property of the UI element and see the tab strip property, if it is binded then use the binded context attribute for writing the code.
are you hiding the standard component tab strip.
Hope it will help you.
Regards,
Rajesh K
Add a comment