Change default value "Number of Search Results" - Component PPM_DYNSEARCH

Hi Gurus,
I am new to SAP CRM WebUI development and hope you can help me on following problem.
In Pipeline & Performance Management we want to change the default value for the search results from 100 to 1000.
SAP CRM 7.0
Component: PPM_DYNSEARCH
View: PPM_DYNSEARCH/Filter
I have already tried to solve this via following solution:
1) Assign parameter SEARCH_MAX_HITS to a parameter profile in the following IMG and set his value to 1000:
CRM >> UI Framework >> Technical role definition >> Define parameters.
2) Then, assign your parameter profile to your business role:
CRM >> UI Framework >> Business role >> Define business role.
However this works for all initial search screens but not for Pipeline and Performance Management.
Can anyone give me a short hint how I can set the max number of search results from 100 to 1000 in the PPM Screen.
Many Thanks
Michael

Hi Michael,
Seems like this is a normal edit page, not a search page.
Keep a break point at this code in the HTML page.
<thtmlb:inputField id        = "maxHitsInput"
                           width     = "80%"
                           value     = "<%= lv_display_max_hits %>"
                           maxlength = "8"
                           design    = "DEFAULT"
                           type      = "INTEGER" />\
Change lv_display_max_hits in debugging and see if that brings in the value on the UI.
Normally for a search page there will be a THTMLB attribute maxHits where we pass the value. But in your case it is a normal view.
Regards,
Masood Imrani S.

