How to apply custom search help

i have a field in the selection screen for plant entry
i want there to display all the plants that are in my own created table and NOT the entries of T001W table
how to do that

Hi Karan Chopra,
                       This is kiran kumar.G(working on sap).I will read all the replies for ur answer.i will develop a small code 4 u.i will execute that code that is executing perfectly try this.
if  u r satisfy  with my answer plz give me  REWARD POINTS..
        HAVE A NICE DAY..
i have to send a code for matnr filed.U have to according to ur requirement ok.
CODE:
REPORT  ydemo87                                 .
Global Data  (MATNR = 18 IN LENGTH)
DATA: var(18).   "It Must Be Character bcz MATNR field is a char type
Parameters for Input the Data
PARAMETERS: p_matnr(18).
Global data
DATA: t_ret_table LIKE STANDARD TABLE OF ddshretval,
      fs_ret_table TYPE ddshretval,
      t_dynp_fields LIKE STANDARD TABLE OF dynpread,
      fs_dynp_fields TYPE dynpread.
Selection screen
AT SELECTION-SCREEN OUTPUT.
PLACE BELOW STATEMENT COMPULSORY
AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_matnr.
  CALL FUNCTION 'F4IF_FIELD_VALUE_REQUEST'
    EXPORTING
      tabname                   = 'MARA'
      fieldname                 = 'MATNR'
   searchhelp                = 'MAT1'     "ANY NAME U WANT TO GIVE
  SHLPPARAM                 = ' '
  DYNPPROG                  = ' '
  DYNPNR                    = ' '
  DYNPROFIELD               = ' '
  STEPL                     = 0
  VALUE                     = ' '
  MULTIPLE_CHOICE           = ' '
  DISPLAY                   = ' '
  SUPPRESS_RECORDLIST       = ' '
  CALLBACK_PROGRAM          = ' '
  CALLBACK_FORM             = ' '
  SELECTION_SCREEN          = ' '
TABLES
   return_tab                = t_ret_table
EXCEPTIONS
   field_not_found           = 1
   no_help_for_field         = 2
   inconsistent_help         = 3
   no_values_found           = 4
   OTHERS                    = 5
  IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
        WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
  ENDIF.
  READ TABLE t_ret_table INTO fs_ret_table INDEX 1.
  CLEAR t_dynp_fields.
  fs_dynp_fields-fieldname = 'P_MATNR'.
  fs_dynp_fields-fieldvalue = fs_ret_table-fieldval.
  APPEND fs_dynp_fields TO t_dynp_fields.
  CLEAR fs_dynp_fields.
SELECT SINGLE matnr FROM mara INTO fs_dynp_fields-fieldvalue WHERE matnr
EQ fs_ret_table-fieldval.
  APPEND fs_dynp_fields TO t_dynp_fields.
  CALL FUNCTION 'DYNP_VALUES_UPDATE'
    EXPORTING
      dyname               = sy-repid
      dynumb               = sy-dynnr
    TABLES
      dynpfields           = t_dynp_fields
    EXCEPTIONS
      invalid_abapworkarea = 1
      invalid_dynprofield  = 2
      invalid_dynproname   = 3
      invalid_dynpronummer = 4
      invalid_request      = 5
      no_fielddescription  = 6
      undefind_error       = 7
      OTHERS               = 8.
  IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
        WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
  ENDIF.
Just Display the value
START-OF-SELECTION.
  var = p_matnr.
  WRITE:/ var.

