Home > Default > Search Criteria: how to filter dropdown lists?

Search Criteria: how to filter dropdown lists?

October 11Hits:7
Advertisement
Hello Experts!
In my 'Search Criteria' page of Complaints I have some fields such as Transaction ID, Transaction Type, Created By, Partner Function, etc. 'Partner Function' is bringing ALL partner functions of the system in the dropdown list. I need to restrict/filter this dropdown list in order to bring ONLY the values that I need.
The same thing happens, for example, the field 'Status'. It brings all statuses of the system, but I just need it to bring the statuses of my Status Profile.
This happens for all dropdown lists in all search pages.
How can I filter these dropdown lists?
Thanks a lot,
Luis.

Answers

Hi Luis,
Redefine method GET_DEQUERY_DEFINITIONS and use the following piece of code:
FIELD-SYMBOLS: <rt_result> TYPE crms_thtmlb_search_field_info.
CALL METHOD super->get_dquery_definitions
    RECEIVING
      rt_result = rt_result.
READ TABLE rt_result WITH KEY field = 'STATUS' ASSIGNING <rt_result>.
<rt_result>-ddlb_options will contain all the values for status you see in the dropdown list. Modify this list as per your requirement and hence modify the main Internal table - RT_RESULT from <rt_result> for field status.
I hope this helps.
Thanks
Vishal
Edited by: Vishal Kesar on Nov 24, 2010 12:35 AM

Read other 4 answers

Tags:

Related Articles

  • Search Criteria: how to filter dropdown lists?October 11

    Hello Experts! In my 'Search Criteria' page of Complaints I have some fields such as Transaction ID, Transaction Type, Created By, Partner Function, etc. 'Partner Function' is bringing ALL partner functions of the system in the dropdown list. I need

  • Add new dropdown value in search criteria for InvoicesNovember 30

    Hello, I want to add one more value in Drop-Down box of the search criteria of invoices. As on now there are 2 DropDown boxes in Your Referance No in Transaction No (New) in Order No (This will have search value as "Sales Order No") Can anyone t

  • Restrict No: of input Search Criteria to 1 dropdown fieldNovember 30

    Dear Experts, We have a custom BP_Search AB where we have 4 fields. We added these 4 fields in the UI Configuration. Now on the search screen, these appear as 4 lines. However, our requirement is: We just need to show 1 search criteria as dropdown bo

  • Filter results for New Search Criteria of Advanced SearchNovember 30

    Hi, I'm new to oaf. I have added extended VO item to seeded advanced search region as new search criteria by personalization. When i try to search for new criteria the results are not filtering and my extended CO logic as follows: IN PFR: if(oapageco

  • How to get the search criteria value in modelOctober 11

    Hi, I've a search page and one of the search item has BETWEEN operator. How can I get the values for this search criteria item in model project ie., inside the VOImpl.java? ThanksAs you gave no jdev version and no use case all I can tell is to look a

  • Belonging To Search Criteria in Document SearchOctober 11

    Hi, I have been trying to find an explanation of the search terms "Me", "My Team", "My Group", "My Company" and "My Responsibilty Group" that are available within the document search. Having investigated t

  • How to edit Existing Search CriteriaOctober 11

    Hi Experts, In my ADF application already I have Search Criteria, for this existing I have to add two more fields say 'LOB' and 'CustomerName' as a Dropdown. The following LOB values should be available in dropdown and these LOB values should be acce

  • User defined message search criteria on ECCOctober 11

    Hi Experts, I have configured UDMS-user defined message search under ECC (for message search in MONI) using T-code: SXMS_LMS_CONF and while defining extractors, I have selected both check boxes. 1. Extract during message processing 2. Extract with ex

  • Software Updates, multiple SAME search criteria ?October 11

    Hi Does anyone know if you can have multiple SAME Software Update Search search criteria?  For example if I add the same search criteria twice I will get the OR and not AND criteria that I want. How would I go about doing that?Same question as the or

  • Regarding date ranges in search criteria in oracle formsNovember 30

    I am using employee number,name, person type, and date ranges as search criteria in custom form. when I enter employee number, hit the find button, I am getting the exact info in the result block. Result block contains employee name,personid,emp numb

Copyright (C) 2019 wisumpire.com, All Rights Reserved. webmaster#wisumpire.com 14 q. 0.665 s.