on 11-11-2014 5:38 AM
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.
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.
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.
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.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Peeyush,
I doubt it's not possible to do so as the common html code SearchQuery_2.htm of bsp application WCF_BSP_SP gets triggered for all search pages created through wizard. And changing this page will affect all applications.
Thanks,
Faisal
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
You have to put the code in View set of the search and result.
Regards,
Deepika.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
5 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.