Accessing search criteria programmatically

I have a client who asked me to modify a report that highlights the background of an on-demand subreport.  He then searches for a cheque number and when he finds the right cheque number, he clicks on the subreport.
However, the subreport is highlighted (just a yellow background colour), for all cheques on the same page.  He has been clicking on the wrong one.
He uses the Crystal interface to run the reports.  He wants to hit the search button, put in the cheque number, go to the page with the cheque number but have only the subreport for that cheque number highlighted.
I know I can use a parameter to programmatically change the background colour and have him enter that during a refresh but he still has to search for the cheque and it could be 50 pages to look through.
Any ideas?  TIA rasinc.

Simply search the subreport again

Similar Messages

  • How can we access the value set to a search criteria's attribute

    Hi guys,
    Is there any way to access the value which was set to a search criteria's attribute programmatically in the backing bean?
    Regards !
    Sameera

    Check sample 85 from the adf code corner sampleshttp://www.oracle.com/technetwork/developer-tools/adf/learnmore/85-querycomponent-fieldvalidation-427197.pdf
    Frank shows how to access the variables.
    Timo

  • Had a Search Criteria and the result as table in header.Wanted to bind the result table to bean for the key value access

      Had Search Criteria and the result is displayed in the table in a panel header .  I want to get the selected  row value and parse the value to next Vo in next page for a bind variable . So i need to handle the  tbale value by biniding to the bean , but there was no option to bind the table for a bean.So how can i get the value selected .
    Regards,
    K M Krishna.

    First of all tell us your jdev version, please.
    to get to the selected row you don't need to bind the table to a managed bean. You can e.g. drag the needed attributes from the VO onto the page and drop them as inputText components. the Framework then generated the attribute bindings and sets the values of the current row to them. As you don't really need the inputText components switch to source mode (!this is essential!) and remove them. This will remove the visual component but the attribute bindings are kept.
    Know you can access the values via their EL or like you get the value from an attribute via it's binding.
    Timo

  • I have set up two users, one for myself and one for children.  The computer automatically logs in for the children with no password required.  When the children go to spotlight and type in a search criteria all of my files show up.  How do I prevent this?

    I have set up two users, one for myself and one for children.  The computer automatically logs in for the children with no password required.  When the children go to spotlight and type in a search criteria all of my files show and open up.  How do I prevent this?

    Log in to your account, and move all your files to your home folder. No other users should be able to access them there and they won't show up with a Spotlight search.
    Make sure your kids' account(s) do not have admin privileges.

  • How to add a new  search criteria in Advance Search Page in OAF

    HI,
    In my application (R12) we can access customer related information from 2 places (2 different responsibilities as mentioned below), both are OAF pages.
    1. AX receivables
    2. Sales online
    From both the responsibilities we can perform search for customer related information as well (Simple as well as Advance Search).
    But Advance Search screen from 'Sales online' allows user to perform search, based on few additional fields as well such as 'Classification' (it's an lov based field).
    Now, User is asking to add that field on search page of AX receivables as well.
    So, how to add one more field (as search criteria), on an standard 'Customer' screen?
    Additional Info :
    1. LOV is based on HzPuiClassificationFilterVO
    2. And this VO is available on both pages. (oracle.apps.ar.hz.components.search.server.HzPuiClassificationFilterVO)
    So can we achieve this by Personalization only ? if yes plz share the steps as well.
    Regards,
    Adi

    Yes. It is possible through personalization.
    1. Create a criteria row under Advance Search
    2. Create a Result Item under advance table columns
    3. Create a Query Criteria Map based on the criteria and result item above.
    Please note the newly added criteria field should be in the Searchresults VO attributes list.
    Otherwise you need to extend the VO as well.
    Hope this helps.
    Regards,
    -Mukesh.

  • How to edit Existing Search Criteria

    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 accessed from DB Table.
    Upon selection of LOB value as ‘SNI’ ,customer name dropdown is displayed and the customer names related to that LOB are populated in the dropdown.
    View Object is created on Read only access through SQL_Query.
    please can anyone suggest me for the same??
    thanks
    Santosh
    Edited by: Santosh M E on Jan 4, 2012 10:16 PM

    For this, you need to create LOV for LOB and a dependent LOV for customer names.
    Ex. you create a new VO for LOB - select LOB from ...... and another VO for customers - select cust_name from ..... where lob = :lob (this is fed by the LOB lov)
    Once you do this in the model, your query component will behave as you want.
    You can watch the video of the Shay's cascaded lov building tutorial here - http://www.youtube.com/watch?v=nXwL2_RP7AQ
    Make sure that you set dependency of customer name on LOB in the properties
    Edited by: asatyana on Jan 4, 2012 11:32 PM

  • How To add a field in search criteria in SAP standard report

    Hi AlL,
    I have a requirement where i need to add a field in search criteria of selection screen and display in output of Standard SAP report.
    I have read in threads that to obtain Access key and modify the code in std report , if i am not able to get an Access key and not allowed to copy the report as Z.
    Could you please let me know how to solve this kind of requirement.
    thanks
    Chary

    Well - it's a report so there won't be a user exit. I think your options are what the others (and you) have suggested - change the standard program or make a copy.
    There are different opinions on the forum about which to do.
    Rob
    PS - you're not bothering anyone. We like problems.
    Message was edited by: Rob Burbank

  • Add new dropdown value in search criteria for Invoices

    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 tell how to add this inw value?
    I have created YDocumentListSelectorForm.java extending DocumentListSelectorForm.
    public static final String INORDERNO = "inorderno";
    if("inorderno".equals(attribute))
              documentListFilter.setId(attributeValue);
    YBillingStatusCRM.java is created which extends BillingStatusCRM.class
    com.sap.mw.jco.JCO.Function billingListJCO = connection.getJCoFunction("YCRM_ISA_INVOICE_LIST_GET");
    if(billingList.getFilter().getExternalRefNo() != null && !billingList.getFilter().getExternalRefNo().equals(""))
              importParams.setValue(billingList.getFilter().getExternalRefNo(), "ORDERNO_FROM");
    Accessing it in JSP organizer-content-doc-search.jsp
    YDocumentListSelectorForm yform =
        (YDocumentListSelectorForm)pageContext.findAttribute("YDocumentListSelectorForm");
    <option value="<%=YDocumentListSelectorForm.INORDERNO%>" <%=form.isAttribute(form.INORDERNO) ? "selected" : ""%>> New Value</option>
    Regards,
    Shaun
    Edited by: Shaun07 on Aug 5, 2010 7:29 AM

    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 tell how to add this inw value?
    I have created YDocumentListSelectorForm.java extending DocumentListSelectorForm.
    public static final String INORDERNO = "inorderno";
    if("inorderno".equals(attribute))
              documentListFilter.setId(attributeValue);
    YBillingStatusCRM.java is created which extends BillingStatusCRM.class
    com.sap.mw.jco.JCO.Function billingListJCO = connection.getJCoFunction("YCRM_ISA_INVOICE_LIST_GET");
    if(billingList.getFilter().getExternalRefNo() != null && !billingList.getFilter().getExternalRefNo().equals(""))
              importParams.setValue(billingList.getFilter().getExternalRefNo(), "ORDERNO_FROM");
    Accessing it in JSP organizer-content-doc-search.jsp
    YDocumentListSelectorForm yform =
        (YDocumentListSelectorForm)pageContext.findAttribute("YDocumentListSelectorForm");
    <option value="<%=YDocumentListSelectorForm.INORDERNO%>" <%=form.isAttribute(form.INORDERNO) ? "selected" : ""%>> New Value</option>
    Regards,
    Shaun
    Edited by: Shaun07 on Aug 5, 2010 7:29 AM

  • Role and Search criteria

    MDM Experts,
    My query is wrt the access one can have as a "role".Can we  assign search criteria to a role(other than Admin) or person to restrict what he or she can view in while searching?
    Regards,
    Krutarth

    hi,
    1. define a role
    2. for that particular role, you can assign constrints (in tables/ fields tab) according to your requirement.
    follow this link: ( you can find release notes on constraints)
    SAP MDM 5.5 SP06 Release Notes ( https://service.sap.com/~sapidb/011000358700001124542007E )
    hope this may help you,
    Regards,
    Srinivas

  • Handle the selective search criteria in LOV region based on profile.

    I have a requirement in LOV that the "selective search criteria" functionality should work on basis of the some profile option. Please help me out how I handle it through the controller which is attached with LOVRN.

    Hi
    then is no method provided in OAMessageLovInputBean class to set the criteria programmatically ,SPEL binding too is not possible ,but you can do it in tricky way
    1.) If this is standard LOV than hide this standard lov and
    2.) Create two LOVs one with Selective Search Criteria true and second with Selective Search Criteria false ,both will have same view instance and view attribute.
    3.) Do controller extension and make them conditionaly rendred true or false in process request method ,if you want to this in PFR method then bind them with SPEL.
    thanks
    Pratap

  • Enhance Lead Search Criteria

    Dear Friends,
    Our requirement is to bring Creation date(Created On) field in the search criteria of the Lead search(meaning we should be able to search the leads based on the creation date). For this we created an enhancement in the BSP WD Workbench. We used the Component BT108S_LEA and the view which we enhanced was BT108S_LEA/Search. We created a new attribute to the context node SEARCH, while creating we selected the BOL Entity as BTOrder and the BOL Attribute from BTOrderHeader->CreatedAt. It got added successfully to the context node, but when we try to access this field from the configuration it is not appearing. Please let us know what I am missing.

    Hi,
    i think you have missed the implementation of the BADI:
    CRM_BADI_RF_Q1O_SEARCH
    you will find it in enhancement spot ES_CRM_RF_Q1O_SEARCH.
    Inside this BADI first call FM CRM_BSP_OIC_1O_SEARCH_FROM_RF.
    This executes the standard search.
    After this function call implement your own coding to filter the results using your attribute.
    Best regards
    Manfred

  • SRM-MDM Dynamic catalog call structure and implicit search criteria

    Hi experts,
    We need to define the catalog call criteria for the SRM-MDM.
    Our client requires content visualitzation restrictions but there is not any logic indentified to determine the records that must be viewed for every user.
    Now, in their Non-SAP catalog, they are using users lists to which they assign the catalog records.
    There are more than 150 users lists and is posible too to assign some catalog records to only 1 or 2 users, by user id.
    We want to reproduce this scenario in SRM-MDM.
    We are analysing two alternatives:
    First alternative: badi BBP_CAT_CALL_ENRICH implementation for mask dynamic determination and custom z.
    We've though in creating one mask for every user list.
    Then, in SRM create a custom table with the userid and the user list id (mask equivalent). A user can belong to more than one user list.
    Finally implement the BBP_CAT_CALL_ENRICH, searching in the z table the users id and obtaining the specific masks for this users and pass these masks as catalog call parameters dynamicly.
    Is posible to use the BBP_CAT_CALL_ENRICH badi to pass dynamic parameters?
    (in this case, maybe we could use a new org.est. attibute to assign user id and mask, instead of the custom table).
    Second aternative: implicit search criteria based on a new org. est. atribute for mask
    Is posible to create new implicit search criteria for org. est. atributes?
    We could assign to every user the masks in the org. est. and then, create a new parameter which could look for the mask value in the org.est.
    Thanks in advance

    Hi Silvia,
    I am not sure of the answer to the second part of the query but as for the usage of the BBP_CAT_CALL_ENRICH catalog in combination with various masks for the users to access catalog subsets, this should work quite well, best to try it out in a DEV environment and see how it goes.
    Regards,
    Jason

  • Enhance Search Criteria in bt111s_oppt

    I need to enhance a search criteria as follows:
    The opportunities in the result list have to be shown only in case the user searching for them is a Sales team member on the opportunity in the result list.
    In case of BP search there is a nice class which can be used for the purpose of enhancing of the search criteria. How about opportunity. IS there a class or a BADI?

    Hi Max,
    Just to add to what Ajay has said, Please try below code:
    DATA: lr_query TYPE REF TO cl_crm_bol_dquery_service.
    lr_query ?= me->typed_context->search->collection_wrapper->get_current( ).
    lr_query->add_selection_param( EXPORTING iv_attr_name = 'SALES_TEAM_MEMBER '
                                                                                    iv_sign = 'I'
                                                                                    iv_option = 'EQ'
                                                                                    iv_low = sy-uname ).
    Regards,
    Bhushan

  • Search criteria is not working in Responsible Group field in sap crm could you please help me this how to achieve.

    search criteria is not working in Responsible Group field in sap crm could you please help me this how to achieve.I have writen code on EH_ONSEARCH .as per below...what changess i need to do..and through partner function and adding the selection params please send the sample .
    code. partner funtction - ZRG DATA :
    DATA : lv_partner_fct type .
    types: begin of ty_resp,
           partner    type but000-partner,
           name_last  type but000-name_last,
           name_first type but000-name_first,
           mc_name1   type but000-mc_name1,
           mc_name2   type but000-mc_name2,
           end of ty_resp.
    DATA: lv_resp_bp type STANDARD TABLE OF ty_resp INITIAL SIZE 0,
           lw_resp_bp type ty_resp.
    IF lv_attr_name = 'Rgroup'.
    lr_entity->get_property_as_value( EXPORTING iv_attr_name = if_crm_srqm_uiu_const=>gc_attr_low
                                       IMPORTING ev_result = lv_low ).
    IF lv_low IS INITIAL.
    SELECT partner
           name_last
           name_first
           mc_name1
          mc_name2
    FROM but000 INTO table lv_resp_bp
    WHERE mc_name2 = lv_low and bu_group = '0010'.
    loop at lv_resp_bp into lw_resp_bp.
        lv_low = lw_resp_bp-mc_name2.
      lr_query_service2->add_selection_param( iv_attr_name = 'Rgroup'
                                                iv_sign = lv_sign
                                                iv_option = lv_option
                                                iv_low = lv_low
                                                iv_high = lv_high ).
      ENDLOOP.
    if lv_partner_fct = 'ZRG'.
      lr_entity = lr_iterator->get_next( ).
    CONTINUE.
    ENDIF.
    lv_attr_name = 'BU_PARTNER'.
    ENDIF.

    <b>You can acheive   this .... first by creating the search help exit    ... by  creating the maintaince  view   then   using it in the   Creation of the search help </b> ...
    see the link for attaching the view   to the serach help .
    <a href="http://">http://www.sapdevelopment.co.uk/dictionary/shelp/shelp_elementary.htm</a>
    reward  points if it is usefull...
    Girish

  • Adding a Field in  search Criteria in Web UI

    Hello All ,
       I am working on SAP CRM 7.0 Webui Marketing module (Business Role : Marketingpro) . Here when I select the "Account&Product" Work Center and go to search Contact . Here we will move to the Search Contact View here we will get a list box where we can select any search criteria to search a Contanct . Here in this  List box in need to add a new Field Called "Archiving Flag" . The component of the Search Contact is :: "BP_CONT_SEARCH" And the View is "BP_CONT_SEARCH/Search " Here in the View Structure Tab under Context->Context Node ->Search i just needd to a new Field called "Archiving Flag" in this context node "Search".  Can any Tell me the procedure to add a field to the lsit box of Search Criteria.
       Thanks in Advace
    Regards,
    Kiran Posanapalli.

    Hi Vinutha,
    U can add fields in the search view using AET in one way.
    The other way is identify the component for that search.Press F2 on the web ui screen of ur account search page and see the component name as well the view name for the search fields.
    Go to that search view in the component identified.
    In case of sales pro role,  account search component is  BP_CONT_SEARCH ,go to the view search and in that if we go to context node search an attribute named 'telephone' is present already.We can add that to visible fields in configuration tab.
    If not found under that context node then right click on context node and create a context node.Before that go to genil_model_browser and observe the relation level in which the field(mobile number) we need to add is present and copy the dependent object name.
    For example for phone number the dependent object is BuilAdressPhone. Now pass this value in create context node. Make the adjustments in configuration tab.
    *Give points if found useful.
    Regards
    HCL SPARKS

