Advanced Search Field Hiding

I reviewed chapter 7.8 of the following document
http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/302d8152-002b-2b10-34bd-9ff3c712dd4b?quicklink=index&overridelayout=true
My question is now if I hide the search criteria and then go into the details of an item contained in the search result and then navigate with the blue back button, what should I see?
a) The result list with the search criteria expanded
b) The result list with the search criteria hidden
In my CRM 7.0 system I get result a.
This is for the opportunity search component(BT111S_OPPT), but I would be interested for all components in general. As for BP_HEAD_SEARCH component I'm getting result b.
I would like to figure out the correct behavior so I can correct the components that are broken.
Thank you,
Stephen

Hi Stephen,
I checked this scenario in Opportunities search and in Quotations search.
In Opportunites search when you navigate to the seach view using 'previous' button, controller class method DO_VIEW_INIT_ON_ACTIVATION gets triggered. Here the hidden search criteria is made visible by calling context method typed_context->attr->set_hide_search( abap_false ).
In Quotations search when you navigate back to the search view using 'previous' button, context class method CL_BT115QS__SLSQUOTVIEWSE_CTXT=>if_bsp_wd_history_state~state_restore() restores the current state hence the hidden search criteria is still hidden.
On furthur investigation i found that the condiiton failure in Opportunites search is because of the below check in DO_VIEW_INIT_ON_ACTIVATION method which gets triggered whenever the search view is called,
lr_tcc ?= me->comp_controller.
  IF lr_tcc->typed_context->launcherinfo->get_gorequested( ) EQ abap_true.    ---> condition fails here
    typed_context->attr->set_hide_search( abap_true ).
  ELSE.
    typed_context->attr->set_hide_search( abap_false ).
  ENDIF.
whereas in quotations search this check is implemented in DO_INIT_CONTEXT.
Regards,
Arun