Similar Messages

  • How to limit the number of search results returned by oracle text

    Hello All,
    I am running an oracle text search which returned the following error to my java program.
    ORA-20000: Oracle Text error:
    DRG-51030: wildcard query expansion resulted in too many terms
    #### ORA-29902: Fehler bei der Ausführung von Routine ODCIIndexStart()
    ORA-20000: Oracle Text error:
    DRG-51030: wildcard query expansion resulted in too many terms
    java.sql.SQLException: ORA-29902: Fehler bei der Ausführung von Routine ODCIIndexStart()
    ORA-20000: Oracle Text error:
    DRG-51030: wildcard query expansion resulted in too many terms
    at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:169)
    When i looked up the net, one suggestion that was given is to narrow the wildcard query, which i cannot in my search page. Hence I am left with the only alternative of limiting the number of results returned by oracle text search query.
    Please let me know how to limit the number of search results returned by oracle text so that this error can be avoided.
    Thanks in advance
    krk

    Hi,
    If not set explicitly, the default value for WILDCARD_MAXTERMS is 5000. This is set as a wordlist preference. This means that if your wildcard query matches more than 5000 terms the message is returned. Exceeding that would give the user a lot to sift through.
    My suggestion: trap the error and return a meaningful message to the user indicating that the search needs to be refined. Although it is possible to increase the number of terms before hitting maxterms (increase wildcard_maxterms preference value for your wordlist), 5000 records is generally too much for a user to deal with anyway. The search is not a good one since it is not restricting rows adequately. If it happens frequently, get the query log and see the terms that are being searched that generate this message. It may be necessary to add one or more words to a stoplist if they are too generic.
    Example: The word mortgage might be a great search term for a local business directory. It might be a terrible search term for a national directory of mortgage lenders though (since 99% of them have the term in their name). In the case of the national directory, that term would be a candidate for inclusion in the stoplist.
    Also remember that full terms do not need a wildcard. Search for "car %" is not necessary and will give you the error you mentioned. A search for "car" will yield the results you need even if it is only part of a bigger sentence because everything is based on the token. You may already know all of this, but without an example query I figured I'd mention it to be sure.
    As for limiting the results - the best way to do that is to allow the user to limit the results through their query. This will ensure accurate and more meaningful results for them.
    -Ron

  • How to change the layout set for Search Results

    Hi gurus.
    I’m developing a search component for KM Search iView, and as a requirement the layout must change dynamically to display the search results.  How do I get this to happen?
    public SearchParamsMap getSearchParamsMap() {
         SearchParamsMap m = new SearchParamsMap();
              try {
              IQueryEntryList list =                   this.createQuery();
                   m.put(SearchParamConst.PARAM_SEARCH_QUERY_ENTRIES,                list);
              } catch (WcmException e) {
                   e.printStackTrace();
              m.put(
                   SearchParamConst.PARAM_SEARCH_IN,
                   SearchParamConst.SEARCH_FROM_FOLDER);
              m.put(SearchParamConst.PARAM_SEARCH_FOLDER, path);
              return m;
    private IQueryEntryList createQuery() throws WcmException {
              Hashtable searchParameters = new Hashtable();
              searchParameters.put(
                   SearchParamConst.PARAM_ITEMS_SELECTION,
                   SearchParamConst.ITEM_ONLY_DOCS);
              searchParameters.put(
                   SearchParamConst.RESULT_LAYOUT_SET,
                   "Sed_Comunicados");
              SearchQueryListBuilder sqb =
                   new SearchQueryListBuilder(searchParameters);
              IQueryEntryList qel = sqb.buildSearchQueryList();
              return qel;
    In the createQuery() method, code searchParameters.put(
                   SearchParamConst.RESULT_LAYOUT_SET,
                   "Sed_Comunicados"); is not working.  Also, where do I find the documentation for Class SearchParamConst?

    I have the same question.  Any help will be greatly appreciated.

  • How to change default value in a table using ALTER TABLE

    Hi,
    How to change default value in a table
    I have a table TEST which has 2 fields CODE of Datatype VARCHAR2(10) and Indicator as VARCHAR2(1).
    I want to change the default value using ALTER TABLE TEST of field Indicator to 'I'.
    Any help will be needful for me
    Thanks and Regards

    user598986 wrote:
    Hi,
    How to change default value in a table
    I have a table TEST which has 2 fields CODE of Datatype VARCHAR2(10) and Indicator as VARCHAR2(1).
    I want to change the default value using ALTER TABLE TEST of field Indicator to 'I'.
    ALTER TABLE  test
    MODIFY (indicator DEFAULT 'I'); 
    Incidentally, INDICATOR is a keyword in Oracle, so you may have problems using it as a column name. If so, you'll have to enclose the column name in double-quotes, and be careful to use capital letters inside the quotes.
    Edited by: Frank Kulash on Aug 26, 2009 11:42 AM

  • Changing default value DropDownbyindex in wdinit in view

    Hi everyone, I'm using drop down by index in a view. It has many values but I want to change default value.
    I think that I have to simulate an action on dropdownbykey like select a value.
    Can i retrieve the index of an element of nod passing his value?
    Thanks a lot.

    hi ,
    u can try looping into the internal table .
    u must  be having that dynamic value ,suppose lv_sysid, based on which u want to set the index
    thn u can proceed like this :
      DATA : itab_sys     TYPE STANDARD TABLE OF z2ts_systems .
    *   populating internal table
        SELECT *
         FROM z2ts_systems
          APPENDING TABLE itab_sys.
    DATA : lv_index type i .
        clear  wa_sys.
      LOOP AT itab_sys INTO wa_sys.
        IF wa_sys-SYS_ID =  lv_sysid.
          lv_index = sy-tabix.
        ENDIF.
    here I have compared the work area value to lv_sysid
    lv_sysid is the value based on which u want to set ur index
    thn u can proceed to set the lead selection to lv_index.
    rgds,
    amit

  • [svn:fx-3.x] 10868: change default value of selectable in ASDoc comment to true

    Revision: 10868
    Author:   [email protected]
    Date:     2009-10-05 11:05:50 -0700 (Mon, 05 Oct 2009)
    Log Message:
    change default value of selectable in ASDoc comment to true
    QE notes: -
    Doc notes: -
    Bugs: -
    Reviewer: -
    Tests run: - checkintests
    Is noteworthy for integration: No
    Modified Paths:
        flex/sdk/branches/3.x/frameworks/projects/framework/src/mx/controls/TextArea.as

    Thank you much for your response.
    I tried that and it did work. But my requirement is to have a user input the date. The basic idea is if the user decides on a predefined time range like Day Shift Today or Yesterday and so on... then the report would automatically calculate the values based on predefined date time values. On the other hand, if the intent is to run the report for an arbitrary period then the user supplies the date and time limits.
    What I am trying to achieve is have the same parameter available for user input , but when the User decides he wants Predefined then the "textbox" populates with date and time as per his choice of predefind range.
    I understand that by this the user can still overwrite the date and time on the text box, but the report will run the predefined values as long as he has the @PredefinedDateSelection Set to true.
    Is there a way I can impement this?
    Once again I thank you and appreciate  your input.

  • Change default port number for web logic!

    Hi folks,
    In my scenario, i already installed obiee 11g with simple install along with web logic on windows xp machine.where this will creates default port number for all services. now i want to change default port number of web logic that is 7001 to some to other port number. how to change this ??.plss help me asap.
    regards,
    mahesh

    Refer tohttp://www.oracle.com/technology/documentation/1012_solaris/install.1012/install/ports.htm

  • [Forum FAQ] How do I change default values shown in Report Delivery Options?

    Introduction
    Some users want to change default values shown in Report Delivery Options when creating standard subscriptions. Someone might want to always Cc the report to a specified user without sending the report URL. So they want to display those default values display
    automatically when creating standard subscriptions like below.
    Solution
    To achieve this goal, please embed JavaScript code into the SubscriptionProperties.aspx file to change those default values (By default, the file’s location is: <Installation directory>\Reporting Services\ReportManager\Pages\SubcriptionProperties.aspx).
    The example below will show how to set default values for “Cc” field and “Include Link” field.
    Before coding, pleas find out the corresponding HTML tags of the two fields in the browser using IE Developer Tools.
    Get “Cc” field with its corresponding HTML tag
    Get “Include Link” field with its corresponding HTML tag
    Embed such a code snippet at the end of the existing code within the SubcriptionProperties.aspx file
    <script runat="server">   
    protected void Page_Load(object sender, EventArgs e)
        Page.ClientScript.RegisterStartupScript(typeof(Page),"MyScript", "var cc = document.getElementById('CcEmailAddressesID');cc.value = '[email protected]';var IncludeLink = document.getElementById('ui_cbIncludeLink');IncludeLink.checked
    = false;",true);}
    </script>
    Create a new subscription to check the default values shown in Report Delivery Options 
    Applies to
    Reporting Services 2005
    Reporting Services 2008
    Reporting Services 2008 R2
    Reporting Services 2012
    Reporting Services 2014
    Please click to vote if the post helps you. This can be beneficial to other community members reading the thread.

    Thanks,
    Is this a supported scenario, or does it use unsupported features?
    For example, can we call exec [ReportServer].dbo.AddEvent @EventType='TimedSubscription', @EventData='b64ce7ec-d598-45cd-bbc2-ea202e0c129d'
    in a supported way?
    Thanks! Josh

  • USOBT_C almost empty after changing default values with SU24

    After the implementation of OSS Notes 0001378328, 0001382895 and 0001404093 I performed a change in SU24 on the default values of authorization object (2nd tab) S_ALV_LAYO for all transactions involved.
    I filtered all transactions with default value u2018Yesu2019 for this object and selected all these entries and changed them to u2018Nou2019.
    When creating new roles afterwards I noticed that no objects were pulled in in PFCG and when checking table USOBT_C I noticed that, apart from the 328 records I changed to No for S_ALV_LAYO the whole table was empty! In the development client  there are now just 328 records in this table whereas in de acceptance client there are 233,124 entries!
    Could you please find out the following:
    -          How could this happen?
    -          What can I do to restore table USOBT_C?
    I reported this bug also on OSS but maybe someone of you has had the same experience and can share the causes and solutions.
    Thank you!
    Lodewijk Borsboom

    > > To read such a huge text in the above suggested notes may become tiresome of not ofcourse worthless.
    > What is the use of posting a list of links or randon OSS note hits, when you are not sure whether they are usefull or not?
    >
    hmm.... though I am not sure and agree with the raise of OSS message for this issue, but when I read these notes after reading the query I found them to be notified to op.
    > Lodewijk can do that simple search himself. I always assume that the person asking a question has done a search before hand...
    >
    Agreed again. But not sure of his search result. May be his string missed some of these notes and can help him to check the program errors rectified in couple of Notes in 2009. But of course I confess about the uncertainty of the exact solution from my side.
    > If it is a basic requestion and easy answer with a link, then I delete it. It has no value to SDN. You are just attempting to do someone else's work for them, and that it not the case here.
    >
    > Please read the question carefully and answer specifically.
    >
    read and then posted the message. Also as I was not sure of solution to this particular error I surrendered in advance [mainly for you ]. Still I would like op to view the following notes on SAP Default value maintenance and if he has already done then that is great and I am just not helping with proper suggestion.
    [Note 1287998 - Problems when you maintain default authorization values|https://websmp230.sap-ag.de/sap%28bD1lbiZjPTAwMQ==%29/bc/bsp/spn/sapnotes/index2.htm?numm=1287998]
    [Note 1378328 - SU24: Error after deleting authorization default values|https://websmp230.sap-ag.de/sap%28bD1lbiZjPTAwMQ==%29/bc/bsp/spn/sapnotes/index2.htm?numm=1378328]
    Note 1382895 - SU24|Default value maintenance for authorization objects
    Note 1235912 - SU24|Display and maintenance of authorization default values|
    Hi Lodewijk,
    Did you check the change header for USOBT_C in CDHDR and CDPOS? Also let us updated with the reply from OSS please.
    regards,
    Dipanjan

  • Bypassing function argument without changing default value

    Hi there
    I’m having some problems understanding how I can bypass function arguments without changing its default value. Here are some examples:
     function myFunction ( arg1:Boolean, arg2:String="default string", arg3:Number=3 ):Array
        return new Array (arg1, arg2, arg3);
    trace(myFunction(true, "new string", 5));
    // true,new string,5
    trace(myFunction(true, undefined, 5));
    // true,,5
    trace(myFunction(true, null, 5));
    // true,,5
    trace(myFunction(true));
    // true,default string,3
    trace(myFunction(true, null));
    // true,,3
    My question is: Shouldn't I be able to call a function bypass the second argument (that has a default value), change third argument and on result second argument maintains its default value?
    Example:
    trace(myFunction(true, null, 5));
    // not desired: true,,5
    // desired: true,default string,5
    I know that applying a defult value to the argument allows one to bypass it. But it will always be redefined or to null or to undefined. At the moment I only see one solution.
    function myFunction ( arg1:Boolean, arg2:String="default string", arg3:Number=3 ):Array
         if (!arg2)arg2 = "deafult string";
         return new Array (arg1, arg2, arg3);
    It just seems like too much code repeated
    Regards

    Hi dmennenoh,
    Yup, this was just an example to show that the use of a default value only helps you to bypass the need to simulate a MouseEvent Object for an onRollOver MouseEvent argument. Other than that you can never bypass it without changing its value. You must always apply a null or undefined value and work with that.
    Thanks anyway

  • How to change default value of a parameter and LOV attached to a parameter

    Hi All
    I am new to discoverer reports and I need to accomplish the following tasks:
    1. Need to change the SQL query of a discoverer report
    2. Need to change the default value of parameter ( from constant to current month). In the discoverer plus responsibility when I open the report and go to tools>>parameter>>edit
    I can see the constant default value given there. On the right hand side there is a drop down which says 'Value'. I guess if i need to put a SQL as defaul value I need to change the drop down to sql or something and then put the SQL. Problem is the drop down is froezen and I cannot change it.
    Even if I try to create a new parameter/report.
    3. Need to change the LOV associated to the item on which the parameter is based.
    I have the discoverer plus responsibility attached to myself and do not have the discoverer administrator tool (desktop developer tool like forms 6i). My questions are:
    1. Can I change the SQL query by using discoverer plus responsibility or do I need discoverer administrator tool?
    2. Any help on how to get the default value from an SQL query? currently it is a constant value.
    3. Is there any way to figure out is the LOV is madeup of fixed constant values (like independednt value set) or they are fetched from some sql query(table validated value sets)?
    Any pointers/solutions will be highly appriciated!!!
    Thanks in advance.
    Thanks and Regards,
    Shashank

    HI,
    Need to change the SQL query of a discoverer reportThe discoverer generate the SQL according to the item, calculation and conditions designed in the worksheet.
    You cannot edit a specific worksheet SQL.
    In order to change the SQL you need to change the worksheet using the "Edit-> worksheet" from the menu.
    To change the SQL generated inside the folders you need to do that using the administrator.
    Need to change the default value of parameterYou cannot use SQL statements for the parameter default value. it is not supported. if you need default you can use only constant (as it was). otherwise you can set the parameter to be optional and then add to this condition an OR saying that <item>= NVL(:Parameter,<your default>)
    as <your default> you can use calculations so that if for example you want the current date you will create a calculation containing: SYSDATE.
    Is there any way to figure out is the LOV is madeup of fixed constant values (like independednt value set) or they are fetched from some sql query(table validated value sets)?They are based on SQL, even they are const then you will see it as
    select 'a','b'... from dual
    you can find the LOV (called item classes) in the administrator.
    Go to the item your condition is based on and see its properties.
    In the properties you should see the item class it uses.
    Close the properties and go to the item classes tab, search for this item class and figure the folder it came from.
    This is the folder you need to change in order to change the LOV.
    Hope it helped a bit, you sure asked several big questions...
    Tamir

  • Change default value (200) of Max No of Hits for selection screen in WAD

    How do i change the default value of Maximum Number of Hits from 200 to 1000 for selection screen's find box in Web Application Designer .
    Thanks in Advance
    Points will be surely Rewarded

    Dear Hammad,
    Please refer to the wiki created by me,
    http://wiki.sdn.sap.com/wiki/display/BI/Information+on+the+user+setting+for+the+selector+dialog
    Regards,
    Arvind

  • How to change default value in contract by T-code ME32K?

    Dear my freinds,
    If you have one exist contract and then you use ME32K to change it, you will get default value for material group, plant and storage location in contract.
    If you have one materail 1002 at plant AUXX and storage location 0001 in contract already, then you can see these value will be in contract below:
    10     M     1     EA     0.00     1     EA     2B0880700     AUXX     0001                                       
    20     M                                                                                  2B0880700     AUXX     0001                                       
    30     M                                                                                  2B0880700     AUXX     0001                                       
    Our user does not want to display default value for filed material group, plant and storage location in contract by T-code ME32K.
    Could you give me kind idea how to avoid it? which is really appreciated!
    Thanks in advance!

    Hi Nick,
    Thanks for your idea, I agree with you that it may be fixed by user exit and is not worth to do it, but i only want to know how to do it easily, hopefully I can get answer from you...
    Thanks!

  • How to change default value in "Project file" dialog

    I'm new to Labview, and I've encountered an example with a dialog that allows to define a path to a file.  If I open the properties on the block diagram of this block the name of the block appears to be "Path Properties: Project file:"   The default value points to a different place than where the file installed and the VI won't run untiI I change the path.  If I save and open the file, it doesn't remember the change.  When the vi is running I can right click the text and there is an option to reinitialize to default.  I've rooted around all over the place and can't find where this can be set or changed.  How do I change this? 

    On the front panel, change the control to the desired value.
    Now, right click on the control, select Data Operations and Make Current Value Default.
    -Matt Bradley
    ************ kudos always appreciated, but only when deserved **************************

  • How to change default value in form

    Hi,
    I want to change the default value in form..how can i do this?
    Fo exa...in purchasing when we go to auto create..in action tab we see create been defaulted whenever we open the form and also there is one more option called add to...so whenever i open this form..i want to see add to there..
    How can we get this?please advise?
    Thanks
    Mahendra

    You can do it using forms personalization.

Maybe you are looking for

  • How to populate a textfield based on a dropdown list and a checkbox

    Hi Guys, I need help. first step: I have a dropdown list if i click in dropdownlist "a" and put in numeric field a number bigger than 99 the, checkbox should be marked and  second step: a textfield1 should be visible. the first step works perfectly b

  • NTLM and ADFS claim treated as different user

    Dear All: Currently our SharePoint is using mix authentication mode (claim mode with two authentcation providers): Windows-NTLM & ADFS2.0 The ADFS'a identity store is same as SharePoint's domain, it means we have only a single AD, NTLM authentication

  • Default text for html:textarea..

    Hi All. How to populate a textarea in struts(<html:textarea>) with some default text. Waiting for your suggestion in this regard.

  • Critical error found while installing Dreamweaver CS4

    Hi guys! Please help me. I can't install my dreamweaver CS4 and I got this error message "Critical errors were found in setup for Adobe Dreamweaver CS4 Session has dependencies than cannot be satisfied. The installer database is invalid: please re-in

  • Screen jumps when touched

    sometimes when using the iphone 5, when touching the screen in face book for example, the screen jumps up/down fast.