Search help in WDA

Hi All,
I tried implementing the F4 help for a parameter in the iview.
The search help was standard one -> H_T508A.
I bindded the context element having this search help option and automatic as the Input Help Mode.
On testing the application, for htis F4 its throwing dump saying the attribute does not exist which is one of the parameter i nthe search help. But when I execute the search help separately, its wrkng fine.
Please put inur suggestions.
Thanks
Krithika

Hi,
I myself found the error. It is because when a search help is having import and export parameters in it, we need to create a separate attribute in context and bind it to the layout. We should not create a node say PA0007 and add the attribute from dictionary structure.
Thanks .
Krithika

Similar Messages

  • Dynamic Search Help in WDA Table

    Hello Expert,
    I would like to assign the standard search help for Webdynpro abap table in item level,
    I know using the below code we can assign the search help for particular input field ,
    DATA lo_nd_info TYPE REF TO if_wd_context_node_info.
               lo_nd_info = lo_nd_eqt_partner->get_node_info( ).
               CALL METHOD lo_nd_info->set_attribute_value_help
                 EXPORTING
                   name            = 'PARTNER' " Your attribute Name
                   value_help_mode = '121' " Valid value help mode
                   value_help      = 'DEBI'. " Search help name.
    But my scenario is i have one table which is having threee columns,
    Partner type   partner   name,
    so based on the partner type i would like to call the standard search help ,
    if the line item 1 is having partner type 'KU' then i need to assign DEBI search help
    if the line item 2 is having Partner type 'LI' or 'AG' then i need to assign KRED search help ,
    If the line item 3 is having Partner type 'AP' then i need to assign VKNK search help
    so please help me to achieve the same.
    Thanks,
    Sankar

    One method to achieve this functionality would be  :
    1. Find out the maintenance screen and function group of the table maintenance generator say 2000 and ZFGRP.
    2. Go to SE80 and open ZFGRP screen number 2000.
    3. For Field number 1 , it is assumed that there is already a standard search help for it.
    4. For field 2 - create a module in Process on Value Request Event in PAI of the maintenance screen ( Similar to any module pool program)
    5. Use FM DYNP_VALUES_READ to read the value of field 1 on the screen ( Because this is before enter is pressed and field 1 on the module pool porogram would not be populated with value )
    6.  While creating internal table for this FM, filter out all the values that are not required based on value obtained above.
    call the FM F4IF_INT_TABLE_VALUE_REQUEST( In Process on Value request event of field 2 in PAI)

  • How to create an elementary and collective search help in webdynpro

    Hi all,
    my requirement is i have to create an collective search help. and that should be same as other tcode search help functionality.
    and now the ztcode is in r3 system and my webynpro development is going on bw system how to copy that tcode from r3 to bw system. and then for my input field is cost center and for this input field i should create the search help functionalty.kindly help me how to achieve this functionality i am new to this webdynpro so kindly send me the detail steps.
    Thanks & Regards,
    Naveen

    Hi Naveen,
    There's no difference to using a collective search help or a regular search help.
    in the attribute of the context that you want the search helps to appear for - specify that the input help is of type dictionary search help, then specify that the input help is your collective search help.
    Search helps in WDA, if search help is available at dictionary level, no need to create any search help, you get automatically.
    If you want to create search help for any input field, another option is using OVS. we have WDR_OVS component for search helps, you need to reuse this component in your custom component, just change some coding according to your requirements you get search help.
    Go through these documentation and helps...
    http://help.sap.com/saphelp_nw73/helpdata/en/cf/21ee45446011d189700000e8322d00/frameset.htm
    http://help.sap.com/saphelp_nw73/helpdata/en/3d/e53642e2a3ab04e10000000a1550b0/content.htm
    OVS search help..
    http://wiki.sdn.sap.com/wiki/display/Snippets/OVSSearchHelpinWebDynproAbap
    freely programmed inputhelp
    http://wiki.sdn.sap.com/wiki/display/WDABAP/Freelyprogrammedinput+help
    http://wiki.sdn.sap.com/wiki/display/WDABAP/UsingSearchhelpattachmentsforWebDynproABAP
    Thanks,
    Kris.

  • Strange Issue With Search Help

    Hi Experts,
    I am stuck with a search help issue, when using a certain Help for an input field on my screen i am getting a "Value help dialog canceled" cancelled error , the same search help seems to be working fine
    when run from sap r/3.
    I am pretty sure the design part (Attribute binding and mentioning the search help in the context ) is correct and how it should be.
    Could Someone Please throw some lite on this issue.
    Thanks In Advance,
    Chaitanya.

    Hi Chaitanya,
    When reusing DDIC search helps in WDA, it may not always work as desired. Calls to classic screens in search help exits for example is one of the scenarios that works pretty well with SAPGUI but doesnt work with WDA.
    The following links may be of help!
    http://help.sap.com/saphelp_nw70ehp1/helpdata/en/47/9f724642314aabe10000000a42189b/frameset.htm
    Thanks,
    Chitrali

  • Org structure Search help

    In my WDA I would like to display an Org structure and allow to select Postion or Unit.
    In standard ABAP I would use a Search help for this - something like H_RMPS_DEPARTMENT.
    Could I do this in WDA?
    Thanks a lot.
    Tatyana

    Hi,
    You can use the dictionary search help in WDA too. For the context attribute for which you need the search help select the Input Help mode as "Dictionary Search help" and then provide the search help name.
    You can also develop a freely programmable search help too. Refer to the below link for more details-
    http://www.divulgesap.com/blog.php?p=NjQ=
    Also you can develop a search help using Object Value selector concept (OVS). Refer to the below link for more details.
    http://www.divulgesap.com/blog.php?p=NzA=
    Cheers,
    Ravikiran

  • 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

  • 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 implement SEARCH HELP for input field in WDA

    Hi All,
    I am doing a tool for my team. in this tool there are 4 input fields to show different processes. I implemented the 4 input fields and also bind the respective tables to these fields successfully. Actually I want to filter the data between 2 fields . Means the data in the 2nd input field should be based on the 1st input field. Means when I'll select for example 'CHI' (code for CHINA) in the 1st input field the 2nd field meant for country name should show all country name with value 'CHINA'. But the problem is that all values related to each field are in different table with no foreign key relationship and also some combinations are in single table..
    I have tried the import and export parameter method for search help but no luck till now.
    Can anyone please suggest me how to implement this scenario..
    Thanks in advance...
    sekhar

    Hi sekhar,
    Your Requirement can be implemented by OVS(Object Value selector) This is the custom search help .So that you can define on what basis the value has to be fetched.
    Look at the below link
    http://wiki.sdn.sap.com/wiki/display/WDABAP/ABAPWDObjectValueSelector(OVS)
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/606288d6-04c6-2c10-b5ae-a240304c88ea?quicklink=index&overridelayout=true
    You need to use the component WDR_OVS.
    It has 3 phases
    In phase 1
         You will fetch the value from input field to F4 help dialog box.
    In phase 2
         You will generate the search results , in this phase look for the input value given in field 2 and accordingly generate search result for the field 3.
    In phase 3
         The selected value will be returned to the original screen.
    Regards
    Karthiheyan M

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

  • Enhancing standard (single select)search help for Multiple value selection

    Hi,
    Standard search help for Business Partner (in cProjects) allows only single value selection for input fields. I want to make this multiple selection.
    Is there a way to do it.
    I used an OVS and built a similar search but its difficult to get the standard options like saving to personal value list etc in it.
    It would be good if there is a way to modify the standard search help to allow multiple selection. Any ideas??
    Appreciate your help,
    Thanks,
    Sri
    Edited by: Sri on Sep 9, 2010 8:50 PM
    Edited by: Sri on Sep 9, 2010 8:52 PM

    As far as I know you can't make a standard ABAP dictionary search help return multiple entries - where you get this sort of functionality the searches don't use the standard Elementary search help framework (e.g. organisational structure searches)
    Given that the WDA search help relies on these dictionary based searches, I'd think very much that you couldn't enhance it to return multiple. how you could even return multiple entries into a single UI element input field is also confusing to me.
    I'd suggest creating a freely programmed value help, it would certainly take quite some effort to recreate those personal value lists etc, but it could be done - I don't like OVS, but that just me.

  • About Running Remote Search Helps in SRM via Webdynpro ABAP

    Hi there,
    I am having troubles trying to implement an input help for a custom field in the standard Shopping Cart Portal page for item level.
    I would like to implement the same input help used in field Network of Activities, but as I can see in WDA component '/SAPSRM/WDC_UI_DO_ACC', it seems to use another component in order to run a remote Search Help (I assume it is an original search help from PS system).
    Does anybody know how to use this backend search help WDA Component? (/SAPSRM/WDC_UI_BACKEND_SH)
    I haven´t found any information regarding that :S.
    Another option would be to create a new RFC FM in PS returning the expected values, and use these entries to build a list value selector associated to the corresponding context attribute (This is not what I would like...)
    Thanks in advance!

    Vicente Ángel Lopez Romero wrote:
    > Hi there,
    >
    > I am having troubles trying to implement an input help for a custom field in the standard Shopping Cart Portal page for item level.
    >
    > I would like to implement the same input help used in field Network of Activities, but as I can see in WDA component '/SAPSRM/WDC_UI_DO_ACC', it seems to use another component in order to run a remote Search Help (I assume it is an original search help from PS system).
    >
    > Does anybody know how to use this backend search help WDA Component? (/SAPSRM/WDC_UI_BACKEND_SH)
    >
    > I haven´t found any information regarding that :S.
    >
    >
    > Another option would be to create a new RFC FM in PS returning the expected values, and use these entries to build a list value selector associated to the corresponding context attribute (This is not what I would like...)
    >
    > Thanks in advance!
    Figured it out.
    /SAPSRM/WDC_UI_BACKEND_SH is a 'freely programmed' search help used in SRM.
    1. Add this helpview (HV) component usage to your component controller, and view controller.
    2. Map HV SELECTION context to your view
    3. Modify the context attribute you want backend searchhelp to 'freely programmed', and select the component usage created in step above (note this is done dynamically in SAP code, b/c attribute is defined as dictionary search help in SAP components) -- this took a bit to figure out.
    4. IMPORTANT: Give your context attributes the SAME NAME (COST_CTR in my case) as those in structure /SAPSRM/S_CH_WD_MAP_ACC (how obvious was that)
    5. IMPORTANT: Set your LOGSYS in /SAPSRM/CL_PDO_VALHELP_FACTORY class - love those those factories (tic)
    DATA: lo_helper TYPE REF TO /SAPSRM/IF_PDO_ACCT_ASSGT_HLPR,
    CALL METHOD /SAPSRM/CL_PDO_VALHELP_FACTORY=>GET_ACCT_ASSGT_HELPER
    RECEIVING
    RO_ACC_ASSGT_HELPER = lo_helper.
    CALL METHOD lo_helper->set_searchhelp_control
    EXPORTING
    iv_logsys = ls_logsys-logsys.
    6. Now handle event DATA_SELECTED to get data from SELECTION, and move to your Context field.
    How simple was that? Yikes. I should have just built a custom dictionary search help to RFC over and call the BAPI for Cost Center List.
    - Tim

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

  • Trigger Automatic Search Help in WebDynpro for ABAP

    I have a WDA application for creating a Purchase Order. The first screen has 2 options - one for creating a PO from scratch; and one for copying an original PO.
    The second view ('Copy PO') for copying a PO has a single field (PO document) with a Search Help attached (freely programmed). The Search Help works well.
    Now for the question:
    When firing the second screen ('Copy PO'), I would like to trigger the Search Help without actually entering the view. Is there some way of firing an event that triggers the Search Help without entering the 'Copy PO' view?
    Any help would be gratefully accepted.

    hi gareth.......
                a solution for you.....
                   instead of triggering  a search help....
                  in you wddoinit method... call a popup which ahs a table with all the required values...
                 so when the user selects one... it has to be bound to an attribute....
                 which is then passed to the po field.
    ---regards,
       alex b justin

  • Change of Search help for location field in report incident

    Hi All,
             i have added new fields Region,BSA in the report incident form .here based on the region entered in the search help the corresponding bsa have to be displayed in the search help of BSA .these are achieved customising  the search help exit FM    EHFND_SHLP_EXIT_F4_BOBF_QUERY.
    similarly based on the BSA entered in the BSA field Location field search help should filter the values and display .the isues here are
    1. the location field and search help attached are standard and they are being used in many instances .
    2.when i click on the f4 help the control doesnt stop any where in the feeder class CL_EHHSS_INC_Q_LOC_UI_FRM of the form  though i put the breakpoints .ie the event on enter locid is not getting triggered.
    my question is where can i write the code to filter the values being displayed in the location search help.
    Thanks&Regards
    Luxmi

    Hi Luxmi,
    Dictionary-based search helps are triggered from directly within the WDA layer. Therefore, there is no callback from the FPM event loop. The filter would need to be implemented as an implicit enhancement of the aforementioned search help exit function.
    Thanks,
    James

