cancel
Showing results for 
Search instead for 
Did you mean: 

Add a button into the search view

Former Member
0 Kudos

Hello,

we want to add a button into the search, for example account search view toolbar (View: ApptSR).

In the detail view we take the interface IF_BSP_WD_TOOLBAR_CALLBACK for button implementation. In this interface there is the method GET_BUTTONS.

For the toolbar in the search view toolbar we can not find an interface like this in the detail view.

Can anybody give us some tipps how we can implementate a button in the search view toolbar?

Thanks.

Kindly regards

Annett

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

Check DO_PREPARE_OUTPUT method of ur view IMPL class.

for ur refrence

component - BP_HEAD_SEARCH

View - MainSearchResult

Regards

Gaurav

Answers (2)

Answers (2)

Former Member
0 Kudos

Thanks it solved the problem

Former Member
0 Kudos

Hi

The reason is due to changing inheritence of view.

What you can possible do is add button by adding code in view.html

or you need to change inheritence of your implementation class of your view but this does not seems to be feasible because your code will be using the class.

So better approach would be to write html code in view . html