I have Enhanced Component BSPWD_BASICS view: WorkAreaHostViewSet to delete buttons from the Work Area Toolbar.
All is activated without error but the Redefinition of the method if_bsp_wd_toolbar_callback~get_buttons is never called.
In runtime I have validated that erasing rows from internal table rt_buttons dissapear the required buttons.
Any help will be appreciated.
as per your previous reply, i understand that you are trying to remove some buttons from the Opportunity overview page.
Go to the method CL_BT111H_O_OPPORTUNITYO0_IMPL -> GET_BUTTONS. In this you will find all the buttons that are displayed. Comment out the buttons which you dont want (or)
enhance the component using the enhancement set and they try redefinging the above mentioend method..
Hope this helps