Max, count of hits in search help

Hi all,
per default the maximum count of hits in a search help is 500. I know one can change that directly in the WD4A application, on the search help popup at settings. But is it possible to set this count to another value directly in SAP, system wide, for every user?
Kind regards, Matthias

You are correct that it appears that you can't change all of the system-wide defaults.  You can change the  Maximum Width and the Display type but not the max. number of hits to be displayed. 
I did some digging and this value appears to be controlled by a constant c_maxrecords in the class CL_F4CUSTOM.  I tried changing this value after it is set in the CLASS_CONSTRUCTOR using the debugger.  It actually is possible, but only up to a value of 999.  If you go larger, you get a field overflow on the screen display field - so I assume the designer of this functionality never really intended for customers to change the value of this constant.

Similar Messages

  • Change Max no. of hits in search help

    Dear all,
    I want to change the max no hits to more then 1000 .
    please help to resolve this problem.
    Regards,
    Chintan

    Hi Chintan,
    Please refer the below threads,
    Search help: default value for 'Maximum no of hits'
    /message/3786486#3786486 [original link is broken]
    Best Regards.

  • Types of search help

    types of search help

    Hi,
    Elementary Search Help
    An elementary search help defines the standard flow of an input help. You can define the following components of this flow in the search help:
      where does the data displayed in the hit list come from (selection method)
      what information should be displayed in the dialog box for value selection and in the hit list (search help parameters)
      what field contents can be taken into account for hit list selections and which values in the hit list can be returned to the screen fields (search help parameters)
      what dialog steps should be executed in the input help (dialog behavior)
    Collective Search Help
    A collective search help combines several elementary search helps. The user can thus choose one of several alternative search paths with a collective search help.
    When you define a collective search help, you only have to specify the search helps that are to be combined in the collective search help. In the input help, the values are transported between the elementary search help selected by the user and the input template using the collective search help. This is why a collective search help also has an interface for transporting the values.
    Append Search Helps
    An append search help is used to enhance a collective search help (that is not the original in the current system) by further search paths (elementary search helps) without modifications. This technique can be used for example by special developments, country versions, SAP partners and SAP customers to add further search paths to a collective search help in the SAP standard version.
    An append search help has a fixed assignment to a collective search help. This appending object is enhanced with an append search help. The structure of an append search help corresponds to the structure of a collective search help.
    The append search help takes on the parameters of your appending object. An append search help is automatically included in your appending object. The parameters of both search helps having the same name are assigned to one another.
    Regards,
    Bhaskar

  • Search Help Hit List Max 5000

    Hi gurus,
        How i can display search help hit list more than 5000 because the system display max. 5000 only
    regards,
    Next.

    Hi,
    Try this options mentioned in the SAP note
    In the initial screen HELP --> Settings . Go to the tab F4 Help . Go to change mode and choose "Dialog" instead of "Control".
    Now for F4 help you will get a check box "No restriction". Use this Check box and try again.
    I guess performance will be seriously affected
    Refer these SAP notes
    Note 487689 - Search help control: Restrictions
    Note 163738 - Hit List does not display more than 5000 values.
    Regards

  • Search help how to restrict number of hits.

    Hi,
    I have created a search help in SE11, the search help reads a table view and the search help is connected to
    exit HRMC_PREM_EXIT_A in HR. Everything works fine except for that I want to restrict the number of hits to 500, I don't want to get a result of 5000 hits because that search takes too long time.
    Br Benita

    Hello Benita
    Set the dialog type of your search help = 'A' (dialog depends on set of values).
    Regards
      Uwe

  • Issue in CATS search help Hit List

    Hi All,
    At the moment we are facing an issue in CATS .
    We have added customer fields in the CATS data entry area by implementing CAT0005 and CAT0002 enhancements.
    One of customer filed we have created Search Help by using SE11 in that search help we have given default values in one of field and due to that on CAT2 transaction in the customer filed showing search help and that search help giving 2 records as hit list ( due to defaulting value in SE11 ).
    Now when user clicking on Record working time service in that when customer click upon custom filed search help its giving 30 records as hit list u2026( here the search help should give 2 records hit list )
    Any idea

    note that search help of CAT2 and record working time are different!
    these are teh steps
    please modify the following in the table TCATS_SHLP_ITS as follows:
              1. Execute the T-Code SM31
              2. Enter the table name TCATS_SHLP_ITS.
    or check the class
    CL_XSS_CAT_VALUE_HELP_GENERAL
    or check
    CL_XSS_CAT_VALUE_HELP*
    take an example from Sap note 914125

  • 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

  • Creating search help for AFNAM, and display the hit list with values only

    Hi guys,
    I have created a search help for AFNAM, but the hit list displays all even if it is blank.
    I want to display in the hit list the AFNAM with values and do not diplay the blank values...
    Is it possible? How am i going to do it?
    Thanks!
    Mark

    Hi Mark,
    After selecting data use this statement.
    DELETE it_table WHERE AFNAM is initial.
    Regards,
    Suneel G

  • Search Help User Exit (if "one" entry in hit list, skip hit list and export)

    Hi everyone,
    I hope you can help me. I spent many hours on this one but I just could not find a solution (by myself and by searching google and searching the SCN).
    Problem like thread subject.
    I have the requirement to create a search help using search help exit. Done so far. My search help works fine. There´s a Sel Opt and I get the hit list with several entries. "But" I have one problem. If there is only one entry I have to skip the hit list and just export the value straight to the caller.
    I just don´t get it to work. I used the function module F4UT_PARAMETER_RESULTS_PUT but there was no value in shlp-interface-value. Record Tab was written, but value is not exported.
    Maybe you got some hints for me?`
    Best regards
    Dominik

    Hi Raymond,
    I passed as followed:
    ***CALL FUNCTION 'F4UT_PARAMETER_RESULTS_PUT'
    ***  EXPORTING
    ***       PARAMETER         = 'DOC_ID'
    ***       VALUE             = ls_disp_data-doc_id
    ***       fieldname         = 'DOC_ID'
    ***  TABLES
    ***       SHLP_TAB          = SHLP_TAB
    ***       RECORD_TAB        = RECORD_TAB
    ***        SOURCE_TAB       = lt_disp_data
    ***  CHANGING
    ***       SHLP              = SHLP
    ***       CALLCONTROL       = CALLCONTROL
    ***  EXCEPTIONS
    ***       PARAMETER_UNKNOWN = 1
    ***       OTHERS            = 2.
    LT_DISP_DATA is filled with one entry only. DOC_ID is the name of the field I want the value to be set.
    Update: It´s fixed. I reset the whole thing. I did set callcontrol-step = 'RETURN' after function call, "but" at the end of the coding there was a leftover from previous tries (an empty if callcontrol-step = 'RETURN' -shell). By setting this condition explicitly the "standard flow" was interrupted.
    So, in short: I had to delete the empty if-condition for callcontrol-step = RETURN and then it worked.
    Thank you all for your feedback, hints and suggestions!
    Best regards,
    Dominik

  • Hiding Hit list popup and getting multiple values in Search help

    Hi,
    I have a special requirement where I am using a search help for filtering data. My requiremetn is the data which I am getting in Hit list popup, I want all that data in a internal table for further processing also I dont want that hit list popup. Is there any method or something which can be used in search help exit to hide the hit list popup dialog and returning all the records which is fetchec in the record_tab.
    Thanks
    Tanmaya
    Edited by: Tanmaya31 on Dec 16, 2011 6:52 AM

    Hi,
    I dont think you can make thru search help. Instead, I can advise you:
    Instead of using a search help for multiple selection, have a button placed at the table control, so that once you press that, you get the desired values(just as in SH) in an ALV display. Then you can make multiple selection and call the table control again and pass the values to the internal table used for the table control, so that the table is filled with the desired values.
    Hope this helps you.
    vamsi

  • Standard Elementary Search help number of hits

    Dear All,
    I am having simple problem with the Standard Search Help "RSFISCPER".
    When i display with out restrictions it shows only around 219 hits , even with restrictions it shows the same number .
    How can i see all entries in the search help.
    If i give selection like FisVarient K4 and period from 001/2007 to 012/2007 then it shows correctly. but if i give only K4 then all entries will not show related to K4.
    I appreciate you help.
    Thanks
    Manju

    Dear Manjunatha,
    You can copy the complete hit list from the search help exit,
    Check out the link below:
    <a href="http://help.sap.com/saphelp_nw04/helpdata/en/cf/21ee52446011d189700000e8322d00/content.htm">Search Help Exit</a>
    Best Regards,
    Raj
    <b>Please reward points if helpful.</b>

  • SRM search help is restricted to 100 hits

    Under default settings, the search help for eg. attibute LAG displays only 100 hits for the user, although more entries are maintained in the org structure.  This also occurs when the user selects similar attributes during the creation of the shopping cart.  The search help used is BBP_STORAGE_VALUE, which uses a search help exit function module called BBP_F4IF_SHLP_EXIT_STORAGE which explicitly in certain situations sets a limit of 500.  Why are only 100 hits displayed for the user - could this be a template issue?

    Our Basis guys followed the steps below:
    Add the following parameter to the sap instance profile
    itsp/SearchhelpResultPerPage = 1000
    Do this either through RZ10 or directly at the filesystem level and change the 1000 value, that we used, to be greater than the maximum number of records that need to be returned 
    Restart the SAP instance and then check in RZ11 that the value is changed from the default (which is 100).  Finally check that the search is now reurning the required number of results.

  • ALV grid - using f4 search help - want separate value from hit list

    I have the following scenario that I am trying to resolve.
    I have created my own search help with a search help exit for a bespoke maintenance table which lists categories against HR positions which are to receive workflow for these categories.  I am designing a front-end for this table using an ALV grid whereby the person holding that position (i.e. name) is shown instead of position number.  The search help allows you to select by First name and last name and brings up a hit list which includes employee number, first name last name, formatted name field, position number, position description and org unit it belongs in.
    The issue occurs where the list brings back more than one hit.
    e.g.:
    1 Fred     Bloggs Fred Bloggs 50000001  pos1  org 1
    2 Frederic Bloggs Fred Bloggs 50000002  pos2  org 3
    If you select an entry, the formatted name field goes in the ALV grid field. I call the search help via F4IF_FIELDVALUE_REQUEST using the onf4 event .
    What I want to do is retrieve the position number of the entry selected and put this into another table without having to add this to my ALV grid and make available for input. I want to use name only for the input in my ALV grid (i.e. if I select the second example, the return table in F4IF_FIELDVALUE_REQUEST shows the name Fred Bloggs but does not show the position number which I need to add to another table to update my maintenance table).
    Can anyone suggest any way around this?
    Many thanks
    Larissa

    You are right, you can add this fields as an import parameter to the list.
    In Custom search help you must have marked fields as Export or Import parameters.
    If field is marked as Export parameters, it will be displayed in the selection pop up.
    If Import paramter check box is selected then this will be imported to the screen.
    Check this SAP documentation for both these options -
    Flag for IMPORT parameter of the search help                      
         Flag if the parameter is an import parameter.                                                                               
    Context information from the processed input template (screen) can be
         copied to the help process with an import parameter. Where an import 
         parameter gets its values from is defined when the search help is    
         attached to the corresponding field of the input template.           
    Flag for EXPORT parameter of the search help                                                                               
    Flag if the parameter is an export parameter.                                                                               
    Values can be returned from the hit list to the input template (screen)
         with an export parameter. The fields of the input template in which the
         contents of the export parameter are returned are defined by the search
         help attachment.
    Message was edited by: Ashish Gundawar

  • How to implement F4IF_INT_TABLE_VALUE_REQUEST in search help User Exit?

    Hi,
    I need to enhanse search help and add F4 functionality to display list of company codes when cursor is in PBUKR field. I put F4IF_INT_TABLE_VALUE_REQUEST
    into the user exit but nothing works.
    I get error that PROCESS is not defined. If I remove that line there is no error but nothing works.
    Can someone tell me what is wrong in the code below.
    Thank you.
    FUNCTION z_hr_shlp_wbs_element.
    ""Local interface:
    *"  TABLES
    *"      SHLP_TAB TYPE  SHLP_DESCR_TAB_T
    *"      RECORD_TAB STRUCTURE  SEAHLPRES
    *"  CHANGING
    *"     VALUE(SHLP) TYPE  SHLP_DESCR_T
    *"     VALUE(CALLCONTROL) LIKE  DDSHF4CTRL STRUCTURE  DDSHF4CTRL
      TABLES: prps.
      DATA: it_prps LIKE prps OCCURS 0 WITH HEADER LINE.
      DATA: status_tab LIKE jstat OCCURS 0 WITH HEADER LINE.
      DATA: l_posid LIKE prps-posid.
      DATA: l_subrc LIKE sy-subrc.
      DATA: l_pbukr LIKE prps-pbukr,   " Added by vr
            value TYPE DDSHIFACE-VALUE.
    EXIT immediately, if you do not want to handle this step
      IF callcontrol-step <> 'SELONE' AND
         callcontrol-step <> 'SELECT' AND
                                           " AND SO ON
         callcontrol-step <> 'DISP'.
        EXIT.
      ENDIF.
    ------------------------------------------------------ added by vr
    PROCESS ON VALUE-REQUEST.
    FIELD PRPS-PBUKR MODULE PBUKR.
      DATA: BEGIN OF VALUE_TAB OCCURS 0,
      LPBUKR LIKE PRPS-PBUKR,
      LPOSID LIKE PRPS-POSID,
      END OF VALUE_TAB.
    DATA: BEGIN OF RETURN_TAB OCCURS 0.
    INCLUDE STRUCTURE DDSHRETVAL.
    DATA END OF RETURN_TAB.
    SELECT PBUKR POSID FROM PRPS UP TO 20 ROWS
    INTO TABLE VALUE_TAB WHERE SLWID = 'QLT UDF'.
    CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
    EXPORTING
    RETFIELD = 'PBUKR'
    WINDOW_TITLE = 'Statusselektion'
    VALUE_ORG = 'S' "hierdurch kann die Struktur genommen werden
    TABLES
    VALUE_TAB = VALUE_TAB
    RETURN_TAB = RETURN_TAB
    EXCEPTIONS
    PARAMETER_ERROR = 1
    NO_VALUES_FOUND = 2
    OTHERS = 3.
    end of additions
    STEP SELONE  (Select one of the elementary searchhelps)
    This step is only called for collective searchhelps. It may be used
    to reduce the amount of elementary searchhelps given in SHLP_TAB.
    The compound searchhelp is given in SHLP.
    If you do not change CALLCONTROL-STEP, the next step is the
    dialog, to select one of the elementary searchhelps.
    If you want to skip this dialog, you have to return the selected
    elementary searchhelp in SHLP and to change CALLCONTROL-STEP to
    either to 'PRESEL' or to 'SELECT'.
      IF callcontrol-step = 'SELONE'.
      PERFORM SELONE .........
        EXIT.
      ENDIF.
    STEP PRESEL  (Enter selection conditions)
    This step allows you, to influence the selection conditions either
    before they are displayed or in order to skip the dialog completely.
    If you want to skip the dialog, you should change CALLCONTROL-STEP
    to 'SELECT'.
    Normaly only SHLP-SELOPT should be changed in this step.
      IF callcontrol-step = 'PRESEL'.
      PERFORM PRESEL ..........
        EXIT.
      ENDIF.
    STEP SELECT    (Select values)
    This step may be used to overtake the data selection completely.
    To skip the standard seletion, you should return 'DISP' as following
    step in CALLCONTROL-STEP.
    Normally RECORD_TAB should be filled after this step.
    Standard function module F4UT_RESULTS_MAP may be very helpfull in this
    step.
      IF callcontrol-step = 'SELECT'.
    Maximum records are set to 0 because the counter for Max records keeps
    running, even if you filter out certain records. This is a similar
    problem as described in OSS Note 148525.
    Feb 3, 2004 LS: devk907353
                    (maxrecords = 0 defaults to maxrecords 500)
                    As of release 4.7, it appears that maxrecords is
                    being considered on the read of the view, rather
                    than prior to presenting the selection list.
                    When only 500 records are passed into this exit,
                    the subsequent evaluation yields very few records
                    in the selection list.  By setting maxrecords to
                    8000, the entire contents of the view are passed
                    to this user exit, and therefor the search help
                    yields a reasonable selection list to the user
                    (as was the case in release 4.6b).
      callcontrol-maxrecords = 0.        " devk907353
        callcontrol-maxrecords = 8000.     " devk907353
      PERFORM STEP_SELECT TABLES RECORD_TAB SHLP_TAB
                          CHANGING SHLP CALLCONTROL RC.
      IF RC = 0.
        CALLCONTROL-STEP = 'DISP'.
      ELSE.
        CALLCONTROL-STEP = 'EXIT'.
      ENDIF.
        EXIT. "Don't process STEP DISP additionally in this call.
      ENDIF.
    Added by vr, Nov. 2007 ---------------------------
      CALL FUNCTION 'F4UT_PARAMETER_VALUE_GET'
      EXPORTING
        PARAMETER               = 'PBUKR' " Reference to search help parameter
      IMPORTING
        VALUE                   = value
      TABLES
        SHLP_TAB                = shlp_tab
        RECORD_TAB              = record_tab
      CHANGING
        SHLP                    = shlp
        CALLCONTROL             = callcontrol.
      l_pbukr = value.
    End of additions by vr ---------------------------
    STEP DISP     (Display values)
    This step is called, before the selected data is displayed.
    You can e.g. modify or reduce the data in RECORD_TAB
    according to the users authority.
    If you want to get the standard display dialog afterwards, you
    should not change CALLCONTROL-STEP.
    If you want to overtake the dialog on you own, you must return
    the following values in CALLCONTROL-STEP:
    - "RETURN" if one line was selected. The selected line must be
      the only record left in RECORD_TAB. The corresponding fields of
      this line are entered into the screen.
    - "EXIT" if the values request should be aborted
    - "PRESEL" if you want to return to the selection dialog
    Standard function modules F4UT_PARAMETER_VALUE_GET and
    F4UT_PARAMETER_RESULTS_PUT may be very helpfull in this step.
      IF callcontrol-step = 'DISP'.
    DEVK909420 Begin
      SELECT * FROM prps INTO TABLE it_prps
         WHERE belkz = 'X'.
    Changed by vr, Nov. 2007
      IF l_pbukr <> ''.
        SELECT * FROM prps INTO TABLE it_prps
           WHERE belkz =  'X'
             AND fkstl <> ''
             AND pbukr = l_pbukr.
        ELSE.
        SELECT * FROM prps INTO TABLE it_prps
           WHERE belkz =  'X'
             AND fkstl <> ''.
        ENDIF.
    End of changes
    DEVK909420 End
        SORT it_prps BY posid.
        LOOP AT record_tab.
          l_posid = record_tab+96(24).
          READ TABLE it_prps WITH KEY posid = l_posid.
          IF sy-subrc = 0.
            CALL FUNCTION 'STATUS_READ'
                 EXPORTING
                      objnr       = it_prps-objnr
                      only_active = 'X'
                 TABLES
                      status      = status_tab.
    DEVK909329 Begin
            read table status_tab with key inact = ''
                                           stat  = 'E0001'.
            if sy-subrc is initial.
              read table status_tab with key inact = ''         "DEVK909345
                                             stat  = 'I0002'.   "DEVK909345
            endif.
    DEVK909329 End
          ENDIF.
          IF sy-subrc NE 0.
            DELETE record_tab.
          ELSE.
           IF record_tab+114(1) EQ '.' AND
              record_tab+115(1) EQ '9'.
             DELETE record_tab.
           ELSE.
    DEVK909420 Begin
            IF record_tab+102(1) EQ '9'.
              DELETE record_tab.
            ELSEIF record_tab+104(1) EQ '9'.
              DELETE record_tab.
            ENDIF.
    DEVK909420 End
           ENDIF.
          ENDIF.
        ENDLOOP.
        EXIT.
      ENDIF.
    ENDFUNCTION.

    Hi Vitaly,
    Process on Value Request and search help exit is entirely two idea to display the f4 values.please remove the PROCESS ON VALUE REQUEST from the function module.write the required select statements after   CHECK callcontrol-step EQ 'SELECT' . and pass the value to the function module
    CALL FUNCTION 'F4UT_RESULTS_MAP'
          TABLES
            shlp_tab          = shlp_tab
            record_tab        = record_tab
            source_tab        = l_record
          CHANGING
            shlp              = shlp
            callcontrol       = callcontrol
          EXCEPTIONS
            illegal_structure = 1
            OTHERS            = 2.
        IF sy-subrc <> 0.
          MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                  WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
        ENDIF.
        IF ( sy-subrc = 0 AND l_record IS INITIAL ).
          MESSAGE 'No values found' TYPE 'S'.
        ENDIF.
        callcontrol-step = 'DISP'.
    Find the documentaion for this function module for further help
    message edited by
    shibu

  • Max number of Hits Account Identification

    Hi all,
    we are currently having the problem in IC that when somebody try to identify an account of an BP with more that 100 related sold to parties, that no account is displayed because of the standard max number of hits 100.
    I have found the path to customize this in the SPRO but this sentence in the SAP help is making me some headache:
    The higher the number you enter here, the more results the system will search for, and in turn, the more performance is affected. The maximum number of hits that the system allows is 100, which is also the default value.
    I understand the point of the performance, but does this mean that the performance is also affected the account identification of the other BP with less than 100 related sold to parties?
    Can anybody help in this issue?
    We are working on CRM 5.0.
    Regards
    Abosi
    Edited by: Abosi_3li2 on Feb 8, 2012 11:08 AM

    Hello
    The bug of nothing displayed if over 100 accounts are found is solved with [SAP note 1467929|https://service.sap.com/sap/support/notes/1467929.]
    The code you are referring to is:
    IF bpident_profile-max_hits IS INITIAL.
    max_hits = 100.
    ELSE.
    max_hits = bpident_profile-max_hits.
    ENDIF.
    It means that, if blank, 100 hits is considered. You can modify the customizing up to 255 results since that is the limit of accounts to be found.
    Regards
    Joaquin

Maybe you are looking for

  • Windows 2000 no longer supported ?

    Hi, I would like to report an incompatibility issue. In order to use some older tools, I wanted to make a VmWare image of Windows 2000. It needed a Java runtime. The java.com website suggested version 6.24, and listed Windows 2000 as one of the targe

  • Tablespace issue

    Hi, I created one database manually. I created one table space, My question is can I assign manually database to tablespace(logical container)

  • Oracle-RAC DR on Azure

    hi all, we have Oracle-RAC deployed on-premise and we would like to extend our data center to Azure and have DR on Azure, is that possible and if yes how we can achieve this. Thanks Teka

  • Navigation Buttons Change Size

    My admittedly-crude website is taking shape but when I roll over the navigation buttons (which don't have actual links yet) the font type seems to change to bold and the button itself changes size to accomodate the larger font. www.ourhealthcare.info

  • Reg:ALE configuration

    Hi.. I am trying to do ALE configuration for inbound IDOC. I have created  RFC destination on XI client using transaction SM59 and then a port  using IDX1. after that i have executed the transaction we20 on the  SAP system and added the IDOC basis ty