Skip to Content

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

Toolbar UI

Hi Gurus,

I'm facing a strange thing.

I'm trying to delete the "Search Archive" button from the top of the User Interface in the search screen for Trade Promotion. When I click on the button F2 for technical info it retrieves me the following information:

Component: TPMOE, View: AdvancedSearchViewSet, Context Node: THTMLB, Attribute: BUTTON_1, but when I access to the view I cannot find any context node called THTMLB.

Someone of you can suggest me a way to achieve it?

I found that there something related in the Toolbar Related Methods. Do you think that if I comment the code the button will disappear?

Full of point if it helps,

thanks in advance,

best regards,

A.

Tags:
Former Member
Former Member replied

Hi,

Do in this way..

1.Enhance component TPMOE

2.Enhance View AdvancedSearchViewSet

3.GoTo Impl class and chooes IF_BSP_WD_TOOLBAR_CALLBACK~GET_BUTTONS method.

4.Redefine this method.

5.Write this code

call method super-> IF_BSP_WD_TOOLBAR_CALLBACK~GET_BUTTONS

DELETE gt_button where on_click = 'SEARCHARCHIVE'. (Click event of that button.)

Regards

Gaurav

0 View this answer in context

Helpful Answer

by
Not what you were looking for? View more on this topic or Ask a question