Search help: default value for 'Maximum no of hits'

Hello,
I have a request from a user to change the default value for maximum number of hits in the search help.
Any quick hint?
Regards,
Michal

Not sure if this is possible and don't have a SAP system available at the moment ...
But check this out...
Is there anything in user profile ..
or check if the number of hits field has a PARAMETER ID associated with it...
Then in that case you might default a value other than 500 in your user profile.
Cheers,
Ram

Similar Messages

  • SAP CRM Search Help - defaulting values in search help screen

    Hi All,
    I am working on search help object in service order(Amount allocation )  BTAMNTALL component view name vIEW:BTAMNTALL/HdrBillplanDet and field name STRUCT.AC_ASSIGNMENT. in that block if we select account assignment type as ERP cost center it will give standard search help in Select account assignment field.
    Its basically calling the standard search help CRMT_AC_ASSIGN_KOSTL_E. After pressing F4 it will display the popup Controlling area cost center and description. Basically I need to default the Controlling area in F4 help based on some logic.I am not sure where to write code for this one.
    Please find the attachment where I need to default the value. any help is appreciated.
    Thanks,
    Sapsar.

    At least can you read the document I provided carefully? the point 2.3.1.2 give you the answer.
    Anyway if the document doesn't specify "defining a default value" but give you some ideas/hints, you only need to use a little your imagination. Like:
    1- Use a custom search help with a constant (static)
    2- Use a custom search help with a search exit to determine the data that you need from the sales org of course you need to add the orgunit as an input parameter for the search help and supress the input parameter which will be determined in the search help exit (dynamic)
    3- Create a value node for the context (hidden) and put the info you need once you select the sales org in the hidden attribute/s, this hidden attributes should be mapped in the get_v method (dynamic, not sure if this will work, I never tried, but will be nice if you try and give us some feedback)

  • Search help default value in SE11

    Hello!
    I would like to set a default value to a self-made search help.
    I referred the following link in this theme:
    http://help.sap.com/saphelp_erp2005vp/helpdata/en/73/5414f0adbd11d194f200a0c929b3c3/frameset.htm
    This docu tells me, how can I enter default value to a field. But life is not so easy, because I have to EXCLUDE a constant.
    I mean default value can be a constant like this: 'A'.
    But I would like to set one like this: <>'C' to exclude all documents with the status C.
    If I test the help search in runtime it is accepting values to exclude but I would like to pre-set the value.
    Thank you for any answers
    Tamá

    Hi,
    There is no simple solution for this. If you have a view in your selection method instead of the table then you can define your requirement in the selection TAB to restrict based on your conditions.
    Without using a view the other option is to use a search help exit.
    Think view is a better and safe bet.
    Cheers
    VJ

  • Search Help default value

    Hi experts,
    I want to create a search help for the Material. In the search help I should set some default value like the language and the company. I know how can I set the default language, but how can I say that the default language could not be 'EN'.
    I need to set this one: SPRAS NE 'EN', but I don't know how.

    Hi,
    Create a help view first and include the tables ,in the selection conditions tab page restrict the data entry by adding all the condition such as EQ,NE.GT,LT AND ,OR operator as per your requirement.
    Then add this help view to the selection method in the search help created.
    eg:SPRAS NE 'EN'
    Hope this will help you!!!
    Try this It works!!
    Regards,
    Nishi.M

  • Stanard search help -default values change

    I have assigned a search help to sales order like this
    SELECT-OPTIONS   :s_vbeln     FOR  gv_vbeln MATCHCODE OBJECT  VMVA.
    When i press F4 i get select options correctly.But in select options there is a field Called Transaction group which will be defaulted to '0' i.e Sales Order.
    I wanna change this default valur to '4'(Contract). Any Techniques.

    i think u can set value to the params VTV t0 '4' .
    select-options : trvog for vbak-trvog memory id vtv default '4' no-display,
                     vbeln for vbak-vbeln matchcode object vmva.
    regards
    Prabhu
    Edited by: Prabhu Peram on May 21, 2010 3:42 PM

  • Generic problem for search help without values

    Hi,
    Always I open a search help without values I get the warning popup "No values found" but after this no link let me come back to the previous screen.
    Does anybody know how I can solve this (in a standard way)
    thanks
    regards

    Hi
    It seems to be a bug in the system.
    <b>Please have a look at the following SAP OSS Notes -></b>
    <u>Note 574604 - Various correction reports for EBP business partner
    Note 1028643 - Input help for contact persons in purchase order
    Note 843008 - EBP4.0 and higher: Terms of Payment, Texts and codes
    526416 Structural enhancements LFA1
    698246 EBP 4.0 address maintenance: Default address for address use
    701321 EBP 3.5 address maintenance: Default address for address use
    701323 EBP 3.0 address maintenance: Default address for address use
    701384 BBP 2.0C address maintenance:Default address for address use
    690619 Plants are not transferred during location replication
    641960 New processing of terms of payment in EBP 3.5
    628386 Incorrect link for EBP for 'External business partners'
    Note 544392 Error in search helps EBP 2.0
    Note 544816 Error in search helps EBP 3.5
    Note 544713 Error in search helps EBP 3.0</u>
    Please raise a customer OSS message with SAP as well.
    Regards
    - Atul

  • ADF 11g - Query Component - How to set default values for search criteria

    I have defined a VO with named query (with 2 search criteria). I created a page and drop a query with table. It works just fine until this point. My requirement is to set a default values for the two search criteria. For example, I have release and category criteria where they are set to use a drop down. I would like to default the values for the drop down when the page is shown up the first time and query the result right away. Is there a way declaratively or I have to create a custom query?
    Thanks.

    I figured this out. Thanks.

  • SRM 4.0- How to set the default values for product type (01) only for SC

    The radio button “Service” should not be visible.
    Also for search help (e.g. search for internal products) where a search should only be possible for product type 01 (goods). The system should not display the product type and internally always search for goods only.
    How to set the default values for product type (01) only for SC
    We needs to use Search help BBPH_PRODUCT which having parameter PRODUCT_TYPE
    Here we can set defalut value 01 but it is not correct one since same search help is using several places.
    We need to limit the search help results only for SC.
    Kindly help out me ASAP.

    The easiest way to set defautl values is to edit the batch class.
    Goto the characteiristic and go to update values.
    In here you probably have something like 0 - 100 as a spec range.
    On the next line enter the default value within this range.  At the end of the line, click in the box in the column labelled "D".  This indicates the defautl value for the characteristic.
    If you need to you can do this in the material classification view as well.
    Just to be clear, these values will only show up in the batch record.  You can not have defautl values in resutls recording screens.
    FF

  • How to set a default value for particular field in SRM PO Portal

    Dear Gurus,
    Im desparetly need a help in web dynpro on how to set a default value for a field(flag) in PO header tab in portal.
    My requirement is whenever the user press the edit button in PO screen,automatically a flag field should be set as abap_false.
    I dont think this will handle in check badi or change badi. i tried this part in onbuttonpressed overwriteexit in CNR_VIEW views,i can get the function EDIT in debugging mode,but dont know how to proceed further.....
    Many of them suggested to go with get attribute and set attribute for changing any particular field in web dynpro,but im not very familiar in using those get and set attributes.I request you people can give me sample code on how to identify my target field in the node and set the values while pressing EDIT Button.
    Thanks in advance...
    Regards,
    Sathish

    Dear Laurent,
    Thanks for your response,
    But i searched in enhancement spot of WD_BADI, but couldnt get the exact way to change the coding,
    My real requirement is, that particular flag should be enable and disable dynamically by checking a condition in my header values.So in that case i dont know how to proceed further to handle in the PO screen.
    Kinly guide me how to get the particular node of field in the Purchase order screen.
    Thanks you in advance,
    Sorry for the inconvenience if any
    Regards,
    sathish

  • Default value for attribute "COUNTRY" in BP_HEAD_SEARCH/MainSearch

    Hi Gurus,
    Requirement is to set default value for attribute "COUNTRY" in BP_HEAD_SEARCH/MainSearch when user clicks on Corporate Account.
    Below is code that i have written in DO_PREPARE_OUTPUT.
    Code is working fine and in the debug also i can see the value of COUNTRY is set to DE, but it is not showing on the screen for first time but when i load component second time(Refresh the screen), it shows me value.
    Any help would be appreciated. If somebody has otheralternative kindly share.
      CALL METHOD super->do_prepare_output( iv_first_time = iv_first_time ).
    Calling Super Method
    CALL METHOD super->do_prepare_output
       EXPORTING
         iv_first_time = abap_true.
    Data Declatation
      DATA :lr_col            TYPE REF TO if_bol_bo_col,
            lr_current        TYPE REF TO if_bol_bo_property_access,
            lr_param          TYPE REF TO if_bol_bo_property_access,
            lr_qs             TYPE REF TO cl_crm_bol_dquery_service,
            lv_attr_name      TYPE name_komp,
            lv_sign           TYPE bapisign,
            lv_option         TYPE bapioption,
            w_country_exist   TYPE c,
            w_param           TYPE string,
            w_value           TYPE string,
            w_flag            TYPE c.
    Getting SEARCH Context Node
      lr_qs ?= me->typed_context->search->collection_wrapper->get_current( ).
    Get Selection Parameters
      lr_col ?= lr_qs->get_selection_params( ).
    Start from first parmaters
      lr_current = lr_col->get_first( ).
    Clearing Variables
      CLEAR : w_country_exist, w_flag, w_param, w_value.
    Loop till we have selection paramters
      WHILE lr_current IS BOUND.         " While loop 1
    checking attribute name is COUNTRY then setting some variable
        w_param = lr_current->get_property_as_string( 'ATTR_NAME' ).
        CASE w_param.
          WHEN 'COUNTRY'.
    If country is filled then setting variable
            w_value = lr_current->get_property_as_string( 'LOW' ).
            IF w_value IS NOT INITIAL.
              w_country_exist = abap_true.
            ENDIF.
    When we got COUNTRY attribute then setting flag
            w_flag = abap_true.
        ENDCASE.
    Calling next parameter
        lr_current = lr_col->get_next( ).
      ENDWHILE.                          " While loop 1
    In below block we are checking is COUNTRY attribute is blank and
    we have found COUNTRY attribute in current selection paramters
      IF lr_qs IS BOUND.                 " SEACRCH CONTEXT BOUND
    If vairable is blank means DE or any other value is not filled in COUNTRY Attribute
        IF w_country_exist IS INITIAL.   " w_contry_exist
    We have to add selection attribute if we come accross COUNTRY attribute during our search
          IF w_flag EQ abap_true.        " w_flag
    Adding COUNTRY attribute with default value 'DE'
            lr_qs->add_selection_param( EXPORTING iv_attr_name = 'COUNTRY'
                                                  iv_sign      = 'I'
                                                  iv_option    = 'EQ'
                                                  iv_low       = 'DE' ).
          ENDIF.                         " w_flag
        ENDIF.                           " w_contry_exist
      ENDIF.                             " SEACRCH CONTEXT BOUND
    In below block we will remove COUNTRY attribute when it has blank value
      IF lr_qs IS BOUND AND w_country_exist IS INITIAL.
        lr_current = lr_col->get_first( ).
        WHILE lr_current IS BOUND.
          w_param = lr_current->get_property_as_string( 'ATTR_NAME' ).
          CASE w_param.
            WHEN 'COUNTRY'.
              w_value = lr_current->get_property_as_string( 'LOW' ).
              IF w_value IS INITIAL.
                lr_col->remove( iv_bo = lr_current ).
              ENDIF.
          ENDCASE.
          lr_current = lr_col->get_next( ).
        ENDWHILE.
      ENDIF.
    Edited by: Harsharandeep Singh on Apr 28, 2011 3:44 PM

    Hi,
    Try it like this:
      DATA:
        lr_bo        TYPE REF TO if_bol_bo_property_access ,
        lv_attr_name TYPE name_komp.
      FIELD-SYMBOLS:
        <ls_param>   TYPE crms_thtmlb_search_criterion.
      READ TABLE parameters
           ASSIGNING <ls_param>
           WITH KEY field = 'COUNTRY'.
      IF ( sy-subrc = 0 ).
        <ls_param>-value1 = ip_pfct.
      ENDIF.
      CHECK ( me->parameter_collection IS NOT INITIAL ).
      lr_bo = me->parameter_collection->get_first( ).
      WHILE lr_bo IS BOUND.
        CALL METHOD lr_bo->get_property_as_value
          EXPORTING
            iv_attr_name = 'ATTR_NAME'
          IMPORTING
            ev_result    = lv_attr_name.
        IF lv_attr_name EQ 'COUNTRY' .
          CALL METHOD lr_bo->set_property
            EXPORTING
              iv_attr_name = 'LOW'
              iv_value     = 'DE'.
          EXIT.
        ELSE.
          lr_bo = me->parameter_collection->get_next( ) .
        ENDIF.
      ENDWHILE .
    Kind regards,
    Micha

  • Restrict dictionnary Search help displayed values.

    Hi,
    my problem is that I have to display a search help. The search help already exists in the dictionnary and is defined using a Dictionnary Table.
    I need to display the same serach help but I have to filter the results using a range of values for one of the fields and I would like to know how to proceed.
    I know that user-exit exists in some search help, it's not the case here.
    The kind of solutions I'm looking for is :
    -  directly restrict the existing search hellp values
    -  found a way to display a search help from abap using an internal table ( cause it's easy in this case to do fill a internal table doing the sql request myself)
    - if the solutions above can't apply, doing my own search help in the dictionnary but in this case, I don't know to make this search help for values restriction.
    I specify that the screen use the screen painter, it may be important ?
    Thanks for your help
    best Regards,
    Morgan

    Hi,
    Search Hels exits is only for exceptions, so in our case, we won't use the search help exits, it is better create/change the Custome one and attach the same to the fiels, there you can give the Default value for the fileds, so there you can restrict the values
    or else, we have an option like, APPEND SEARCH HELPS, so by using this, we can restrict some field values, this Append Search helps, can be append to Standard Search helps also, so do Append the Standard Search help and add your field and give the Default values to restrict the user
    hope you get the answer
    Regards
    Sudheer

  • I need to pass null as a default value for a parameter in Before Trigger

    Hi All,
    I am using Before trigger function in calculation tab which has some set of parameters.So, I accept some parameters which are passed to this Before Trigger function and need these parameters default value as null.
    To be clear I want to set the Default value for a parameter in workbook to be NULL and pass the same to the calling Function.
    please help me.
    Thanks in advance

    Hi All,
    I am using Before trigger function in calculation tab which has some set of parameters.So, I accept some parameters which are passed to this Before Trigger function and need these parameters default value as null.
    To be clear I want to set the Default value for a parameter in workbook to be NULL and pass the same to the calling Function.
    please help me.
    Thanks in advance

  • How to Set default value for taxonomywebtagging control with terms and nested terms

    Hi,
    I have created taxonomy control in custom aspx page and I am able to select terms but I am trying to setup default value to that control.
    Can anybody let me know how to set the default value for TaxonomyWebTagging control in custom.aspx page with nested terms?
    Any help would be greatly apprecited.
    Control code in aspx page:
    <td>
    <asp:Label runat="server" ID="lblLanguages">Field A: </asp:Label><asp:Label runat="server" ID="rfvlblLanguages" CssClass="errorMsg" ForeColor="Red">*</asp:Label>
    </td>
    <td>
    <Taxonomy:TaxonomyWebTaggingControl ID="term" Width="385px" runat="server" /></td>Mapping metedata code:TaxonomySession session = new TaxonomySession(SPContext.Current.Site);
    //Set the Business Unit Field
    SPSite site = SPContext.Current.Web.Site;
    TermStore termStore = session.TermStores["Managed Metadata Service"];
    Group group = termStore.Groups["GROUPName"];
    TermSet termSet = group.TermSets["TERMSETNAME"];
    Term term = termSet.Terms["TermA"];
    Guid termGuid = term.Id;
    term.SspId.Add(termStore.Id);
    term.TermSetId.Add(termSet.Id);
    term.AllowFillIn = true;
    term.AnchorId = countryGuid;
    term.IsMulti = true;
    Thank you.
    AA.

    Hi,
    According to your description, you want to set default value for TaxonomyWebTaggingControl.
    I have a test in my environment. It could be achieved by setting the Text Property of TaxonomyWebTaggingControl.
    Here is the code snippet:
    TaxonomySession session = new TaxonomySession(SPContext.Current.Site);
    SPSite site = SPContext.Current.Web.Site;
    TermStore termStore = session.TermStores["Managed Metadata Service"];
    Group group = termStore.Groups["GroupA"];
    TermSet termSet = group.TermSets["A"];
    Term term = termSet.Terms["A1"];
    TaxonomyWebTaggingControl1.SspId.Add(termStore.Id);
    TaxonomyWebTaggingControl1.SSPList = termStore.Id.ToString();
    TaxonomyWebTaggingControl1.TermSetId.Add(termSet.Id);
    TaxonomyWebTaggingControl1.TermSetList = termSet.Id.ToString();
    TaxonomyWebTaggingControl1.AllowFillIn = true;
    TaxonomyWebTaggingControl1.IsAddTerms = true;
    TaxonomyWebTaggingControl1.IsMulti = false;
    TaxonomyWebTaggingControl1.Text = string.Format("{0}|{1}", term.Name, term.Id.ToString());
    Here is a detailed article for your reference:
    http://blog.bugrapostaci.com/2010/09/23/taxonomywebtaggingcontrol-sharepoint/
    Feel free to Reply the test result.
    Thanks
    Patrick Liang
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Patrick Liang
    TechNet Community Support

  • How can I get the default value of a particular preference programatically. I know I can see the default value for some of the preferences in about:config but, I need a programatic way to get the default value.

    <blockquote>Locked by Moderator as a duplicate/re-post.
    Please continue the discussion in this thread: [tiki-view_forum_thread.php?comments_parentId=702631&forumId=1]
    Thanks - c</blockquote>
    == Issue
    ==
    I have a problem with my bookmarks, cookies, history or settings
    == Description
    ==
    How can I get the default value of a particular preference in FireFox?.
    I know I can see the default value for some of the preferences in about:config but, I need a programatic way to get the default value.
    I see some that there are values for preferences in firefox.cs but I am not certain that these are being used as the default values for preferences. prefs.js in user's profile only has the updated values and not the default values.
    Any help towards acheiving this programtically is greatly appreciated.
    If the default values are stored in a file, kindly let me know the format in which it is stored for me to parse it programatically.
    == User Agent
    ==
    Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Win64; x64; Trident/4.0; .NET CLR 2.0.50727; SLCC2; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0)

    Dear Friend,
    Here when you have the callableSattement as ?=proc(?), the first ? is an output parameter. So you should register it as out parameter using registeroutparameter.
    Then you can get the value from the outparameter using callablestatement.getXXX().
    Try that way.
    For free tral versions of JDBC Drivers go to www.Atinav.com

  • Setting default values for field on screen.

    Hello,
    I am trying to set default value for one of the fields I have on screen when I execute the custom transaction.
    I am doing that in PBO as follows. But the default value is not set for Date field.
    PROCESS BEFORE OUTPUT.
    MODULE PBO_OUT.
    MODULE STATUS_5000.
    *&      Module  STATUS_5000  OUTPUT
          text
    MODULE STATUS_5000 OUTPUT.
      SET PF-STATUS 'NON_SAP_DOCUMENT'.
      SET TITLEBAR '001'.
    ENDMODULE.                 " STATUS_5000  OUTPUT
    *&      Module  PBO_OUT  OUTPUT
          text
    MODULE PBO_OUT OUTPUT.
      ERDAT = SY-DATUM.
    ENDMODULE.                 " PBO_OUT  OUTPUT
    Please help.
    Thanks.
    Regards,
    Rajesh.

    Works Now...