Similar Messages

  • Tooltip for Advanced Search field

    I have a requirement on creating tooltip for the field 'Country' in Sales 'Account Search' . I tried on get_p method of the field in BP_HEAD_SEARCH component's 'MainSearch' view.
    Can anyone give me some solution regarding this?

    Hi Swadini
    According to my knowledge
    I think it is not possible to provide tooltip for search page field
    when i debug i could see that SAP has provided default value for any field on search page.
    Place break point in class CL_THTMLB_ADAVANCEDSEARCH
    method IF_BSP_ELEMENT~DO_AT_BEGINNING
    line 465 .
    tooltip is set to text-033
    Please let me know if any issue with this
    Regards
    Dinesh Gurram

  • Help required to customize Simple/Advanced Search. Need to add new fields

    Hello,
    Module: Oracle Sales Online
    EBS version: 12.1.3
    Jdev version: 10.1.3.3
    Scenario:
    - We are dealing with standard oracle pages.
    - We have TWO "SIMPLE/ADVANCED SEARCH"s available. Each "Simple/Advanced Search" can be found by navigating through paths "A --> B" and "A --> B --> C --> D" . Here it means one "SIMPLE/ADVANCED SEARCH" page is available at page "B" and another "SIMPLE/ADVANCED SEARCH" is available at page "D".
    - In the first search page which is at page "B", both Simple as well as Advanced search has a filter field "Win Probability %", of type VARCHAR2/DROPDOWN with values (10, >=10, <=30, 30, >=30, <=50, 50, >=50, <=70, 70, >=70, <=90, 90, 100)
    - In second search page, referring to page "D", the Simple search DOESN'T have the "Win Probability %". And the Advanced Search page has the "Win Probability %" but it is of type - NUMBER/MessageTextInput type.
    Issue/Requirement:
    - The 2nd Simple/Advanced search pages need to have "WIN PROBABILITY %" field and it should be of VARCHAR2/DROPDOWN with values (10, >=10, <=30, 30, >=30, <=50, 50, >=50, <=70, 70, >=70, <=90, 90, 100) just like the way we had in 1st Simple/Advanced search.
    Note:
    - Again speaking we are dealing with standard oracle pages
    - If you go to the "About this Page", interestingly I found:
    i. The "message component layout" for both of them is from the same region , i.e., ASNOpptympSrchRN
    ii. Rest of the search filters for both the searchs are from common View Object , i.e., OpptySearchVO1 (for Simple search), OpportunityDetailsVO1 (for advanced search)
    iii. The "Stack layout" for both the search pages are same, i.e. XXMASOpptyQryCO
    iv. None of the fields are rendered to false (everything is set to be rendered TRUE)
    Any response is highly appreciated.
    Thanks,
    Anand
    Edited by: 933590 on Jul 19, 2012 8:18 AM

    "XXMASOpptyQryCO is the name of stacklayout or CO?
    What is the CO?
    Does both pages share same CO?
    have you already extended the CO "XXMASOpptyQryCO"?
    what is the original CO then? I think in that CO it must be written somewhere, simple search "search allowed = false""
    -Here CO what you are referring is a controller.
    -FYI pages share same controller.
    -And the original controller for both the pages are OpptyUwqCO. Right now its extended controller is XXMASOpptyQryCO
    Fact is I didn't create this search page. It was built by some third party members. Also that I do not have the original source nor the documentation pertaining to it. So could you inform as in how should I navigate to the point "Search Allowed = True"
    I should have informed that at "B" page, it has a region      /oracle/apps/asn/opportunity/webui/ASNMgrOpptyQryRN and at page "D", the region is      /oracle/apps/asn/opportunity/webui/ASNOpptyQryRN
    Edited by: 933590 on Jul 19, 2012 1:37 PM

  • Adding a new Search Field in Advance Search

    Hi,
    In 1 of the advance search regions, :
    We have a search panel in the adv search RN. In the poplist we have say 10 fields. We can add either of these 10 fields and use for searching. Now I want to add another search field ( an attribute from a table).
    Question 1 :*
    How to find the underlying VO from which the search fields are coming. I saw the page ( about this page) but couldn't find anything.
    Question 2:*
    Suppose I get the VO (resolution from above question) , if my extra filed is not there I add it in the VO ( VO extn), now how to configure this new field to the existing search panel fields?
    Thanks

    Hi,
    I think search fields are not mapped to any VO. If this is your standard page, check the standard controller. It might be getting values from pageContext.getparameter().
    You can create a new item using 'Personalize this Page' option and extend your controller to set where clause for the same.
    --Sushant                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Bug after adding fields in advanced search mode of af:query

    We are migrating from JDeveloper 11.1.1.6 to 11.1.1.7.
    I noticed the following issue:
    In a page with search criteria (based on a view object), when the user adds an additional field in advanced search mode and clicks on a full submit button in the page, the following browser popup appears:
    "This page is asking you to confirm that you want to leave - data you have entered may not be saved."
    This was logged as a bug in Oracle Support but we have not been able to find a workaround yet.
    This is the only issue currently blocking us from migrating to 11.1.1.7. Has anyone else faced this issue? Any ideas on how we can bypass this behavior?
    Thank you,
    Gabriel.

    Unfortunately, the latest update from Oracle Support was that they no longer consider this a bug!
    SR 3-7706485141: Additional Fields in af:query problem - JDeveloper 11.1.1.7
    Bug 17346704 - ADDING FIELD TO AF:QUERY ADVANCED SEARCH CAUSES SPURIOUS WARNING DIALOG POPUP
    1. I cannot understand how something that blocks user actions and cannot be bypassed in any way could be considered "acceptable behavior".
    2. I also do not understand how a Bug can be lodged and then have its status changed to "Not a Bug".
    3. Even if we were to ignore this issue and convince our customers that they should be delayed by meaningless popups while working (which we cannot), their is still another issue that makes this functionality dysfunctional. When the user clicks on "Stay on Page" the popup closes and the page freezes and becomes unresponsive.
    Off course this is another issue and a different SR should open, but I think it shows that something is going very wrong with this functionality.
    I wonder if anyone else is considering using JDeveloper 11.1.1.7.0 in a production system.

  • Restrict fields in advanced search

    Hi,
    afaik you should be able to restrict the fields exposed to the user in the advanced search with R18.
    I am not able to find the place to configure this. Any hints?
    Thanks in advance
    Michael

    Michael, tere is a new privilege called "All fields in Search and Lists" that controls if a user sees all available fields or just the ones on the record detail page.

  • Controlling criteria in Advanced Search 'Add Fields'

    Hi all,
    Jdev Version: Studio Edition Version 11.1.1.7.0
    Background
    I have two VOs described as below -
    TaskVO - Fetches a list of tasks
    TaskUserVO - Fetches the list of users of tasks - Users may be assignees or owners identified by value in column 'USER_SOURCE_TYPE'.
    A view link relates TaskVO & TaskUserVO by the TASK_ID (primary key of TaskVO).
    I have a view criteria for displaying a search by assignee and search by owner as criteria in my search query region. For this, I have used 2 inline view criteria in my view criteria defined in TaskVO. Both inline view criteria are on TaskUserVO (one for Owner & other for Assignee) and each takes 2 bind variables -
    i. USER_SOURCE_TYPE - This can either be ASSIGNEE or OWNER
    ii. NAME - This is the name of the assignee or owner.
    Issue Description
    The issue I face is in Advanced Search - Add fields. Since the same inline view criteria (TaskUserVO) is added twice (once for Owner & other for Assignee), the Add fields shows 'Name' twice in the list.
    I need to show the Add field label name as 'Assignee' corresponding to the Assignee inline VC and name as 'Owner' for Owner inline VC. How can I achieve this?
    In general, I am also looking for ways to pro-grammatically modify the 'Add field' list (I understand that the Queriable flag controls this list declaratively). Any suggestions on this?
    Could QueryModel/QueryDescriptor help in achieving this?
    Thanks,
    Srini

    Any thoughts on this one?

  • Input field in "Advanced Search"

    Hello Experts,
    I'm setting the "Search Component Set" and "Search Option Set" in our portal, and I've a little question..
    In our default "Search Option Set" I disabled the property "Enable Large Search Field" (and it works fine, the input field is not large!) BUT during the search when I go in "Advanced Search" the input field return large... Why??
    Is possible to set a  not large input field also in "Advanced search" ?
    Thanks in advance

    Ok,
    in SystemAdmin > SystemConfig > ContentManagement > UserInterface > Search
    you can find the "Search Component Set" and "Search Option Set".
    Configuring "Search Option Set" (the default option set used is "UISearch") you can enable/disable the parameter "Enable Large Search Field", that works on input field width..
    If I disable this parameter the input field of my toolArea is short, but if go into "Advanced Search" the input field change and became large...

  • Field recovery in the  account's advanced search

    Hi all,
    i am working with badi CRM_ACC_SEARCH and i need to recover the value entered in  field 'last name' , talking about the advanced search of accounts (field group ACC_SEARCH_07, structure CRMT_BSP_SEAREQ_ACCOUNT, model access CL_BSP_ACC_ACCMOD). How can i do it?    any module function? thanks in advance.
    Best Regards
    Gab

    Hi GAB.
    Which Application are you using ?
    Regards.
    Armando Rodriguez.

  • PC UI Advanced Search - Enhancement by standard fields of transaction table

    Hello,
    we are using CRM 5.0 SP13.
    We are familiar to enhance PC UI applications (BP+transactions) by EEW customer fields and how to use/hide them in the search functionalities etc.
    But now we need to enhance the advanced search for leads by the POSTING_DATE date of table CRMD_ORDERADM_H. Unfortunytely in PC UI advanced search structure for leads CRMT_BSP_LEA_SEARCH_ME the POSTING_DATE is not included like it is in the opportunity advanced search structure CRMT_BSP_OPP_SEARCH, where we were able to enhance the search easily by CRMC_BLUEPRINT_C customizing.
    The idea is to solve the problem to create EEW fields POSTING_DATE_FROM and POSTING_DATE_TO like they are existing in CRMT_BSP_OPP_SEARCH and use them in advanced search. So far no problem in creating and displaying the EEW fileds by CRMC_BLUEPRINT_C.
    But the part we are missing is to link the new EEW fields to the standard database-field POSTING_DATE and implement the search functionality "Searching by select option POSTING_DATE_FROM and POSTING_DATE_TO".
    Anybody any experience to link EEW-fields to standard fields of database tables for advanced search functionality in PC UI.
    Thank you for your help in advance.
    Best regards
    Marco

    Hi Marco,
    The best option here is to create redefination of the query method of the leads search class. Here you can first ensure that the call to the query method of super class takes place and the next would be do mapping between custom fields to local structure and then call the relevant API's to fetch the data.
    Best Regards, Adil

  • Removing standard operators for a field in Advanced search

    Hi,
    JDev 11.1.1.3.
    In ADF application, we need to remove few standard operators from the list for a field in Advanced search. For this we have followed the below oracle documentation:
    http://download.oracle.com/docs/cd/E14571_01/web.1111/b31974/web_search_bc.htm#ADFFD2457
    27.3.3 How to Create Custom Operators or Remove Standard Operators
    As specified in the doc, we have added the below "CompOper" tag to VO.xml. We have to remove all the operators present in the list except the "Equal to". But the issue is, using below code the "Not between" and "contains" operators are deleted from list, but "Not equl to" is still getting displayed. We have also tried "Doesnotequal". I have tried the oper string with spaces, without spaces, spaces replaced by underscore.
    Can some one please provide the exact String to be passed in oper attribute of CompOper for all operators?
    <ViewCriteriaItem
    Name="CmLookupTypesVOCriteria_vcrow16_Category"
    ViewAttribute="Category"
    Operator="="
    Conjunction="AND"
    Required="Optional"
    UpperColumns="1">
    <CompOper Name="Category" ToDo="-1" Oper="NOTEQUALTO"/>
    <CompOper Name="Category" ToDo="-1" Oper="NOTBETWEEN"/>
    <CompOper Name="Category" ToDo="-1" Oper="CONTAINS"/>
    </ViewCriteriaItem>
    Thanks,
    Manasa Tadi

    I am not able to find the list for the entire set of operators, but you could follow a simple technique to identify the exact operator to be used:
    In the View Criteria editor, for any of the attribute, modify the operator to any desired value, this would update the *VO.xml,
    use the same operator, if you want to hide it in advanced mode - as you have done earlier.
    <ViewCriteriaItem
    Name="CmLookupTypesVOCriteria_vcrow16_Category"
    ViewAttribute="Category"
    Operator="="
    Conjunction="AND"
    Required="Optional"
    UpperColumns="1">
    <CompOper Name="Category" ToDo="-1" Oper="NOTEQUALTO"/>
    <CompOper Name="Category" ToDo="-1" Oper="NOTBETWEEN"/>
    <CompOper Name="Category" ToDo="-1" Oper="CONTAINS"/>
    </ViewCriteriaItem>
    Thanks,
    Navaneeth

  • New field in account advanced search

    Hello Experts,
    I'm facing issue where the new field is not showing up on the advanced search screen for account (CRMM_ACCOUNT).  The new field has been added to both search request and search result structure.  The logic has also been implemented to incorporate the new field into the search query. 
    When add this new field to the field group, the field displays on the 'Get' drop down box and I was able to search by this new field fine.  However, it doesn't get display on the advanced search screen.
    Any help would be appreciated.
    Thanks,
    --Jamie.

    Hi Jamie,
    What i understand is the field has been added in Field Grp ACC_SEARCH_LOG_04 but its not showing up in Advanced Search right. I hope you should do this step i.e  Goto-> Layout Generation and Uncheck 'Only Check Fields Groups' from the checkbox and Enter the Field Grp in Field Grp field over there then execute it. Hope you can see the Custom field there.
    When you click Show advanced search you can see the 'Find Dropdownlist box ' select 'All Accounts' value from there and check whether your custom field is populating there or not.
    Thanks,
    Raju

  • Who is Who - dropdown list for fields in the advance search

    Hello:
    In the advance search of the Who is Who service, we have the Organization Unit and Cost Center as searching fields.
    We can't be able to see the dropdown list for these 2 fields from the Portal.
    Do anyone have any idea of what configuration is missing?
    Thanks.
    Regards,

    hi,
    according to my knowledge they don't have Unique ID but unique names attached to them.
    open Outlook
    go to Tools -> Forms -> Design Form -> select Message then right click on 'To' textbox and chose Advance Properties it has a field 'Name' that name can be used for reference in your development.
    hope this helps you.

  • Not render any field search criteria initially in Advanced Search Panel

    Hi Everyone!
    It's possible to hide or remove all field search criterias initially in Advanced search panel. We need that initially doesn't exist any field search and the user use the 'Add another' option when him need add search criterias.
    Thanks,
    Carlos C.

    Your solution to the indexing issue with the LIKE operator is taking a small issue and making a big issue out of it.
    Why not just fix the initial problem with basic tuning techniques ... for example a hint would force index usage.
    So might having accurate statistics. So might tuning one or more optimizer parameters a small amount.
    You have chosen the wrong solution for a very small problem thus you are where you are.

  • SRM 7 Add a field to Advanced Search

    Hi,
    we have a requirement, where I need to add a feild on the advanced search screen. Are there any BADis to acheive this.
    Any info on this is highly appreciated.
    Thanks and Regards,
    Krishna

    Hi Siva,
    Thank you for the response.
    Can you please elaoborate this. Like how you renamed the standard field, how to find out which structure needs to be appended. A step by step guidance if you have time on this will really help me ... 
    Looking forward to here from you again.
    Believe me , you will be highly appreciated for the info.
    Thanks in advance,
    Krishna

Maybe you are looking for

  • Need advice about replacing desktop, with laptop?

    I need to replace my old desktop. Know nothing about laptops! Would like to clear my spare room of computer desk and junk! Would a laptop serve the same purpose, as a desktop? I'm a retired lady and mainly use my computer for email, internet surfing

  • Purchasing a Subscription Product - Using Urban Airship lib

    Need help!!! I am running crazy with this subcription feature, and possibly this is a very basic mistake, but I have been not successful of figuring it out, can someone here give me a hand on this? The problem was I got instant crashes every time the

  • Looking for specific photo content

    I have nearly 2000 photos in iPhoto v5.0.4 (263). I want to identify the small number of those which contain pictures of a specific person - is there any way that I can quickly flick through each picture so that, having identified my target in one, I

  • Subreports - Portrait, Landscape orientation. Is it possible?

    Post Author: JamesM CA Forum: General I want to put a few subreports into a single master report but I'm having difficulty as some need to be orientated in the landscape format and some in portrait. The trouble is that when you import the subreport t

  • Help needed for Audigy and Audigy 2

    Hi, I got a set of Audigy Platinum EX and I have a Audigy 2 ZS. Can I use the external I/o part of Audigy Platinum EX on Audigy 2 ZS?Thanks