Maybe you are looking for

  • Tag  found instead of tag IDOC BEGIN=

    I am doing file to IDOC. I see this error in SXMB_moni. Error: MSGGUID 55F5AB4083AC11DDA9030050569C7B40 Tag  found instead of tag IDOC BEGIN= What could be the issue.... Edited by: Harsha reddy on Sep 17, 2008 4:39 AM

  • Calendar sync problem - opposite of everyone else!!!

    Hello everyone. I have recently upgraded my device and my DM. I know have a problem that seems to be the exact opposite of the one everyone has...! Since upgrading my DM to 6.1.0.36, when I sync with Outlook it transfers to Outlook all the appointmen

  • Business Content Best Practise

    Hi Guys Just a quick request - I have activated BC a couple of times, but each time it takes longer than it should - missing certain areas, activate far too much etc. Apart from 'help.sap.com.', does anyone have any Best Practise guides or docs on BC

  • Printing a waveform chart

    i am trying to print a waveform chart and it prints but it does not display the data on the printed copy of the graph? here is my VI Harold Timmis [email protected] Orlando,Fl *Kudos always welcome Solved! Go to Solution. Attachments: test1.vi ‏269 K

  • Appstore Download Button Doesn't work

    Hi everybody, I Have iPhone 5. I'll update 6.02 to 6.1 on ota. I Have this appstore problem. And  yesterday I'll restore to 6.1. But  continues to this problem . "Download" and "Update" Button not work.. What can i do?