cancel
Showing results for 
Search instead for 
Did you mean: 

How we can use standard search criteria and disply our custom result

Former Member
0 Kudos

HI Experts,

I want to use standard search criteria same like BT115S_SLSO component has,

based on the user inout we wants call our FM in On_search method, and need to display the custom value node as a table view

We dont want to enhance as this is a custom report, so could you please tell me how we can copy the component and

add our result view to it so that we can fill values to the value node.

Thanks in advace,

Aniket

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

hi,

In On_SEARCH method, create the value nodes and add to the collection.

see example code here..

regards

Ismail

Former Member
0 Kudos

Hi,

Thanks a lot for your quick response....am new to webui so could you please tell me the steps that i can follow to get it.

I tried to copy the existing component BT115S_SLSO which contains the sales order std search which we want for our report into ZBT115S_SLSO.

1 added a result list view to the application which is a value node..

2.added ON_SEARCH method to SLQSlsord view and added the code to flll my value node

3.but the problem is that as this view inot part of that std application am not able to access it from the Search view via

custom controller.

PLease give me ur email so that i can show you the exact req....

Thanks,

Aniket.

Former Member
0 Kudos

Hi Aniket,

Here is a simpler way of resolving your issue:

1.Add a dummy field in the search view by adding attibutes to context node of the search structure.

2.Let the standard search fire the query.

3.In the result list.Filter the records based on the values entered in your new fields added by looping in to the collection.

Thanks,

Ashish.

Former Member
0 Kudos

Hi Ashish,

Thanks for your help and time.

My requirement is like this,

1. I have designed a custom report which has same Advanced Search i.e. Sales order Search BT115S_SLSO,

Search BOL object am using to design my adv search screen is BTQSlsOrd

2. In Search method after std query am using my FM to get the result based on the order no given by the std search

3. In Result view am able to show my custom result list from the FM.

4.Now my issue is am not able figure out how we can assign the search help to our custom advanced search fields.

I have redifined GET_DQUERY_DEFINITIONS to get the dropdowns & value helps,

and added all component usage in repository. link is also coming for the f4

but no event is getting triggered.

Thanks,

Aniket

Edited by: Aaniket Korde on Oct 13, 2009 12:26 AM