How to display Hierarchy in WDA Search help

Hello Experts,
Please let me know if i can display hierarchy (tree like structure) in WD ABAP search help,i am quite new to WD ABAP.
Any suggestions and inputs would be very helpful.
Thanks & Regards,
Siddharth

I think tree UI element will be useful to you. Pls refer following links for more help:
[Link1|http://help.sap.com/saphelp_nw70/helpdata/en/21/ad884118aa1709e10000000a155106/content.htm]
[Link2|http://help.sap.com/saphelp_nw70/helpdata/en/59/a98b411fb4b05fe10000000a1550b0/frameset.htm]
[Link3|http://help.sap.com/saphelp_nw70/helpdata/en/5a/088b41b4b3b25fe10000000a1550b0/frameset.htm]
I had similar requirement of search help in my project. I had created component with tree ui element and called it using component usage in another component on click of button. I hope this will help you.
Regards,
Saket.

Similar Messages

  • How to display Hierarchy tree in F4 help ?

    Hello All
    Sorry , this time i have a pure ABAP question .I have requirement where i have to extract the cube data into a flat file as per user's selection selection screen.On selection screen , there are various characteristics of cube such as COmpany code , kind of business etc.This characteristics have both master data as well Hierarchy.User can select anything .If he selects hierarchy, then i have to show him hierarchy in F4 help.
    HOw is this possible?Please let me know if anybody knows any clue regarding this.
    Thanks and Regards
    Yogesh Mali

    Hi Yogesh,
    You want to show the F4 funtionality in a report or an Abap program. If you have to show it in a query/report then right click on the characteristic ->properties -> click on the hierarchy list and you will find a option for variable. Create the variable and it will be a selection option when the user executes the query showing all the hiararchies available when F4 is pressed.
    Bye
    Dinesh

  • How to replace a field's search help of DDIC in FPM feeder class?

    Hi All,
    I want to replace a field's search help in DDIC structure, for an example, in structure HCMT_BSP_PA_XX_R0009, the field BANKL(Bank Keys) has a search help named 'H_BANKL', I want to replace this search help with other one such as 'H_BANKEY' in the FPM feeder class CL_HRESS_PER_DETAIL, I redefined such method:
    method if_fpm_guibb_form~get_definition.
    field-symbols: <fs_field_description> like line of et_field_description.
    call method super->if_fpm_guibb_form~get_definition
    importing
    es_message = es_message
    eo_field_catalog = eo_field_catalog
    et_field_description = et_field_description
    et_action_definition = et_action_definition
    et_special_groups = et_special_groups
    ev_additional_error_info = ev_additional_error_info.
    read table et_field_description assigning <fs_field_description> with key name = 'BANKL'.
    set search help name of field 'bank key'
    if <fs_field_description> is assigned.
    <fs_field_description>-ddic_shlp_name = 'H_BANKEY'
    endif.
    endmethod.
    I test it and found the search help window was replaced indeed, but all the value of import/export parameters in the new search help was lost, it means, the value of import paramer BANKS(Bank country) and the export parameter BANKA(bank name) were lost. Only the value of BANKL itself can be returned by the new search help window. Can you give me some suggestions about how to maintain the link( value exchange) between structure HCMT_BSP_PA_XX_R0009 and dynamically defined search help 'H_BANKEY' in FPM feeder class?
    I tried to use sap memory ID but it doesn't works well.

    This question was answered at [Webdynpro Forum|how to replace a field's search help of DDIC in FPM feeder class?;:
    That is because for the import and export of DDIC Search help values to work in WDA, not in FPM layer.Feeder Class can do nothing about it.

  • Qtn: I have 10 standard elementary search helps in collective standard search help, how to deactivate the 10th elementary search help?

    Qtn: I have 10 standard elementary search helps in collective standard search help, how to deactivate the 10th elementary search help?

    Hello,
    this topic is still a problem for me, does anybody have an idea.
    Just to show what's my problem:
    Collective Search help KRED does include a SAP append-search help ASH_KRED which holds the elementary search helps KREDC, KREDE, KREDM, KREDW.
    The search helps KREDE, KREDM, KREDW should not be displayed, so I added another Serach-Help-Append ZKRED_CUST at the end of CSH KRED which holds these 3 SH's with the hidden flag.
    That works, the SH's are not shown anymore.
    I also added some other of the Original SAP SH's (e.g. KREDA) with the hidden flag and added changed copies of these (e.g ZKREDA) there to be shown instead.
    All this can be done modification free by appends.
    The folders of the elementary search helps are shown in the order as they are found included in the KRED SH and the append to this SH.
    This means that the not hidden Sh KREDC from ASH_KRED is shown before all the "custimized" ZKREDx -SH's. But we need this SH not very often, so that I want it to displayed al the right-most position of the folders of SH's or at the most down postition of the drop-down-selection of SH's.
    But I have not found any way to do this modification free.
    The only way to archive this is to modify ASH_KRED by setting the Hidden-Flag for KREDC and add this SH at the end of append-SH ZKRED_CUST again.
    But I want avoid this modification.
    So, is there any way to do this without modifing any of the original SAP SH's ?
    Helmut Fischer

  • How can we create a Collective search help

    Hi all sap experts,
    How can we create a Collective search help on field “OBJECT” which allows to search tables
    o   ARCH_OBJ
    o   TOJTB (Search help: H_TOJTB)
    on 2 tabs.
    Thanks,
    Basu

    Hi
    1) 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).
    2) Collective search helps combine several elementary search helps. A collective search help thus can offer several alternative search paths.
    3)An elementary search help defines the standard flow of an input help.
    4) A collective search help combines several elementary search helps. The user can thus choose one of several alternative search paths with a collective search help.
    5)A collective search help comprises several elementary search helps. It combines all the search paths that are meaningful for a field.
    6)Both elementary search helps and other search helps can be included in a collective search help. If other collective search helps are contained in a collective search help, they are expanded to the level of the elementary search helps when the input help is called.
    CREATION:
    Go to SE11  Tcode
    select search help
    give the 'z' search help name and create
    select the selection method ur table name eg : 'mara'
    dialog module 'display value immediately'.
    add the field whatever u want and lpos = 1 and spos = 1 and check import and export parameter.
    where left position when displaying and spos = search position
    and then save and activate ..
    See the links:
    http://help.sap.com/saphelp_nw04/helpdata/en/cf/21ee38446011d189700000e8322d00/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/cf/21ee45446011d189700000e8322d00/content.htm
    pls go through this for search help creation
    http://help.sap.com/saphelp_nw2004s/helpdata/en/41/f6b237fec48c67e10000009b38f8cf/content.htm
    Search Help Exits:
    Re: dynamic values for search help
    Re: Dynamic search  help
    Reward points for useful Answers
    Regards
    Anji

  • How can we create a Collective search help  plz tell me with steps

    How can we create a Collective search help  plz tell me with steps
    thanks,
    basu

    Hi
    1) 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).
    2) Collective search helps combine several elementary search helps. A collective search help thus can offer several alternative search paths.
    3)An elementary search help defines the standard flow of an input help.
    4) A collective search help combines several elementary search helps. The user can thus choose one of several alternative search paths with a collective search help.
    5)A collective search help comprises several elementary search helps. It combines all the search paths that are meaningful for a field.
    6)Both elementary search helps and other search helps can be included in a collective search help. If other collective search helps are contained in a collective search help, they are expanded to the level of the elementary search helps when the input help is called.
    CREATION:
    Go to SE11  Tcode
    select search help
    give the 'z' search help name and create
    select the selection method ur table name eg : 'mara'
    dialog module 'display value immediately'.
    add the field whatever u want and lpos = 1 and spos = 1 and check import and export parameter.
    where left position when displaying and spos = search position
    and then save and activate ..
    See the links:
    http://help.sap.com/saphelp_nw04/helpdata/en/cf/21ee38446011d189700000e8322d00/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/cf/21ee45446011d189700000e8322d00/content.htm
    pls go through this for search help creation
    http://help.sap.com/saphelp_nw2004s/helpdata/en/41/f6b237fec48c67e10000009b38f8cf/content.htm
    Search Help Exits:
    Re: dynamic values for search help
    Re: Dynamic search  help
    Reward points for useful Answers
    Regards
    Anji

  • Heading texts not appearing correctly in WDA search help

    Hello experts,
    I am facing a problem in WDA. I have a field(Profile Key) in my WDA application which takes the input search help automatically from the data dictionary. When I execute my application the F4 help is displayed for the field on pressing F4 but the problem is: the heading texts are not appearing properly(instead dots are dispalyed) for few of the fields in the search help's value list. Some observations:
    1. heading texts are not properly displayed for columns whose field length is 1 or 2.
    2. in DDIC, heading labels are maintained for the logon language
    3. same search help works fine in R/3, the problem is only with WDA
    How can I solve this problem? Please help with your inputs.
    Thanks,
    Yuvaraj

    The problem can be solved by applying the note no 1100420.
    Regards,
    Yuvaraj

  • How to add Value Table or Search Help for a field which is on Standard SAP?

    Hi All,
        I have a field HERST (tcode IE01) which doesnt have any value table or search Help. I have the same field in a Z table which I should display for the standard screen field in tcode IE01. So Pls suggest me on this.
        Thanks in advance.
    Regards
    Jaker.

    Hi, Tamas,
    I found the reason. The function Z_WEBRFC_READ_DATA_SH had a string concatenation error.
    CONCATENATE '{"results":[{"key": "shlpname", "value": "' l_shlp '"},"key": "fieldname", "value": "' l_field '"}]}' INTO htmldoc-line.
    The correct code is like:
    CONCATENATE '{"results":[{"key": "shlpname", "value": "' l_shlp '"},{"key": "fieldname", "value": "' l_field '"}]}' INTO htmldoc-line.
    Another question is, I can't get any words in Chinese from WebRFC. It returns error when I try it. How can I configure it?
    Xin

  • How to create SELECT-OPTION in search help (search) field

    Hi All,
    We have created a search help using Help view as selection method.
    But, we want to have a SELECT-OPTION for one of the search parameters. How do we implement the same ?
    Regards,
    Ashish

    hi
    try  this
    CALL FUNCTION 'F4IF_FIELD_VALUE_REQUEST'
      EXPORTING
        TABNAME                   = 'YRJEMPDETAIL'
        FIELDNAME                 = 'L_NAME_LOW'
    *   SEARCHHELP                = ' '
    *   SHLPPARAM                 = ' '
       DYNPPROG                  = 'SAPMZRJ_HELP'
       DYNPNR                    = '9000'
       DYNPROFIELD               = 'LAST_NAME_LOW'
    *   STEPL                     = 0
    *   VALUE                     = ' '
    *   MULTIPLE_CHOICE           = ' '
    *   DISPLAY                   = ' '
    *   SUPPRESS_RECORDLIST       = ' '
    *   CALLBACK_PROGRAM          = ' '
    *   CALLBACK_FORM             = ' '
    *   SELECTION_SCREEN          = ' '
    * IMPORTING
    *   USER_RESET                =
    * 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.
    CALL FUNCTION 'F4IF_FIELD_VALUE_REQUEST'
      EXPORTING
        TABNAME                   = 'YRJEMPDETAIL'
        FIELDNAME                 = 'L_NAME_HIGH'
    *   SEARCHHELP                = ' '
    *   SHLPPARAM                 = ' '
       DYNPPROG                  = 'SAPMZRJ_HELP'
       DYNPNR                    = '9000'
       DYNPROFIELD               = 'LAST_NAME_HIGH'
    *   STEPL                     = 0
    *   VALUE                     = ' '
    *   MULTIPLE_CHOICE           = ' '
    *   DISPLAY                   = ' '
    *   SUPPRESS_RECORDLIST       = ' '
    *   CALLBACK_PROGRAM          = ' '
    *   CALLBACK_FORM             = ' '
    *   SELECTION_SCREEN          = ' '
    * IMPORTING
    *   USER_RESET                =
    * 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.
    hope this helps
    Regards
    Ritesh J

  • How to code my logic in Search Help Exit

    Hi,
    I need to add my own Search Help say MATOG in Material MATNR Collective Search Help MAT1-> Collective Search help MAT1_A.
    Is it possible?
    And , when I need to add my own logic in Search Help exit for my particular Search Help, how should I code?
    Thanks,
    Shivaa..

    Hi,
    Go through below link, it gives you step by step approach in implementing search help exit.
    https://wiki.sdn.sap.com/wiki/display/Snippets/ImplementingSearchHelp+Exits
    Regards,
    Raghavendra

  • Display multiple feild from search help into screen feild

    Dear Expert,
    I create a search help which have 2 parameters.
    The 1st parameter is as like as ztable field.
    but 2nd parameter is not a data base field. It display only the value from value table.
    Now I want to use it on a ztable when insert data from zreport.
    I also take a text field to display the 2nd parameter which is not in DDIC.
    how can I display 2nd parameter on the screen text field ?
    pls help me.
    Thanks
    rayhan

    not proper answer

  • WDA Search Help Multiple Selection

    Hello everyone,
    I've managed to integrate a standard search help into my WD ABAP application.
    The thing is that from the search help pop-up I can select multiple rows but when I select more than 1 row in the help value list the OK button is greyed out.
    I would like to select more than 1 entry and transfer it back to the associated input field, like a list of values separated by a comma.
    How can I implement this?
    Thanks!

    To be honest I didn't mean that.
    I've integrated a standard search help in my WDA, just defining a context attribute bound to a dictionary field having a search help. Now I'd like to have a multiple selection enabled for it.
    What I am getting is a General Value List from which I cannot transfer multiple values back to the caller.
    Is there a way to do it?

  • Customizing WDA Search Helps

    We are using the standard SAP search help DEBIE for the data element KUNNR but there are several features we wish to disable:
    1) Personal Value List
    2) Settings
    3) "Restrict Number of Value List Entries To"
    4) Advanced Options (yellow icons)
    What possibilities are there to customize this in WDA?

    Hello Marc,
    I think we can do this via Search Help Exit. Check out the demo application WDR_TEST_DDIC_SHLP. In this check the option "Standadrd Test cases->Search Help Exits". Here they shown an example of hiding personal value list.
    But I'm not sure how its done.. May be this can help you start with.
    BR, Saravanan

  • How to have radio button in search help ?

    Hi,
    I have a requirement in which on pressing F4 the user will input value of a document number on displayed search help screen. I need to provide two radio buttons there based on selection of which i will determine the values in my search help exit.
    To clarify more, i am in CRM system and user runs a transaction crmd_order but he doesn't know the contract document number to open. He knows a sales document reference number so he presses for F4 help where he can input the sales document reference number to get available contracts. Now when he/she enters the dsles document number they need to choose which kind of contract should be displayed ( Two kind of contracts : proposal and schedule ). Based on user input i will search in help exit and display the output.
    Any help would be appreciated.
    Regards
    Apoora

    Hi Apoorva,
    i think you can write below code just to show the Pop-up for details.
    this you can write on POV or at selection screen-output.. when ever the user changes the Radio button the logic will be triggered and pop-up is triggered..
      CALL FUNCTION 'REUSE_ALV_POPUP_TO_SELECT'
        EXPORTING
          i_title               = 'Batch Number Selection'           "Pou-up Heading..
          i_selection           = 'X'
          i_screen_start_column = 5
          i_screen_start_line   = 5
          i_screen_end_column   = 50
          i_screen_end_line     = 20
          i_tabname             = 'T_BATCH'                  "Internal Tbale
          it_fieldcat           = gt_fieldcat_drd[]
        IMPORTING
          es_selfield           = gc_selfield
        TABLES
          t_outtab              = t_batch                       "Internal Tables with Valuess
        EXCEPTIONS
          program_error         = 1
          OTHERS                = 2.
      IF sy-subrc <> 0.
      ENDIF.
    regards,
    Prabhudas

  • How can I call a specific search help from and still get all the tabs

    hello
    I use F4IF_FIELD_VALUE_REQUEST to display a specific search help from my program. This search help is included in a collective search help, but only the one specified search help is displayed.
    Is it possible to call the collective search help and display one specific search help ?
    Example: in CRM i have a collective search help BUPA. When F4 is issued from a customer field the search help "Search customer" should be displayed, and not the last search help which was activated - i.e.. "Search employee".
    best regards
    Peter Christiansen

    Hi,
    you can try some thing like this..
          CALL FUNCTION 'F4IF_FIELD_VALUE_REQUEST'
            EXPORTING
              TABNAME           = 'KNA1'
              FIELDNAME         = 'KUNNR'
              SEARCHHELP        = 'DEBI'
            TABLES
              RETURN_TAB        = LT_RETURN
            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.
    Regards
    vijay

Maybe you are looking for