Quantcast
Channel: SCN: Message List - SAP CRM: Webclient UI - Framework
Viewing all articles
Browse latest Browse all 7775

Re: create a button in search view of the search result page created by Wizard create search page

$
0
0

Hi Peeyush,

 

Here is one way by which you can attain this. But I am not sure whether this is a recommended way. Also, you will have to check whether there are any other effects.

 

1: Create a BSP application and view.

Test.PNG

 

2: Take the code of bsp application WCF_BSP_SP view SearchQuery_2.htm and paste it in this view. Set the parameters also same as the standard view. Add your button as follows.

 

buttons.PNG

3: Now go to SE24 and copy class CL_WCF_BSP_BASE_SQ_2 to ZCL_WCF_BSP_BASE_SQ_2.

4: Go to attribute of the newly created class and rename the attribute GC_SEARCH_QUERY_LAYOUT.

Attribute.PNG

5: Now go back to our custom bsp application view and rename the controller class to ZCL_WCF_BSP_BASE_SQ_2.

 

6: Now you have your button ready.

Test search.PNG

 

Create an event handler for this button and write your code there.

 

Note: Again, this is a work around solution. Check whether any of the existing functionalities are affected by this. I believe it shouldn't afftect any though.

 

Thanks,

Faisal


Viewing all articles
Browse latest Browse all 7775

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>