Maybe you are looking for

  • Problem with Iphone SMS tone.

    I'm using Iphone 4 white. I have already update the software to IOS5 But i cannot set my own sms tone on iphone. What is the problem? (My Dad is using same model as me but there's no problem, even my aunty using Iphone 3 with update ver of IOS5 is fi

  • IMovie - add arrow to highlight video

    I am trying to add arrows to highlight my daughter in a sports recruiting video. I saw the information on this topic: http://discussions.apple.com/message.jspa?messageID=12391949#12391949\ I was able to add one arrow to my project by following Karste

  • IPlanet as Oracle AS HTTP Listener?

    Hello! One of our customer wants and Oracle Application made with Oracle Application Server, but somehow they only accept iPlanet Web Server on the WWW side or as HTTP listener in Oracle terminology. Could any iPlanet WWW server be used as a HTTP fro

  • Find and Replace issue

    Hello all. I must have clicked something I should not have. In the past I could search for a string ( $username ) and no issues at all...it would find them. Now if I have the dollar sign ( $ ) in the find section it will find nothing.  When there are

  • Anyone got code for a celsius/fahrenheit converter or know why I can get it

    Greetings, I'm looking for a celsius/fahrenheit converter as a applet or application. I know there are billions out there so if someone has or (or feels like building it) I would be very greatful... Thanks