Search help assign

Hi,
I have created search help.
1.How to assign this search for soem standard fields.
2. Is it possible to create search input for several fields e.g.. if I input city name , other field should be populated with values of city / pstlz, region.../
ps. I have authority to change standard SAP program / object key/

Hi,
I agree with ajay tiwari,
1)You can assign search help to fields by using matchcode object.
Example:
select-options s_matnr for marc-matnr matchcode object mat1h.
My Search help is mat1h and I am assigning to s_matnr.
2)You can also assign search help in table, at the Data Element level. The field is available in u201CFurther Characteristicsu201D tab.
3) You can create separate search help for all fields and then assign them. It may not be possible to fill multiple screen fields from a single search help.

Similar Messages

  • Import screen field value into search help assigned to a different field

    Hi,
    I have created an elementary search help based on a custom DDIC table ZSH_SHHLDR. Dialog Type: Dialog depends on set of values, search help parameters:
    Parameter                       Import     Export   LPos SPos  SDis
    FOLIO                                X                       1       1         X
    CERTN                                             X         2       2
    where FOLIO and CERTN are fields in my table.
    There are two fields in my program defined as like FOLIO and CERTN respectively. These fields are screen fields in a custom dynpro created using Screen Painter. The search help is assigned to the CERTN field. In the screen, I want that the contents of the FOLIO field should be imported into the search help, i.e. on the screen:
    FOLIO: 21353
    CERTN: <F4>
    When I click on F4 help for CERTN, I want that the FOLIO parameter in the search help should contain the value for FOLIO that I entered in the text box on the screen. Is there a way to do this, through an exit for instance? Help is appreciated, thanks.
    Regards

    Hi,
    You need to use the below statement.
    process on value-request.
    field zcom_doa_users-zzjob_role module sub_tes_module.
    Here I declared three fields in the screen fields from structure zcom_doa_users. Try to name the fields with table name-field name. So inside the module in structure zcom_doa_users you will get given value for the other fields also.
    Now you can do your own processing for f4 help.
    Thanks
    Subhankar

  • How to assign search help for custom cost centre field in SRM 7.0

    Hi Experts!!
    We are currently working in SRM 7.0.As per our business requirement, in account assignment tab we need to use a custom
    cost centre field (ZCOST_CENTRE) instead of standard cost centre field.It is observed that for standard cost centre field there is a standard web-dynpro search-help assigned where it will return the F4 search help values from backend.
    Can any one of you please help me how can I assign the search-help for the custom cost centre field. Is there any FM to call the backend cost centre search help for custom field or any other way how can I achieve this?
    Thanks in advance.
    Regards,
    Kalyani

    kalyani,
    i can see your requirement in below way..
    as it just reads: you need to assign the standard cost center help to a z cost center field in component /SAPSRM/WDC_UI_DO_ACC.. which actually is fetched though the component /SAPSRM/WDC_UI_BACKEND_SH
    so, if you see the component controller of SAPSRM/WDC_UI_DO_ACC you will see the component
    USAGE_SH_F4     /SAPSRM/WDC_UI_BACKEND_SH                        
    USAGE_SH_F4     /SAPSRM/WDC_UI_BACKEND_SH     INTERFACECONTROLLER
    so you can replicate the same functionality for your z field.
    but can you clarify one thing.. why are you going for this z field in place of standard field ?

  • Error while creating search help

    Hi,
    I am getting an error "Elementary search help without hit list is meaningless" while creating a search help,.what could be the problem?
    Thanks,
    Rakesh.

    Elementary search help without hit list is meaningless
    Diagnosis
    The flag that they should appear in the hit list is not set for any of the parameters in the elementary search help in question. An elementary search help without a hit list is meaningless because it is not possible to select a value from the set of possible values in the input help process which it describes.
    System Response
    The action is terminated abnormally.
    Procedure
    In the maintenance screen for the search help, assign at least one parameter a position in the hit list.

  • Value Transport (Exporting) to multiple screen fields in Search Help

    Hi all,
    I have created elementary search help using exit and attached it to data element. After F4 when I get hitlist I want all the values from the selected rows to get copied to the screen fields. I.e. I want the value transport.
    In the search help I am exporting those values which I want to get copied back but I am unable to get the result.
    With Regards,
    Chandra

    Hi,
        You can get this behaviour only by making the SEARCH HELP assignment at the STRUCTURE level.
    You need to create or use an existing structure to create your screen fields which you want to populate using the search help. Then assign this search help directly to the structure and there do the mapping between structure fields and the search help export params.
    Only by doing this you can autopopulate the values using one search help.
    Regards,
    Sesh

  • 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

  • Attaching a search help to a selection screen "Select-options"

    Hello ABAPers,
    I have  a requirement to attach a search help to "select-options" .
    When I checked the table corresponding to the field of select-options,I found that there is no search help assigned for that field.
    I have tried using AT Selection-screenON VALUE-REQUEST and Matchcode Object .
    However, Matchcode Object requests for standard search help name.
    On value-request assign shelp only for the lower linit,but on pressing F4, gives no values found.
    Tried using  the FM F4IF_INT_TABLE_VALUE_REQUEST also. But this is for the POV event.
    Could anyone please suggest a solution for this problem?

    Hi,
       As you are using this Z search help in select options there is no way of interfering with standard SAP table.
    You can declare it as:
    Select-options QNAME for TQRFCOUT-QNAME matchcode object <Z search help name>.

  • Search Help Parameters Import and Export??

    Hello,
    In my WDA View i have some <b>InputFields</b>, which are mapped to Context which is copied from a Dictionary Structure. For all Input Fields i have a corresponding Search Help assigned in the Dictionary Structure. Search Help for some of the InputFields require value of other InputFields.
    Now, in the WDA when i click on Search Help of any InputField the values for some of the parameters from Input Field which are already set are not being shown in the Search Help Restrictions window. I have already checked and made sure that the field name and data element types are maintained the same in Dictionary Structure and associated Search Help. I even checked for the import checkbox in search help and everything looks fine to me from Dictionary Search and Search Help.
    Can anybody please tell me what should i do to get the values in the Search Help Restriction window which have been already selected in the View InputFields?
    I hope i managed to explain my problem correctly, if not then please tell me so i could describe in more detail.

    I figured it out. I forgot to assign the Field Name in the Dictionary Structure. Thanks.

  • Search help for Standard SAP field

    Hi,
    I need to add a search help to Group key (KONZS) field in XK01 transaction. How can i add our own search help to a field in standard transaction?? This is some what urgent, please give me the solution .
    Thanks in Adavance,
    Moghani.

    You can APPEND your own search help to an SAP field that has search help defined.  This is similar to APPENDing fields to an SAP table.  But since field KONZS does NOT have any search help assigned, this option is not available to you. 
    You can also attach the search help to a field on a screen, i.e. limit the scope to that single screen, but this would still require a modification to the system, and hence, an access key.  If you want to follow that route, the program name is SAPMF02K, screen 120, element list tab, references tab, search help column.
    If you find another way to do this without an access key, please let us know.

  • Change search help for each line of a web dynpro table

    Hi all i have got the following code to dynamically change the search help of a single field on a web dynpro app and was just wondering if anyone could show me the code for implementing it onto a table so that the same field on each row has a different search help assigned to it!
    CALL METHOD node_info->set_attribute_value_help
    EXPORTING
    name = 'DEPT'
    value_help_mode = '121'
    value_help = 'PREMN'.
    Regards
    Mart

    Hi,
    it is possible to have different search help for same table column for different context elements i.e. table lines. the way to acheive this is by using cell variants in table column.
    Steps to follow:
    1. In your table column insert cell variant. Depending upon number of variations for search help, insert that number of cell variants in table column
    2. Enter the value of variant key property of each cell variant for ex. 01 for first cell variant and 02 for second cell variant
    3. Insert cell editor for each of cell variant. for ex. if you have 2 different search helps for single column then insert two cell variant in table column and for each cell variant insert cell editor, let say input field in this case
    4. Bind the value property of each input field to different context attribute of the node. for ex: you have table with two columns i.e. Dynamic and fldate
    .  First column is Dynamic. It will have two cell variants and each cell variant have cell editor of type input field  i.e. depending upon the value of second column i.e. fldate, the search help of first column will be decided.
    5.  Create context node from structure "SFLIGHT" and select 3 components from structure i.e. Carrid, connid, fldate. Add another context attribute to same context node i.e. selected_cell_variant of type string
    6. Bind each of context attribute carrid and coonid to value property of cell editor i.e. input field of cell vairaints from column Dynamic
    7. Bind value property of cell editor i.e. input field of fldate column to context attribute fldate
    8.. Bind selectedCellVariant property of table column Dynamic to context attribute selected_cell_variant
    9. Now, Write method at the wddoinit of view to fill up the context node from table sflight table
    10.  Write event handler for event OnEnter of cell editor from table column FLDATE. in this event handler depnding upon the date set the value of context attribute "selected_cell_variant" to 01 or 02
    DATA lv_date TYPE S_DATE.
      ASSERT CONDITION context_element IS NOT INITIAL. " context_element is default paramter for event handler
      context_element->get_attribute(
        EXPORTING
          name  = 'FLDATE'    " NAME
        IMPORTING
          value = lv_date    " DATA
      IF lv_date > '20101016'.
        context_element->set_attribute(
          EXPORTING
            value =  '01'   " Attribute Value
            name  = 'SELECTED_CELL_VARIANT'     " Web Dynpro: Name of Context Element
      ELSE.
        context_element->set_attribute(
          EXPORTING
            value =  '02'   " Attribute Value
            name  = 'SELECTED_CELL_VARIANT'     " Web Dynpro: Name of Context Element
      ENDIF.
    11. Depending upon the value of selectedCellVariant the corresponding search help will show up in table column. So change the value of column fldate for each table row and see how search help gets changed.
    Thanks,
    Rahul
    Edited by: Rahul Yadav on Oct 17, 2010 12:09 AM

  • Passing input parameter to an standard search help

    Hi all.
    I have the following code into my Z report:
    PARAMETERS:
    p_bukrs TYPE t8jv-bukrs OBLIGATORY,
    p_vname TYPE t8jv-vname OBLIGATORY MATCHCODE OBJECT h_t8jv.
    The SHLP H_T8JV has the field BUKRS as an import parameter. When the user executes the SHLP (press F4), I would like for it to reflect the value indicated by the user into the selection parameter P_BUKRS.
    How can I do this?
    Regards.
    Gregory.

    I guess you want to allow F4 to both parameters p_bukrs and p_vname, and both values have to be passed to the search help forth and back?
    I also guess that vname is the first parameter of this search help?
    In that case, you must not use MATCHCODE OBJECT at all, because it will link only one field at a time.
    Instead, you must find out a structure (or create it) that have these 2 fields, each having the H_T8JV search help assigned (with correct parameter assignment too), and the selection screen parameters must refer to this structure.

  • Search help for QE01

    Hi Gurus
    I have a req to attach a search help for a SAP standard screen. I looked at the fields and there is no search help assigned for the data element.. Is there any alternative to attach search help for a Std data element or for a standard screen element
    Thanks.

    Hi,
    It seems like you need to go for C++ custom Addin  Devlopment.
    Regards,
    Anil.

  • Search Help in Select - Options

    Dear experts,
    i use three select options and they work fine.
    In the node of the view i declared the attributes i need and bound a search help (F4 help) to them.
    here is the problem.
    One attribute has the help visible when i start the application, the other two not.
    Can you give me a hint how to solve this ?
    Thanks and best regards
    René

    Hi Rene,
    I had the similar question earlier, later what i have found is like this:
    1. I have a WDC with three Select options to it.
    2. First Select options relates to the first attribute in my context node which takes the Data element as the Data type. For Ex: take BUKRS as the DE. This has pre-defined search help to the DE C_T001.
    3. Second select options relates to the second attribute in my context node which takes the string as the data type. I manually assigned the Search help to that attribute 'C_T001'.
    4. Thirs Select options relate to the third attribute inmy context node which takes the string as the data type. I manually assigned a Search help to it 'H_T002'.
    5. In the WDDOINIT of my view, I have written the code as follows in the bottom of the post.
    6. The observation is the search help assigned to the first attribute will be opened with out any problem or additional code to it.
    7. The search help assigned to the second one at the context level wont be picked in the select-options.
    8. The search help assigned to the third one will be picked if and only if there is manual assignment of the search help at the time of creating a selection field.
    Conclusion: So, the search help assignment assigned to the attribute at context level is ignored. It will be considered only if the DE has that search help in the case of select-options.
    Hope it is clear and appreciate your feebback.
    Regards,
    Shashikanth. D
    First Select option.
    Instantiating the Used component WDR_SELECT_OPTIONS
      DATA lo_cmp_usage TYPE REF TO if_wd_component_usage.
      lo_cmp_usage =   wd_this->wd_cpuse_select_options( ).
      IF lo_cmp_usage->has_active_component( ) IS INITIAL.
        lo_cmp_usage->create_component( ).
      ENDIF.
      wd_this->m_wd_select_options = wd_this->wd_cpifc_select_options( ).
    init the select screen
      wd_this->m_handler = wd_this->m_wd_select_options->init_selection_screen( ).
      wd_this->m_handler->set_global_options(
                                  i_display_btn_cancel  = abap_false
                                  i_display_btn_check   = abap_false
                                  i_display_btn_reset   = abap_false
                                  i_display_btn_execute = abap_false ).
    create a range table that consists of this new data element
      lt_range_table = wd_this->m_handler->create_range_table( i_typename = 'BUKRS' ).
    add a new field to the selection
      wd_this->m_handler->add_selection_field( i_id = 'BUKRS'
      it_result = lt_range_table i_read_only = read_only ).
    Second select option.
    Instantiating the Used component WDR_SELECT_OPTIONS
      DATA lo_cmp_usage1 TYPE REF TO if_wd_component_usage.
      lo_cmp_usage1 =   wd_this->wd_cpuse_use_select1( ).
      IF lo_cmp_usage1->has_active_component( ) IS INITIAL.
        lo_cmp_usage1->create_component( ).
      ENDIF.
      wd_this->m_wd_select_options1 = wd_this->wd_cpifc_use_select1( ).
    init the select screen
      wd_this->m_handler1 = wd_this->m_wd_select_options1->init_selection_screen(  ).
      wd_this->m_handler1->set_global_options(
                                  i_display_btn_cancel  = abap_false
                                  i_display_btn_check   = abap_false
                                  i_display_btn_reset   = abap_false
                                  i_display_btn_execute = abap_false ).
    create a range table that consists of this new data element
      lt_range_table = wd_this->m_handler1->create_range_table( i_typename = 'STRING' ).
    add a new field to the selection
      wd_this->m_handler1->add_selection_field( i_id = 'IF1'
      it_result = lt_range_table i_read_only = read_only ).
    Third Select options:
    Instantiating the Used component WDR_SELECT_OPTIONS
    DATA lo_cmp_usage2 TYPE REF TO if_wd_component_usage.
    lo_cmp_usage2 =   wd_this->wd_cpuse_use_select2( ).
    IF lo_cmp_usage2->has_active_component( ) IS INITIAL.
      lo_cmp_usage2->create_component( ).
    ENDIF.
    wd_this->m_wd_select_options2 = wd_this->wd_cpifc_use_select1( ).
    init the select screen
      wd_this->m_handler2 = wd_this->m_wd_select_options2->init_selection_screen(  ).
      wd_this->m_handler2->set_global_options(
                                  i_display_btn_cancel  = abap_false
                                  i_display_btn_check   = abap_false
                                  i_display_btn_reset   = abap_false
                                  i_display_btn_execute = abap_false ).
    create a range table that consists of this new data element
      lt_range_table = wd_this->m_handler2->create_range_table( i_typename = 'STRING' ).
    add a new field to the selection
    CALL METHOD wd_this->m_handler2->add_selection_field
      EXPORTING
        i_id                         = 'IF2'
        it_result                    = lt_range_table
        i_value_help_type            = IF_WD_VALUE_HELP_HANDLER=>CO_PREFIX_SEARCHHELP
        i_value_help_id              = 'H_T002'.

  • Searc help in entry help/Check tab vs Search help in Further Char-Data elem

    Folks,
    I have a screen field which is linked to a structure.When I look at that structure's entry help/check tab in se11 this field is having a collective search help.Now I want this to be replaced by a Z search help.
    If my understanding is right I need access key for this structure so that I can link the z search help in entry help/check tab against this field.
    My query is whic is the right way
    1.Linking the z search help in the entry help/check tab against that field in the structure at SE11 level
        or
        Linking the Z search help in Further Characterisitics tab of the data element used by this field.
    Either way the search help will be reflected at all the places wherever this field is available in the screen.Am I right ?
    or
    2. Linking the search help to a data element is different from linking the seach help to the field in that structure in entry help/check tab ? If they differ how do they differ.Kindly let me know
    Thanks,
    K.Kiran.

    Not true.
    Search help assigned at data element level is independent of that assigned at structure level, and the latter has higher priority. Please read "Input Help Hierarchy in the ABAP Dictionary":
    http://help.sap.com/saphelp_470/helpdata/en/9f/dbaa5435c111d1829f0000e829fbfe/content.htm
    The structure level assignment can (and generally is) linked to more than one field, not only the one that triggers the search help. That depends on the search help importing and exporting parameters. The data element assignment can only affect the field in which it is used.
    Nevertheless, even the search help defined at structure level could be overriden in the program (e.g. PARAMETERS...MATCHCODE OBJECT, AT SELECTION-SCREEN ON VALUE-REQUEST, PROCESS ON VALUE-REQUEST, etc). If that is not your case, it's the structure assignment that you want to change (have into account that it will affect any other dynpros which use that structure).

  • Search help Field positions

    Hi,
    Is it possible to change the field positions in the Hit List of a standard search help without using the access key?
    Please let me know.
    Thanks,
    Binu

    Hi Binju,
    I am not sure whether this will be listed in SPAU during upgrade.
    Yes, you didnt require access key to change field positions, add/delete search help parameters which are available in selection method i.e database/view fields for search help.
    This change effect the search help assigned to data eleements and tables assigned in SAP, so be caution before doing the change. If your change is specific to a particular instance then go for append search help. Copy the search help and provide this search help as new tab to your standard search help.
    Thanks,
    Vinay

Maybe you are looking for

  • How can I share DVD drive on Windows with multiple ODD?

    My Windows machine have 2 ODD -- one CD ROM drive, another DVD R/W (and one more virtual drive, which I think is irrelevant) Installed "DVD or CD sharing" and remote computer is visible from Air via remote disk. BUT when I connect and request for use

  • IPhone pre-order and number switchover...

    So my questions is if I pre-order my phone and I want my number converted over, does this happen at pre-order time or does something else have to happen? thanks for any help... - Telpereon

  • My serial number is not being validated

    The serial number is C02G50EDDRJL.  It is printed on the back of the ocmputer and is not being accepted as validated to get on support chat.

  • I using 4s and upgrade new version IOS8 but my unit is very slow why?

    I using 4s and upgrade new version IOS8 but my unit is very slow why?

  • IPhoto 4 freezing

    I have iPhoto 4.0.3. Today I tried to show a slide show with music. I've done it before, but it's been months. It doesn't seem to make a difference which photos or which music I use, but after a couple of minutes the music stops, then iPhoto freezes.