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

Similar Messages

  • 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

  • How to confiure the fields displayed in F4 help hit list?

    Hi Gurus,
    I got a strange issue.
    Standard F4 help in PA20 displays a hit list of employees along with the details like name of the employee, his personnel number, his date of Birth and other details.
    Now the customer requirement is as follows - The birth date being a confidential information should not be displyed to users. Therefore, there is a customizing request to hide this Date of Birth Field in the hit list given by F4 Help.
    Can anyone suggest me where  (under which node) exactlyconfigure the same in IMG?
    Thanks in advance.
    Amit Linge
    SAP HCM Consultant

    Hi Donnie,
    Thanks for your guidance.
    It helped me configuring the F4 Search Help. The solution is proposed to the client.
    thanks once again.
    Amit Linge

  • Matchcodes/Search Helps/Personal Lists

    I want to limit the list of values in the Unit of Measure field (MEINS in table MEREQ3211GRID) a user sees when the are Creating a Purchase requisition (ME51N).  I know how to do with with a personal list but I don't want to have every user have to create their own personal llist.  I would like to have a default for all users. 
    I have hear about matchcodes and done some searching but I don't seem to find anything about how to actually create one and how to assign it to all users. My searching also indicated matchcodes have been replaced with searchhellps which has added to my confusion.
    Help.  Thanks.

    Hi Kathryn,
    it was match codes in the good old times, now called search help since decades or do.
    If you can identify which search help is called (check the logic for[ Hierarchy of the Search Help Call|http://help.sap.com/saphelp_nw70/helpdata/en/0b/32e9b798da11d295b800a0c929b3c3/frameset.htm]), you can create a [search help exit|http://help.sap.com/saphelp_47x200/helpdata/EN/cf/21ee52446011d189700000e8322d00/frameset.htm].
    Not done in ten minutes, but pretty good documentation available with function module F4IF_SHLP_EXIT_EXAMPLE.
    Regards
    Clemens

  • Can AUTHORITY_CHECK effect in search help result list

    For example ,authorizaiton objid a value 1,2,the user only have authorization a = 1,but in F4 for search help ,the user can see value 1 and 2 for a .Can i do someting to make the user only can see value 1 for a?
    i have an idea using search_help_exit and authority_check,is there any other way to do this ?

    Hi,
    I need to perform authority check on the field NAME1 present in the standard screen - customer master ( T.Code-XD02). Only certain users should be allowed to edit the field and others should be restricted.
    I have created a field exit FIELD_EXIT_AD_NAME1 for the ADRC-NAME1 field.
    Now inside this field exit i need to write the authority-check code.
    I have created the authorisation object Z_KNA1_NAM for the field NAME1 using the SU20 and SU21.
    For this scenario how do i write the authority-check code in my field exit?
    Below is my field exit code,is that correct?
    FUNCTION FIELD_EXIT_AD_NAME1.
    ""Local Interface:
    *" IMPORTING
    *" REFERENCE(INPUT)
    *" EXPORTING
    *" REFERENCE(OUTPUT)
    AUTHORITY-CHECK OBJECT 'Z_KNA1_NAM'
    ID 'NAME1' FIELD SY-UNAME
    ID 'ACTVT' FIELD '03'.
    IF SY-SUBRC = 0.
    MESSAGE 'Not Allowed to Edit the Name 1 Field' TYPE 'E'.
    ENDIF.
    ENDFUNCTION.
    In the above code i have given SY-UNAME in the code line 2 - ID 'NAME1' FIELD SY-UNAME ,is that correct? what should i give there?
    Please help me on this issue.
    Cheers,
    P.S.Chitra

  • When I perform a search, the hit list web links don't work but I'm redirected to some other site.

    When the search results appear, I click on the link and get redirected to some other site (usually an ad or search site). When I hover over the link, the correct link is displayed but again when I click the link I get sent to some weird site. Any help is appreciated!

    This may be caused by malware. try running several malware scanners, you need to run several as each one may pick up things the others miss. You can try the following scanners:
    * [http://www.malwarebytes.org/mbam.php Malwarebytes]
    * [http://www.superantispyware.com/ SUPERAntiSpyware]
    * [http://www.safer-networking.org/en/home/index.html Spybot-S&D]
    * [http://www.lavasoft.com/products/ad_aware_free.php Lavasoft Ad-Aware]
    * [http://www.microsoft.com/windows/products/winfamily/defender/default.mspx Windows Defender]

  • Search help F4IF_SHLP_EXIT_EXAMPLE

    I have a requirement regarding F4 help. When I click on the zoom button for vendor code, the list of values according to the coding given in serach help exit should get displayed with only company code as input.
    The list of vendors is picked from LFa1 table as per the foll. code:
        SELECT LIFNR BUKRS FROM LFB1  CLIENT SPECIFIED
             INTO TABLE IT_LFB1
               WHERE MANDT = SY-MANDT
               AND BUKRS = M_BUKRS.
          SELECT LIFNR  NAME1 FROM LFA1 CLIENT SPECIFIED
               INTO TABLE IT_LFA1  FOR ALL ENTRIES IN IT_LFB1
                 WHERE MANDT = SY-MANDT
                 AND LIFNR = IT_LFB1-LIFNR
                 AND ( KTOKK LIKE '%07' OR KTOKK LIKE '%06' )
                 AND SPRAS = 'E'
                 AND LZONE = '0000000002'.
    How do I put this coding in the search help exit program ?
    Please help.
    Regards,
    Tom Jerry.

    Hi,
    No you can't get  import parameters from screen while you are using search help exit,
    Because everything is limited to parameters of  exit function.
    There is another way to limit the range of search help hit list
    you should use  on the VALUE-REQUEST event of your screen.
    Check this code :
    DATA: lv_shelp_name TYPE shlpname,
            ls_shelp TYPE shlp_descr,
            ls_selopt TYPE ddshselopt,
            ls_rc LIKE sy-subrc,
            lt_return_values TYPE TABLE OF ddshretval,
            ls_return_values TYPE ddshretval,
            ls_interface LIKE LINE OF ls_shelp-interface,
            lw_field_ranges LIKE LINE OF ip_field_ranges.
      lv_shelp_name = f4help_name.
    * get description for search help
      CALL FUNCTION 'F4IF_GET_SHLP_DESCR'
        EXPORTING
          shlpname = lv_shelp_name
        IMPORTING
          shlp     = ls_shelp.
    * set range for search help field :
       ls_selopt-shlpname = lv_shelp_name. 
       ls_selopt-shlpfield = 'BUKRS'.
       ls_selopt-sign      = 'I'.
       ls_selopt-option    = 'BT'.
       ls_selopt-low       = lv_company_code
       COLLECT ls_selopt INTO ls_shelp-selopt.
      ls_interface-valfield = 'X'.
      ls_interface-valtabname = 'X'.
      MODIFY ls_shelp-interface FROM ls_interface
             TRANSPORTING valtabname valfield
             WHERE shlpfield = ip_ret_fieldname.
    * call F4 dialog
      CALL FUNCTION 'F4IF_START_VALUE_REQUEST'
        EXPORTING
          shlp          = ls_shelp
        IMPORTING
          rc            = ls_rc
        TABLES
          return_values = lt_return_values.
    I hope it can be useful for u

  • Elementary Search help with distinct values. Kindly help!

    Hi Experts,
        I have to create a search help for Plant field. The Plant field is in a custom table YPLANT_DET. Unfortunately the plant field in this table is not unique.
    So the elementary search help will show duplicate plant entries.
    How to customize the elementary search help so that I get only distict values on F4 help?
    KIndly help!
    Thanks
    Gopal

    Hi,
    You need to use Search help exit...
    i am attaching below sample code..write the select query at appropriate location and pass the internal table to sub FM mentioned in the code..
    Code Sample
    BEGIN OF CODE SAMPLE -
    BEGIN OF INCLUDE LZSHLPTOP -
    FUNCTION-POOL zshlp. "MESSAGE-ID ..
    TYPE-POOLS shlp.
    TYPES:
    BEGIN OF t_knvp,
    kunnr TYPE kna1-kunnr,
    name1 TYPE kna1-name1,
    ort01 TYPE ort01_gp,
    stras TYPE stras_gp,
    kunn2 TYPE knvp-kunn2,
    name1_2 TYPE kna1-name1,
    END OF t_knvp.
    DATA: i_knvp TYPE TABLE OF t_knvp,
    wa_knvp TYPE t_knvp,
    wa_selopt TYPE ddshselopt,
    wa_fielddescr TYPE dfies.
    DATA:
    rc TYPE i,
    v_tabix LIKE sy-tabix.
    RANGES: r_ktokd FOR kna1-ktokd,
    r_mcod1 FOR kna1-name1,
    r_sortl FOR kna1-sortl,
    r_kunnr FOR kna1-kunnr,
    r_ort01 FOR kna1-ort01.
    END OF INCLUDE LZSHLPTOP -
    BEGIN OF FUNCTION MODULE Z_CUSTOM_SEARCH -
    FUNCTION z_custom_search.
    ""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
    EXIT immediately, if you do not want to handle this step
    CASE callcontrol-step.
    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.
    WHEN 'SELECT'.
    Change column header texts appearing on the search help hit list
    LOOP AT shlp-fielddescr INTO wa_fielddescr.
    v_tabix = sy-tabix.
    CASE wa_fielddescr-fieldname.
    WHEN 'KUNNR'.
    wa_fielddescr-fieldtext = 'ShipToCustomer#'.
    wa_fielddescr-reptext = 'ShipToCustomer#'.
    wa_fielddescr-scrtext_s = 'ShipTo #'.
    wa_fielddescr-scrtext_m = 'ShipToCustomer#'.
    wa_fielddescr-scrtext_l = 'ShipToCustomer#'.
    MODIFY shlp-fielddescr FROM wa_fielddescr
    INDEX v_tabix TRANSPORTING fieldtext reptext scrtext_s
    scrtext_m scrtext_l.
    WHEN 'KUNN2'.
    wa_fielddescr-reptext = 'BillToCustomer#'.
    wa_fielddescr-fieldtext = 'BillToCustomer#'.
    wa_fielddescr-scrtext_s = 'BillTo #'.
    wa_fielddescr-scrtext_m = 'BillToCustomer #'.
    wa_fielddescr-scrtext_l = 'BillToCustomer #'.
    MODIFY shlp-fielddescr FROM wa_fielddescr
    INDEX v_tabix TRANSPORTING fieldtext reptext scrtext_s
    scrtext_m scrtext_l.
    WHEN 'NAME1'.
    wa_fielddescr-fieldtext = 'ShipToCustomer Name'.
    wa_fielddescr-reptext = 'ShipToCustomer Name'.
    wa_fielddescr-scrtext_s = 'ShipTo Name'.
    wa_fielddescr-scrtext_m = 'ShipToCustomer Name'.
    wa_fielddescr-scrtext_l = 'ShipToCustomer Name'.
    MODIFY shlp-fielddescr FROM wa_fielddescr
    INDEX v_tabix TRANSPORTING fieldtext reptext scrtext_s
    scrtext_m scrtext_l.
    ENDCASE.
    ENDLOOP.
    Select the Bill to party customer based on the select options
    FREE: r_ktokd, r_kunnr, r_sortl, r_mcod1, r_ort01, i_knvp.
    LOOP AT shlp-selopt INTO wa_selopt.
    Build a Range for the 5 selection options of the search help
    CASE wa_selopt-shlpfield.
    WHEN 'KTOKD'.
    r_ktokd-sign = wa_selopt-sign.
    r_ktokd-option = wa_selopt-option.
    r_ktokd-low = wa_selopt-low.
    r_ktokd-high = wa_selopt-high.
    APPEND r_ktokd.
    CLEAR r_ktokd.
    WHEN 'KUNNR'.
    r_kunnr-sign = wa_selopt-sign.
    r_kunnr-option = wa_selopt-option.
    r_kunnr-low = wa_selopt-low.
    r_kunnr-high = wa_selopt-high.
    APPEND r_kunnr.
    CLEAR r_kunnr.
    WHEN 'SORTL'.
    r_sortl-sign = wa_selopt-sign.
    r_sortl-option = wa_selopt-option.
    r_sortl-low = wa_selopt-low.
    r_sortl-high = wa_selopt-high.
    APPEND r_sortl.
    CLEAR r_sortl.
    WHEN 'MCOD1'.
    r_mcod1-sign = wa_selopt-sign.
    r_mcod1-option = wa_selopt-option.
    r_mcod1-low = wa_selopt-low.
    r_mcod1-high = wa_selopt-high.
    APPEND r_mcod1.
    CLEAR r_mcod1.
    WHEN 'ORT01'.
    r_ort01-sign = wa_selopt-sign.
    r_ort01-option = wa_selopt-option.
    r_ort01-low = wa_selopt-low.
    r_ort01-high = wa_selopt-high.
    APPEND r_ort01.
    CLEAR r_ort01.
    ENDCASE.
    ENDLOOP.
    Retrieve data from KNVP table for the above selected ranges
    Doing query to retrieve data for the search help
    SELECT knvp~kunnr
    kna1~name1
    kna1~ort01
    kna1~stras
    knvp~kunn2
    INTO TABLE i_knvp
    FROM knvp
    INNER JOIN kna1
    ON knvpkunnr = kna1kunnr
    WHERE
    knvp~parvw = 'RE' AND " Bill to Party
    knvp~kunnr IN r_kunnr AND
    kna1~ktokd IN r_ktokd AND
    kna1~sortl IN r_sortl AND
    kna1~mcod1 IN r_mcod1 AND
    kna1~ort01 IN r_ort01.
    CHECK sy-subrc = 0.
    DELETE ADJACENT DUPLICATES FROM i_knvp.
    Select the short text for kunn2 from kna1.
    Move all the selected records to Record_Tab
    LOOP AT i_knvp INTO wa_knvp.
    v_tabix = sy-tabix.
    SELECT SINGLE name1 FROM kna1
    INTO wa_knvp-name1_2
    WHERE kunnr = wa_knvp-kunnr.
    MOVE wa_knvp TO record_tab-string.
    APPEND record_tab.
    CLEAR record_tab.
    MODIFY i_knvp FROM wa_knvp INDEX v_tabix.
    CLEAR wa_knvp.
    ENDLOOP.
    rc = 0.
    IF rc = 0.
    callcontrol-step = 'DISP'.
    ELSE.
    callcontrol-step = 'EXIT'.
    ENDIF.
    EXIT. "Don't process STEP DISP additionally in this call.
    WHEN 'PRESEL1'.
    WHEN 'DISP'.
    WHEN OTHERS.
    ENDCASE.
    ENDFUNCTION.
    END OF FUNCTION MODULE Z_CUSTOM_SEARCH -
    END OF CODE SAMPLE -
    Save and activate at every step.
    Regards,
    Chandra
    (Award points if helpful)

  • Automatic population of search help value to another field in module pool

    Hello there,
    I am developing a module pool screen, in which i have a table control field with fields PERNR and ARBPL along with other fields.
    I have to give a search help for Pernr first field for which i have given a search help with the use of PM02 search help, given in the screen field level, in the same search help there is another field ARBPL, when the pernr is selected i have to get the corresponding Arbpl field value in the search help hit list and pass it to my field arbpl in my table control.
    I tried with POV event as well with FM f4if_field_value_request but the return structure always filling one value only PERNR.
    Is there any chance to get the both field values from the search help.
    Thank you in advance.
    Regards,
    Kumar.

    Try the following logic in your table control, in table control you have get the selected index using function DYNP_GET_STEPL.
    TYPE-POOLS: shlp.
    PARAMETERS:p_matnr TYPE marc-matnr,
               p_werks TYPE marc-werks,
               p_ekgrp type marc-ekgrp.
    TYPES:BEGIN OF ty_marc,
          matnr TYPE marc-matnr,
          werks TYPE marc-werks,
          ekgrp TYPE marc-ekgrp,
          END OF ty_marc.
    DATA:i_marc TYPE TABLE OF ty_marc,
         i_val TYPE TABLE OF ddshretval,
         wa_val TYPE ddshretval.
    DATA:wa_dynpfields TYPE dynpread,
        i_dynpfields LIKE STANDARD TABLE OF dynpread.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_matnr.
      SELECT matnr werks ekgrp FROM marc INTO TABLE i_marc UP TO 100 ROWS.
      CHECK i_marc[] IS NOT INITIAL.
      CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
        EXPORTING
          retfield         = 'MATNR'
          value_org        = 'S'
          callback_program = sy-repid
          callback_form    = 'CALLBACK_ROUTINE'
          dynpnr           = sy-dynnr
        TABLES
          value_tab        = i_marc
          return_tab       = i_val
        EXCEPTIONS
          parameter_error  = 1
          no_values_found  = 2
          OTHERS           = 3.
      IF sy-subrc  <> 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ENDIF.
      LOOP AT i_val INTO wa_val.
        IF sy-tabix = 1.
          wa_dynpfields-fieldname    = 'P_MATNR'.
          wa_dynpfields-fieldvalue   = wa_val-fieldval.
        ELSEIF sy-tabix = 2.
          wa_dynpfields-fieldname    = 'P_WERKS'.
          wa_dynpfields-fieldvalue   = wa_val-fieldval.
        ELSEIF sy-tabix = 3.
          wa_dynpfields-fieldname    = 'P_EKGRP'.
          wa_dynpfields-fieldvalue   = wa_val-fieldval.
        ENDIF.
        APPEND wa_dynpfields TO i_dynpfields.
      ENDLOOP.
      CALL FUNCTION 'DYNP_VALUES_UPDATE'
        EXPORTING
          dyname     = sy-repid
          dynumb     = sy-dynnr
        TABLES
          dynpfields = i_dynpfields.
    FORM callback_routine TABLES i_val TYPE ddshreslts
                CHANGING wa_shlp TYPE shlp_descr
                         wa_callcontrol LIKE ddshf4ctrl.
      DATA:
        wa_intf     LIKE LINE OF wa_shlp-interface.
      wa_intf-shlpfield = 'F0002'.
      wa_intf-valfield  = 'X'.
      wa_intf-f4field = 'X'.
      wa_intf-value = '~'.
      APPEND wa_intf TO wa_shlp-interface.
      wa_intf-shlpfield = 'F0003'.
      wa_intf-valfield  = 'X'.
      wa_intf-f4field = 'X'.
      wa_intf-value = '~'.
      APPEND wa_intf TO wa_shlp-interface.
    ENDFORM.                    " CALLBACK_F4

  • HOW DO WE CREATRE SEARCH HELP ?

    HOW DO WE CREATRE SEARCH HELP ? PLEASE EXPLAIN.
    REWARD POINTS GUARENTEED !!

    Hi
    Input helps (F4 helps) for screen fields can be defined with search helps.
    Search helps
    1)Standard search help
    2)Types of search helps
    3)Concept of search help
    4)Search Help Interface
    5)Dialog behavior of search helps
    6)Selection method for search helps
    7)Performance of search helps
    8)Attaching search helps
    9)Hierarchy of search helps
    Standard Search Help
    The input help (F4 help) is a standard function of the R/3 System. It permits the user to display a list of possible values for a screen field. A value can be directly copied to an input field by list selection.
    The fields having an input help are shown in the R/3 System by the input help key to the right of the field. This key appears as soon as the cursor is positioned on the corresponding screen field. The help can be started either by clicking on this screen element or with function key F4.
    If the number of possible entries for a field is very large, you can limit the set of displayed values by entering further restrictions.
    Further meaningful information about the displayed values is included in the display of possible entries, especially if the field requires that a formal key be entered.
    TYPES OF SEARCH HELPS
    Elementary search helps Describe a search path. The elementary search help must define where the data of the hit list should be read from (selection method), how the exchange of values between the screen template and selection method is implemented (interface of the search help) and how the online input help should be defined (online behavior of the search help).
    Collective search help Combine several elementary search helps. A collective search help thus can offer several alternative search paths.
    Context data: You first have to define the context data to be used in the input help process. The context contains the information obtained in previous dialog steps and the entries already made by the user in the current input mask. This information is normally used to restrict the possible values for the current input field.
    Dialog behavior: It describes the order of the dialog windows to be displayed during the input help and what they should look like.
    Data collection method: It defines where the values offered to the user for selection come from.
    Return values: When a value is selected from the list of possible entries, it is stored in the search field. This often results in the contents of further screen fields, such as explanatory text, being updated. You therefore should define which values can be returned to the screen.
    In addition to describing an input help, you must define the fields for which it should be used. This is part of the field definition (of the search fields).
    In Release 4.0, the search help was introduced in the ABAP Dictionary as a new object type. A search help is an object that describes the input help process. The individual components of such a description can be defined with attributes of the search help.
    Search helps are subject to the same rules concerning their maintenance, activation and transport as all other objects of the ABAP Dictionary.
    Search helps provide greater flexibility and functionality for defining input helps than the matchcode and help view object types offered up to Release 3.x.
    Search Help Interface
    Search help interface determines how the exchange of values between the screen template and the selection method is implemented.
    The search help interface defines the context data that can be used in the input help and the data that can be returned to the input mask. Analogously to the interface of a function module, the search help interface comprises interface parameters.
    When you define an interface parameter of a search help, you must also define whether it should be used to copy data to the input help (IMPORT parameter) or whether it should be used to return data from the input help (EXPORT parameter). A parameter of a search help can also have both attributes at the same time.
    The location from which the IMPORT parameters of a search help get their values and the screen fields in which the contents of the EXPORT parameters of the search help are returned are defined in the search help attachment. The search help itself should always be attached to an EXPORT parameter of the search help. If this parameter is also the IMPORT parameter, its contents are only used in the input help if it is a search string (that is, if it contains a ´*´ or a ´+´).
    You must define the parameter types of a search help. You can do this by assigning them data elements.
    Value Transport for Input Helps
    NOTE:In the above example, screen fields A, B and C are linked with parameters of the search help. As a result, values can only be transported between the screen and the search help for these three fields. Existing contents of screen fields A and B can be used for selecting the hit list since they are linked with an import parameter of the search help. The values of parameters A and C can be returned to the screen from the hit list since these parameters are declared as export parameters of the search help.
    Description of dialog behavior
    A hit list might contain plentiful number of entries. A
    dialog provides the user with an option to restrict the
    entries displayed on the hit list.
    In an input help process, the set of possible entries is presented in the dialog box as a list for displaying the hit list. The user selects the required value from this list by double clicking. Since the possible entries are often formal keys, you must be able to display further explanatory information about the possible entries in the list.
    If the set of possible entries is very large, the user should be able to define additional conditions for the attributes of the selected entry. Restricting the set of data in this way both increases the clarity of the list and reduces the system load. Additional conditions can be entered in a further dialog window, the dialog box for restricting values.
    Specifying the dialog type of a search help defines whether the dialog box for restricting values should be offered and if so under what conditions.
    The attributes in the dialog box for displaying the hit list or in the dialog box for restricting values must be defined as internal parameters of the search help. An internal parameter can also be used in only one of the two dialog boxes. It can also belong to the search help interface.
    The internal parameter types are also defined with data elements. These data elements define how the parameters are displayed in the two dialog boxes.
    Dialog Types
    The dialog type of an elementary search help defines how the hit list is displayed when the input help is called. It defines the dialog steps executed for input help.
    The following dialog types are possible:
    Immediate value display: The hit list is immediately displayed when the input help is called. This is only meaningful if the hit list usually only contains a few entries.
    Complex dialog with value restriction: The dialog window for restricting values is offered immediately. Choose this option if the list of possible entries is usually very large. If the user limits the amount of data to be processed, the hit list will become more comprehensible and the system load during value selection will be reduced.
    Dialog depending on number of values: If the hit list contains less than 100 entries, it is displayed immediately. If the hit list contains more than 100 entries, the dialog box for restricting values is displayed.
    The following dialog types are possible:
    Immediate value display: The hit list is immediately displayed when the input help is called. This is only meaningful if the hit list usually only contains a few entries.
    Complex dialog with value restriction: The dialog window for restricting values is offered immediately. Choose this option if the list of possible entries is usually very large. If the user limits the amount of data to be processed, the hit list will become more comprehensible and the system load during value selection will be reduced.
    Dialog depending on number of values: If the hit list contains less than 100 entries, it is displayed immediately. If the hit list contains more than 100 entries, the dialog box for restricting values is displayed.
    Selection method for Search help
    Selection method refers to the database object (database
    table or view) from which data is selected and displayed
    in the hit list.
    The possible entries displayed for a field by the input help are determined at runtime by a selection from the database. When a search help is defined, you must define the database object from which the data should be selected by specifying a table or a view as selection method.
    The fields of the selection method are assigned to the parameters of the search help if their names are the same. Restricting the hit list, which is formulated with a parameter of the search help, is also used to formulate a WHERE condition for the field of the selection method having the same name (if one exists). Vice versa, the parameters of the search help appearing in the hit list are assigned the contents of the fields of the selection method having the same name.
    If the selection method is a table having a text table, the non-key fields of this text table can also be used in the search help. In this case the corresponding entries of the logon language are automatically taken into consideration in the selection. These columns remain empty for values that do not have text in the logon language.
    If the selection method is client-dependent, your client field may not appear as a parameter of the search help. The search help is always selected in the current client.
    Performance of an Input help
    We must ensure that the hit list is displayed in minimum
    time with minimum load on the system.
    It is imperative to optimize accessing behavior especially when selection uses a view and thus more than one table.
    This can be done by restricting the hit list
    By additional restricting conditions from the context.
    Restricting conditions entered by the user in a dialog.
    Performance of the input help could be greatly improved by creating an index on the fields used to formulate the restrictions.
    A large amount of data sometimes has to be searched in the selections for an input help. This means that the user might have to wait a long time for the possible entries to be displayed, and can also result in a significant increase in the load on the system.
    When defining a search help, you should therefore check whether you should take measures to optimize the accessing behavior for the selection method. This is especially true if the selection uses a view and thus more than one physical table.
    If the number of entries in the selection method is very large, you should restrict the hit list with further conditions. This also increases the clarity of the hit list. The additional conditions can directly result from the context, or can be entered in the dialog box for restricting values by the user. The performance of the input help can frequently be significantly improved by creating an index on the fields used to formulate the restrictions.
    If a restriction is defined with the secondary table of a help view, the selection is automatically performed as an inner join. In this case you should replace the help view with a database view.
    Attaching a search help to a field
    A search help can influence the behavior of a field when the input help is called. The search help must be assigned to the field in order to do this. You have the following options for this assignment:
    Attach search help to a data element / table or structure field / screen field / check table.
    Conventionally search helps are attached to table fields or data elements. We shall see the same.
    Choose the field name, click on search help tab and
    provide the name of the search help.
    A search help is attached to a field of a table or structure in the maintenance transaction for this table/structure, analogously to attaching to a table. You must assign the interface parameters of the search help to any fields of the table/structure. The search field must be assigned to an EXPORT parameter of the search help at this time.
    Attach the search help to the table field
    The search help ZSTRAVELAG_NAME is therefore directly attached to the field AGENCYNUM of table ZSTRAVELAG.
    Provide the search help name and the parameter name
    under the further characteristics tab of the data element.
    If the input help of a field is defined by its data element, no further screen fields can be used in the input help.
    Also note that the input F4 help would be available wherever the data element is used.
    A search help can be directly assigned to a screen field in two ways.
    The name of the search help must be entered in the Screen Painter in the Attributes for the field in the field Search help.
    The name of the search help can be defined for selection screens in ABAP reports in the PARAMETERS or SELECT-OPTIONS statement directly following the supplement MATCHCODE OBJECT.
    However, input help is only available for this particular screen.
    Collective search help
    A Collective search help provides alternative search
    Paths by combining elementary search helps.
    Only one search help can be attached to a field, table or data element. Several search paths are therefore attached with a collective search help.
    A collective search help also has interface parameters like
    an elementary search help.
    Like an elementary search help, a collective search help has an interface of IMPORT and EXPORT parameters with which the search help exchanges data. Using this interface, the collective search help can be attached to fields, tables and data elements exactly like an elementary search help.
    Parameter assignment needs to be done for each of the
    Included search helps.
    When you define a collective search help, there are no components for describing the dialog behavior and data selection; instead the included search helps are listed here. You must assign the parameters of the collective search help to the interface parameters of the included search help for each inclusion.
    User may choose the tab and thus the elementary
    search method.
    When we execute the search help SCUSTOM, we are confronted with a dialog which gives us an option of either restricting
    By 1)Search for customer according to booking
        2)Search for customer according to name.
    These are effectively the elementary search helps (SCUSTOM_BOOK and SCUSTOM_NAME) which have been included in the collective search help SCUSTOM.
    HOT KEY
    The hot key is used to select the elementary search help from the collective search help and to enter the restrictions in the dialog box for restricting values directly from the entry field. If the user often searches for values using the same search help, this procedure can save time.
    Reward if usefull

  • SAP GUI for JAVA - Search Help ALV display

    I need to be able to display search helps in the ALV grid format or the ' Dialog Modal ' option as seen on the <b>Settings for all F4 helps</b> tab under the personalize option for search helps.
    Currently when I am using a Macintosh machine the system ignores the system setting and my personal settings and displays all search results in an ABAP List format. Unfortunately the ABAP list format does not work correctly when used to input a field on another ABAP list report.
    This behaviour can be found on the Mozilla Firefox browser when SAP GUI for HTML and the SAP GUI for JAVA.
    Your help will be greatly appreciated.

    Hi Rolf-Martin,
    Thank you for your detailed explanation on how the ALV grid control is implemented for the SAP GUI for Java.  This has been pretty insightful.  The good news is that I finally figured out a solution to my problem.  You see I inherited an old custom program where an ABAP list is used as an interactive data capture screen with input fields.  Well a couple of fields had search helps. The program has worked fine with the regular SAP GUI until a MAC OS user tried to use it with the SAP GUI for Java.  Whenever they selected a line from the search help it would bring back the entire onto their input screen.
    A sample of the code:
    form search_help.
        CALL FUNCTION 'F4IF_FIELD_VALUE_REQUEST'
           EXPORTING
                TABNAME     = 'EKPO'
                FIELDNAME   = 'MATNR'
                SEARCHHELP                = 'ZMAT1_A'
                SHLPPARAM                 = 'MATNR'
           TABLES
                RETURN_TAB       = RET_TABLE.
    IF NOT RET_TABLE-FIELDVAL IS INITIAL.
       LINXX-XMATNR = RET_TABLE-FIELDVAL.
       MODIFY CURRENT LINE FIELD VALUE XMATNR FROM LINXX-XMATNR. " ****
    ENDIF.
    SET CURSOR 9 SY-CUROW.   " ********
    endform.
    The problem was being caused by the fact that the search help ABAP list was overriding the sy-XXXX values for the current line contents, index, pageno, cursor row for the calling ABAP list. So when a user selected a row from the search help this would now become the current context and be transferred back to the calling program. 
    The fix was pretty simple; all I had to do was save the current line context and the context prior to calling the search help.  After the search help was run I would then replace the current line with the saved one in my local variable.  I hope this makes sense. We now have a couple of happy MAC OS users.
    Once again I thank you for your patience and support in  this matter.
    Have a great day,
    Edwin.

  • How to add search help to custom infotype listbox??

    Hi All,
    How to add search help to custom infotype listbox??
    Thanks in advance

    Hi Vinay,
    We have search help and list box as 2 different options.
    At a time we can make a field a list box or a search help.List box is restricted and we can pick values from the defined list whereas in search help we can allow more entries and then validate the value entered later.
    Implementing a listbox or search help in infotype is same as that of implementing it in a modulepool .
    for search help..we can create a custom search help or check for existing search help in se11
    then in the screen on infotype field..assign the search help direcly at the screen painter level..
    double click on the field in screen painter -> change mode and then in the space for "search help" enter the search helps name
    for list box..in the screen painter ,make sure the field is selected as list box..then in PAI of screen we do a
    (Process on value-request..field fieldname module module name)..check syntax and other details...
    Using function module vrm_set_value fill the field and populate it as required
    Pls check and revert
    Regards
    Byju

  • 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.

  • 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.

  • 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