Maybe you are looking for

  • Windows partition will not open using Boot Camp on iMac 10.9.5

    OS:  27" desktop iMac, Maverick 10.9.5, 8 GB RAM HD Partions:  iMac OS X, Windows 7,  Boot Camp For some unknown reason I am having problems getting Windows 7 to open after starting up in Boot Camp, and it's getting progressively worse. After startin

  • Resetting original Mac Mini Owner Information

    HI Gents; Bought a slightly used (2 Month Old ) Mini and so far love it. Question... is there a way to re enter "new owner" info.. and elminate the original owners names and entries.? Owner was not sure. Front row comes up wsith "Joe blows Mini" etc.

  • Document viewer common region

    Hello everyone, I am new to OAF development, i was requested to develop a new custom payslip report similar to the default coming with APPS R12 self service, The idea is that it should be an embedded PDF viewer inside an OAF page, After many trials a

  • Solved: Windows 7 Would not Enable AE3000 (n900) Adaptor - Zone Alarm was the culprit

    I'm putting this out so others might not find the solution quicker than I did. I purchased a new AE3000 to use on a Windows 7 desktop that had been direct-connected to the router.  Had issues with the installation. At first setup could not even find

  • My CS5 Dreamweaver has a blank Browserlab panel, are there settings to correct this?

    I recently had to upgrade my operating system from 32-bit Windows 7 to 64-bit Windows 7 to get Flash Catalyst to work. After re-installing the CS5 Creative Master Suite, I cannot get to the Browserlab. The Browserlab panel is completely blank in Drea