Similar Messages

  • How to pass custom search help(F4 help) for a field in ALV output?

    Hi,
    I want to activate the F4 help in ALV output for a field for which we do not have search help assigned at table ,data element and domain level.
    In field catalog i have enabled it by below line.
    ls_fcat-F4AVAILABL = 'X'.
    but because there are no standard input help available it is giving message as "No input help is available".
    so how to pass our custom search help (g_search) for any field in ALV output.
    I am using object oriented ALV grid display.
    Thanks!!!
    Rajesh Gupta.

    hi,
    check this out:
    http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/b3d5e890-0201-0010-c0ac-bba85ec2ae8d
    http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/acdefb13-0701-0010-f1a2-8eeefa7d3780
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/b3d5e890-0201-0010-c0ac-bba85ec2ae8d?quicklink=index&overridelayout=true

  • How to Assign Custom Search Help to the standard tcode ME53N.

    Hi All,
    Can any help me  out.
    I have created a custom Collective Search ZH_T023_MEPO, I want it to be assigned it to the Tcode ME53N. Replacing the standard one H_T023_MEPO. and i also need to restrict it for only one Plant for other Plantu2019s  standard search help H_T023_MEPO should work as usual

    Hello
    The search help in the item overview (of the purchase order) is H_T023_MEPO whereas in the item details section (tabstrip Material Data ) it is H_T023.
    Thus, there would be at least two search helps that you need to change or modify.
    I would suggest a different approach assuming that your requirement is to restrict the search help under certain conditions (e.g. plant). Implement the BAdI ME_PROCESS_PO_CUST and implement two methods:
    PROCESS_ITEM = check material group of item and invalidate if required
    (IF_PURCHASE_ORDER_ITEM_MM~INVALIDATE)
    CHECK = closing check of entire PO (in case of invalid material groups return CH_FAILED = 'X'
    Regards
      Uwe

  • Custom search help in ADOBE Interactive form

    Hi All,
    I am trying to apply custom search help on a field on my ADOBE interactive form. This custom search help would require
    import parameters which are some other fields on the same form.
    How would I pass them ?
    Thanks & Regards,
    Deb

    Hi,
    Hope, these links will help you.
    F4 Value Help on Adobe Interactive Form with Web Dynpro ABAP
    /people/community.user/blog/2006/11/20/search-help-in-isr-adobe-forms
    /people/shruti.rathour/blog/2008/05/05/ovs-help-in-web-dynpro-abap
    with regards,
    Mamta

  • Custom Search Help for Business Agreement field in transaction BP.

    Dear Experts,
    My requirement is to add Custom search help to Businees Agreement field (BUPA_CRMM31-BUAG_ID) in transaction code BP.
    PLease guide me how to add Custom search help to Businees Agreement field which dont have search help option.
    Regards,
    Bala

    Hello there,
    I think the requirement/question is not very clear in your post.
    However, the segment Java applet calls a CRM class which has related code and methods.
    Class:  CL_CRM_MKTTG_SEGAP_COM
    Package: CRM_MKTTG_SEG_APPLET.
    Please explain the problem in detail.
    Regards,
    Vinamra.

  • Custom search help exit through stand search help SD_MAT1

    Dear Experts,
    How to prepare custom search help through stand search help(SD_MAT1).
    My requirement: In VA01 transaction, material(matnr) search help, adding custom search help.
    Regards,
    Abbas.

    Dear Abijith,
    How to write custom search help(FM) code with parameters and how match with search help parameters in search help exit.  Please give some sudo code.
    Regards,
    Abbas.

  • Custom search help in sap field in standard transactions.

    I have a requirement that I have to add a custom search help in XREF2 of bseg table either in fb02-f-43.
    For FB02.
    Display document.
    Select a Line Item.
    Go to Additional Data tab in menubar,a pop-up will come, where we will get the Reference1 fields .
    My requiremnt is to add a custom input help having 3 constant values.
    For F-43.
    Give account , date etc in first screen.
    Go to next screen give the amount.
    Go to more data will get the fields in left side-no pop-up will come.
    Help needed

    hi, Jkuma,
    we met the similar situation with you while developing a anpplication form for HR.
    our conclustions are:
    1. it's not feasible to put all the data into the form, it will make the form too big and slow, so it must be a online interactive form
    2. you may put a search field to let the user to input some kind of criteria and do the search on the r3 side and return the hit list on the form , but it's not so easy to develop a table control on the form using javascript to get the selected one.
    3. so we built a 'selection screen' , using webdynpro for abap,
    it will show up before the form, while can use ddic search help, to make the selection, then put all the selected entries into the adobe form for further processiong.
    how this is helpful hint for you.
    br.
    jun

  • Custom search help in WD for ABAP

    Hi
    I have a Text field which does not have any input help. Now I have a custom Search help object in my R/3 store. How do i use this search help object for displaying the values for this Text field. I believe there is some standard  method  available for this. Kindly help me out.
    Regards,
    <i><b>Seema</b></i>

    Context->Dictionary Search Help.

  • Custom Search Help for the field Equipment number

    Hi,
    I have enchanced sales order transaction and included a field Equipment number(EQUI-EQUNR).
    Here after pressing F4(Search help) standard search help is display.
    I have a requirement wherein, the standard search help should not appear and a customised search where a specific Equipment category type values should appear in the search help.
    Ex. Field equipment  category (EQTYP).EQUNR(Equipment Number).
    Please let me know how to work for the customised search help.

    Hi,
    You need to create a customized search help.
    [Elementary Search Help - Structure|http://help.sap.com/saphelp_nw04/helpdata/EN/cf/21ee38446011d189700000e8322d00/content.htm]
    [Creating Elementary Search Helps|http://help.sap.com/saphelp_nw04/helpdata/EN/cf/21ee5f446011d189700000e8322d00/content.htm]
    Then you need to attach the search help to the screen field..
    [Assigning Search Helps to Screen Fields|http://help.sap.com/saphelp_nw04/helpdata/EN/cf/21ee93446011d189700000e8322d00/content.htm]
    [Hierarchy of Search Help Call|http://help.sap.com/saphelp_nw04/helpdata/EN/0b/32e9b798da11d295b800a0c929b3c3/content.htm]
    regards
    Nitesh

  • CL_BSP_WD_REFERENCE_TOOL Custom Search Help

    Hi,
    I tried to implement custom search help exactly as the guide "How-To Guide: Implement Value Helps in GenIL Components" instructed but I am facing a problem.
    I am using CL_BSP_WD_REFERENCE_TOOL to store a reference of the context node class to be used in the search help class to get filter data, but it is not working, in method IF_BSP_WD_CUSTOM_F4_CALLBACK~RETRIEVE_CUSTOM_VALUES that I implemented the IR_CUSTOM_REF is initial.
    I debbugged standard class CL_THTMLB_F4HELP method GET_HELP_VALUES and noticed that when it is calling the same class to get the reference the table inside the class that should have the reference is empty:
    STANDARD CODE
    * Retrieve the reference to use if any.
          READ TABLE gt_sel_options WITH KEY shlpfield = if_bsp_wd_custom_f4_callback=>gc_key_ref INTO ls_option.
          IF ls_option IS NOT INITIAL.
    *  the value in "low" might have been cut off, so get the safe one
            lr_ref = cl_bsp_wd_reference_tool=>get_reference( iv_controller_key = lv_key_str ).
          ENDIF.
    I am wondering how that could be possible that a static class has different information when called inside the context node class and when called in CL_THTMLB_F4HELP, the only explanation I have is that the BSP application that is responsible to display the F4 view is statelless.
    Does anyone was able to pass a reference to method IF_BSP_WD_CUSTOM_F4_CALLBACK~RETRIEVE_CUSTOM_VALUES?
    The code that I implemented:
    Inside the V Getter method I set the reference, so class CL_BSP_WD_REFERENCE_TOOL insert into its internal table that is a static attribute my reference:
    lo_iterator = me->collection_wrapper->get_iterator( ).
      IF lo_iterator IS BOUND.
        lo_entity ?= lo_iterator->get_by_index( iv_index ).
      ENDIF.
      IF lo_entity IS BOUND.
        CONCATENATE 'FIELDNAME_VSTEL' lv_str_index INTO lv_controller_key.
        CONDENSE lv_controller_key NO-GAPS.
        CALL METHOD cl_bsp_wd_reference_tool=>set_reference
          EXPORTING
            iv_remove_existing = abap_true
            iv_controller_key  = lv_controller_key
            iv_controller_ref  = lo_entity.
        CONCATENATE '\''' lv_controller_key '\''' INTO ls_map-context_attr.
        ls_map-f4_attr      = if_bsp_wd_custom_f4_callback=>gc_key_ref.
        APPEND ls_map TO lt_inmap.
      ENDIF.
    * Output mapping
      CONCATENATE 'TABLE[' lv_str_index '].VSTEL'
          INTO ls_map-context_attr.
      ls_map-f4_attr = 'KEY'.
      APPEND ls_map TO lt_outmap.
      CREATE OBJECT rv_valuehelp_descriptor
        TYPE
          cl_bsp_wd_valuehelp_f4descr
        EXPORTING
          iv_help_id                  = '(ZCL_SOCR_CONTLIST_F4)'
          iv_help_id_kind             = if_bsp_wd_valuehelp_f4descr=>help_id_kind_comp
          iv_input_mapping            = lt_inmap
          iv_output_mapping           = lt_outmap
          iv_trigger_submit           = abap_false.
    Then in my class ZCL_SOCR_CONTLIST_F4 method IF_BSP_WD_CUSTOM_F4_CALLBACK~RETRIEVE_CUSTOM_VALUES I try to obtain my reference:
    IF ir_custom_ref IS BOUND.
                TRY.
                    lo_entity ?= ir_custom_ref.
                    lo_parent = lo_entity->get_parent( ).
                  CATCH cx_sy_move_cast_error.
                ENDTRY.
              ENDIF.
    But in vain because in the standard code of class CL_THTMLB_F4HELP when its call static method CL_BSP_WD_REFERENCE_TOOL=>get_reference  the static table attribute that should have the references is empty.
    Does anyone have an explanation how a static class can have different data during the execution of the same program, same user session?
    Thanks,
    Mauricio

    Hi,
    Any Ideas?

  • Additional columns in customer search help

    Need to add 5 additional fields in customer search help. The problem is i have to fetch data from ADR2 (active telephone and mobile number) ADR6 active email id. In table condition i have mentioned kna1-adrnr = adr2-adrnr, kna1-adrnr = adr6-adrnr.
    So the search help is displaying only the record which is having adrnr number in adr2 and adr6. but the client wnat to display all the kunnr irrespective whether they are having mail id or telephone number. How to achieve it???
    Is it is possible to add columns thru search help exist.
    regards
    Mullai

    Create a copy of VTBAA and append your fields...

  • How to assign a search help

    Hi
      How to assign a search help for the particular field
    in any screen.
    By
    Prashanth

    Hi,
    **How to assign a search help for the particular field
    in any screen.
    -  insert the event PROCESS ON-VALUE-REQUEST in the program and add a field statement for the field that should trigger the F4 help. In the mdoule called from <b>PROCESS ON-VALUE-REQUEST</b>, call function module
    F4IF_FIELD_VALUE_REQUEST.
    <b>Samples code:</b>
    PROCESS ON VALUE-REQUEST.
    FIELD it_zsd00003-prctr MODULE f4_help_for_pctr.
    MODULE f4_help_for_pctr INPUT.
    CALL FUNCTION 'F4IF_FIELD_VALUE_REQUEST'
    EXPORTING
    tabname = 'ZSD00003'
    fieldname = 'PRCTR'
    SEARCHHELP = ' '
    SHLPPARAM = ' '
    dynpprog = 'ZSD00002_BRUGERKONV_LISTE'
    dynpnr = '0100'
    dynprofield = 'IT_ZSD00003-PRCTR'
    STEPL = 0
    value = '50*'
    MULTIPLE_CHOICE = ' '
    DISPLAY = ' '
    SUPPRESS_RECORDLIST = ' '
    CALLBACK_PROGRAM = ' '
    CALLBACK_FORM = ' '
    TABLES
    RETURN_TAB =
    EXCEPTIONS
    FIELD_NOT_FOUND = 1
    NO_HELP_FOR_FIELD = 2
    INCONSISTENT_HELP = 3
    NO_VALUES_FOUND = 4
    OTHERS = 5
    IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    There is <b>on more example with code</b> , just copy and paste the code and design the screen and you will be able to find ur search help.
    Find the code:
    Re: Creating customized search helps in Dialog Programming
    Hope this will help you.
    Cheers
    Sunny
    Rewrd points, if found helpful

  • 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

  • Based on Characteristics, populate variants/article through custom search help

    Dear Experts,
    In IS-Retail, MM43 transaction, based on characteristics how to display variant number/s(matnr) through custom search help.
    Regards,
    Abbas.

    Hi Syed,
    This is possible, if you set the field attributes of the screen as given below.
    Program Attirbutes:
    Check the checkbox for 'Output Field'
    Check the checkbox for 'Output Only'
    Display Attributes:
    Check the checkbox 'As label on right'
    Regards
    Gangadhar

  • Custom Search help in Record Working Time

    Hi,
    We have a requirement to add a custom field on RECORD Working Time ( ESS). This field has been added and custom search help is assigned to the data element of the field. The values in the F4 help should vary based on employees department.
    The related code for this requirement is written in the serach help exit. The F4 help is working as expected from backend ( ECC) but not in Portal (ESS).
    I have added the custom field in TCATS_SHLP_ITS. After maintaining this table all the values in F4 help are displaying , whereas it should only display the values under employees department in Record Working time.
    I understand the class cl_xss_cat_value_help_general is responsible for the search help in ESS is there any user exit or enhancement available for this class in order to control the serach values on ESS.
    Thanks in advance.
    regards,
    Pradeep

    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

Maybe you are looking for