Maybe you are looking for

  • Installed Nokia PC Suite version 6.86.9.3

    Hi I downloaded and installed the latest PC suite today 19/06/2008 (hope it is). I now have problems sending sms's via the software, can not browse my images on the phone. Error that I get when browser opens is: Failed to start update. I have tried t

  • Os9.0.4 upgrade to tiger 10.4

    hello please can anyone help me. I have just bought a G4 dual 450 running OS9.0.4 and I do not want this os at all. I have tiger on dvd and have tried installing but it doesn't work. I now know that I must first upgrade os9.04 to os9.2.2 but have sea

  • [SOLVED] Can Pacman Manage My Custom Packages

    I am going to make a custom build of MPlayer because I want it patched to take advantage of the Compiz Video plugin.  I think I might enable a couple other options that are disabled as well.  The thing I'm not sure of is how pacman will react to my p

  • InternalFrame and FocusListener

    Hi All, Please help me. I have a Main Frame and a text field component in it, when i click on the text field i will open a internal frame, and this works fine. Now my requirement is when i click again outside the internal frame i.e anywhere on the ma

  • Is it only my iPhone? Please do this test for me.

    I noticed that in a dark room, I can see the backlight through the black front between the receiver(earpiece speaker) and the screen. I also noticed that i can see a little of it through the receiver. Am I the only one? This can be easily tested by m