Event Handler is not getting trigger for Freely Programmed search help

Hi All,
   I am having a component comp1 defined for value help with one event. In component comp2 i want to call the comp1 but the event handler which i have created is not getting triggered. Any reasons for it.
Thanks
Raghavendra

Hi Kumar,
Please check these forum threads.
Re: Help required on Freely Programmed Input help
Re: Custom search help

Similar Messages

  • Freely Programmed search help - Accessing Alternative node

    Hi Experts,
    I am trying to use Freely Programmed search help for calling a custom WD component on pressing of F4 of an input field.
    I have done everything required and the component is being called properly as well.
    The issue here is that i need to pass two values to the the custom WD component on F4. As suggested in one of the threads I used F4_CONTEXT_ELEMENT to get the reference of the source context node and attributes. But the problem is that this gives reference to only that node which has the input field with F4 help (which is being used to call the custom component). The values which i need to pass are present in some other node.
    Can you please suggest a way of accessing the other node to retrieve and use the values in the custom component called?
    Regards,
    Ritvik
    Edited by: Ritvik Prasad on Mar 31, 2010 5:16 AM

    Hi Manas,
    Thanks for the suggestion. I had thought about it too. But the problem that i faced was that no event is triggered/Method called on pressing of F4 on that input field (its internally handled in the framework). In that case what should be the method/event where i should copy the values from the other node to the new attributes created so that it reflects in the Custom component?.
    If you could just elaborate on that it would be really helpful.
    Hi Chris,
    Thanks a lot for this. That actually sounds like fun. I tried looking for options to do that. Although i can get to the node from the element using "GET_NODE" but there I could not find the method "GET_PARENT_ELEMENT" to get the parent element (context as you said). Is there any other method which could possibly return the parent element which i could eventually use to get to the other node.
    It would be great if you could help out with this.
    Thanks ,
    Ritvik

  • Freely Programmed Search Help

    Hi there,
    I have a WebDynpro application with two fields.  The first field has Dictionary search Help on it.
    The second field has a Freely Programmed input help.  The problem I am faced with is that the freely programmed search relies on the value of the first field to determine it's own values - i.e The first field is a contract, and the second field is an item on the contract.  So if the contract changes, so should the list of items provided in the Help.
    Now the way that this works is that the user selects a contract, then selects an item, then completes the fields in a PDF document.
    They press the button Save and Clear which saves the data, clears all the fields, and is then ready for the next lot of data.
    Although I can clear out all the fields, I don't know how to trigger the refresh of the Freely Programmed help.  The first time it is used it gets the right data, and after that it always shows the same data, - I just don't know how to trigger a refresh.  Basically I want it to refresh every time it is used!!
    Many thanks
    Jack

    Hello Jack,
    hmm... it should refresh itself, because you determine what goes in and out. Probably, you need to clean up some nodes in your freely programmed search help component as well i.e. upon leaving.
    Best regards,
    Thomas

  • Freely programmed search help with external mapping

    Hi all.
    I have a freely programmed search help to search for physical inventory items.
    I map some data from the component where i use this search help to this search help via external mapping. This works fine.
    But in the search help I want to be able to change the mapped data to perform a new serach. When I change the data and start the action to search again (in the serach help component)  I still get the old field value from context so that the search returns the same result. When I close the search help afterwards the changes are suddenly visible in the using component. So my entered data are somehow transfered to the original context but not to the context of the used component.
    Any ideas?
    Thanks
    Sascha
    Message was edited by:
            Sascha Dingeldey

    Hi Sascha,
    I would suggest, that you do not work with the externally mapped attribute.
    Try to copy the value to a "local" attribute in the searchhelp context while WDDOINIT of the component.
    This is the attribute you should use for the search.
    When you change the searchvalue, it is only changed in the comnponent.
    To get the values back to the calling component you need to copy it back while you call the action submit or exit.
    Hope this helps
    Best regards, Matthias

  • Freely program Search Help

    hi,
    I am using a freely program search help. In this i have two buttons OK and Cancel.
    I have put these buttons in the view under the search table. But my requirement is that, buttons should come at the window level, not in the view, like in dictionary search help.
    Please suggest how can i achieve that.
    Regards,
    Pankaj Aggarwal

    Use a container and every element in Container.

  • Freely Programmed Search help in Std Comp

    hi,
    Is it possible to add freely programmed searh help in standard SAP Component.
    I have dynamically assigned Freely search help to Context attribute using  set_attribute_value_help method.
    Now new component to be used in seach help is made in different package and this component is used as Used Comp
    in Std Component.
    When I click on search help it gives error : Comp usage ZHelp doesnt exist.
    zhelp- My component name.

    You have to add the component usage to the Standard Component, just like you would add the Freely Programmed Search help component usage to any component that wanted to call the search help.
    Component usages can be added using the Enhancement Framework:
    http://help.sap.com/saphelp_nw70ehp1/helpdata/en/46/233f2189f74f08e10000000a114a6b/frameset.htm

  • Event Handling for free programmed search help bond dynamically in SO

    Dear Expert,
    I met a problem of how to handle an event raised by a free programmed search help - (F4), and this F4 is invoked
    by a field defined in a Selection Option component (WDR_SELECT_OPTIONS) - SO. 
    The scenario is that I would like to update the SO after the user multiple select some entries in the F4. I could tranfer
    back all the value chosen in the F4 to the consumer SO, but I can not update the icon in the SO(e.g  in SO, multiple values will be
    displayed with a green arrow icon), because I could not define a handler in SAP standard component SO, and it looks like there is no chance to catch the event triggered at the end of selection in F4.  (this event belonged to this F4)
    Welcome any suggestions or ideas, Thanks very very much. 
    In Addition, I use this way to enable the F4 for SO
    lo_so_component->create_cmp_usage_group(
         name = 'F4_TRANSPORT'
         used_component = 'ZTRANSPORT').

    thanks all

  • Button's Event Handler Method not getting triggered

    To add a button I have written the following code:
    clear ls_button.
        l_import = 'Mass Upload'.
        l_enabled = 'X'.
        clear ls_button.
        ls_button-on_click = 'UPLOAD'. "IMPORT FILE
        ls_button-text     = l_import.
        ls_button-enabled  = l_enabled.
        INSERT ls_button INTO rt_buttons INDEX 5.
    Created a new Event Handler method for it and wrote the following code:
    gr_file_popup = comp_controller->window_manager->create_popup(
        iv_interface_view_name = 'ZSRQM_INCID_H/FileUploadwindow'
        iv_usage_name = 'ZCufileupload'
        iv_title = l_title ).
      gr_file_popup->set_on_close_event( iv_view = me iv_event_name = 'upload' ).
      gr_file_popup->open( ).
    When i run in th component in debug mode,my event is not getting triggered.
    Please suggest.
    Regards
    Najam

    Try the following code in first part...
    clear ls_button.
        l_import = 'Mass Upload'.
        clear ls_button.
        ls_button-on_click = 'UPLOAD'. "IMPORT FILE
        ls_button-text     = l_import.
        ls_button-page_id  = me->component_id.
        ls_button-enabled  = abap_true.
        INSERT ls_button INTO rt_buttons INDEX 5.

  • Automatic PO output Determination do not get trigger for SRM Classic impl

    Hello,
    We have implemented SRM 7.0 classic scenarios. We have set up system in such a way that whatever user put in Preferred Supplier at Shopping cart while saving the shopping cart we convert it to Supplier partner type and once approved create PO in ERP system.
    Things are working perfectly fine but the problem we are facing is Output determination. We have Vendor email address maintained in vendor master and placed Condition type in MN04 for vendor with Immediate output of email.
    But whenever PO is being created that automatic output determination is not being triggered...
    Could anyone please help what thing i am missing.
    Thanks
    Ritesh

    Hi,
    Please check the created condition record in MN06 in all aspects i.e. partner fucntion name, Medium (5), Language, etc.
    I believe  you have created the condition record with the combination of vendor/pur.org/document type.
    Also check the Actual processing tab and general data is there any check box against Locked field.
    Thanks
    Rajesh K

  • How to add Freely programmed input help in FPM Search UIBB?

    Hi Experts!
    We have a requirement to create search UIBB in which the input field should have a freely programmed input help.
    I see that WD_VALUE_HELP parameter can be set to the component name and it displays the freely programmed help as well in the application.
    However, I am still digging to implement the search help open and close events of the component.
    I have used the Freely programed value help standard demo object  " FREE_VALUE_HELP "  which shows the value in the help popup however, the selected value is not returned in the input field.
    I am also unable to find any Interface as provided for implementing OVS in search UIBB as well...
    Please help.

    Hi Aliaksandr,
    Thanks for your response.
    I have checked this WDA application demo_value_help .... but it is a normal WDA application.
    However, I want use freely programmed search help in Search UIBB using FPM.
    I found that we can provide the component name used as freely programmed search help in the attribute WD_VALUE_HELP of Interface IF_FPM_GUIBB_SEARCH.
    https://help.sap.com/saphelp_nw74/helpdata/en/03/f2474b6d9a49f4b5a3ed6f04decf22/content.htm?frameset=/en/56/d151c3ba7b4b2e82068a084cb991f3/frameset.htm
    And it displays the search help as well when I do F4 on the field of Search UIBB. But, we need to provide event handler for events - VH_WINDOW_CLOSED and VH_WINDOW_OPENED of the search help component (Component which is provided in WD_VALUE_HELP) some where in the Feeder class, in order to get the selecteed data from the search help, which I am unable to do.
    Do you have any idea of such implementation?
    Appreciate your response!

  • Problem in Select Option Freely programmed F4 Help

    Hi All,
    I had a Component 'A'  where i used select option. I used Freely programmed search help for the select option field.
    If i click F4 in the select option field it will call one component in which i have one more select option in component B.
    In component B select option field if i manually entering value and search and click apply values button the values are comming in the select option field in component A.
    But if i pressing the F4 in Component B and search and click apply values the value are not comming in the Component 'A'.
    If i open again component B and closing it without any action the value is coming in component A.
    If i debugged and see the WDDOMODIFYVIEW of tHE WDR_SELECT_OPTION is not getting called for component A.In which it has Rendering delta method of CL_WDR_SELECT_OPTION.
    Any idea about this.
    Regards,
    Ganesh.

    hi Ganesh,
    i have read your post several time and i am still not able to get hold on your problem. Probably it is to do with your complex approach of nested select_option, i can not judge why you did this way. I would advice you to step back and see it for yourself
    1)if it is need to have nested select_option
    2)check component initialization and destroy
    2)check event subscriptions

  • Help required on Freely Programmed Input help

    Dear all,
    I have developed a component, say comp1, in which i have implemented the interface IWD_VALUE_HELP.
    In the respective view(MAIN) of Comp1 i have a dropdown which contains a list of company codes fetched from T001 table.
    Apart from these two, I have also embedded the Main view into the window WD_VALUE_HELP.
    Now, I have created another component, say Comp2, in which i Used the dynpro component Comp1, and also in the MAIN view of my Comp2. Now in the MAIN view of Comp2 I have created a input field from the node T001 in the context which contains the single attribute BUKRS type String. In the properties of the BUKRS attribute I have also changed the Input help to "Freely Programmed" and linked to the component for the Input help.
    After this, I have created the application for my component Comp2. When i run the application and when i press F4 on the input field i am able to get the window from Comp1 component, and a dropdown with values.
    Now the question is, How can i pass the value selected in that window of Comp1 into the input field of Comp2? we do the same in OVS, when ever a value is selected from the Hitlist, it will be cascaded into the input field, just like that i want to do here.
    Please suggest me how to do this, and also please tell when to go for Freely programmed Input help and its advantages.
    Thank you,
    Shashi.

    You can do as suggested already and use interface nodes and cross component mapping; but that is all really not necessary.  It creates a situation where you calling application is too dependent upon the freely programmed input help.  You want to try to avoid the situation where the calling application needs code or mappings to communicate with the input help.
    That is easy to do because the framework passes all the information you need into the freely programmed input help via the value_help_listener object. 
    Part of the Freeley Programmed Input Help Component should be the component interface IWD_VALUE_HELP.  This comes with a component controller method called SET_VALUE_HELP_LISTENER.  This allows your freely programmed value help to capture this object called listener of type IF_WD_VALUE_HELP_LISTENER. I generally just store it awa into a component controller attribute.
    With this listerner object you have direct access to the context attribute in the calling component. You can query information about the calling UI element and of course set values directly back into it.  The listener is a hugely helpful object and should be the way you interact with the calling component whenever possible.  Here is small example:
      set single attribute
      wd_this->value_help_listener->f4_context_element->set_attribute(
      exporting
        name = wd_this->value_help_listener->f4_attribute_info-name
        value = l_time

  • Freely Progrramed Search Help The Window Is Blank

    Hi,
    I am using Freely Programmed Search help and I created a component for provision of F4 values.
    This Component works fine Individually.
    But when I am using this component in another component The pop up I am getting is a Blank.
    Please help me in this issue

    HI Thomas,
    How are you testing standalone?
    Yes I am testing by directly executing the Application in the component.
    I created the time component for providing Value help , I created a application for it and its working fine.
    but when I am using it in another its not working showing just a blank pop up.
    How is you data selection performed?
    I have a table which will be filled using select options for a Date range.
    In the table I have the Time field for which I have to provide the time Value Help.
    after providing the Values I have to Save to database
    Do you have the IWD_VALUE_HELP component interface implemented? Are you using the SET_VALUE_HELP_LISTENER method of the interface? What internal processing are you doing with the LISTENER object?
    I have done exactly the same as you described in the Document.
    code of my Set_value_help_listener Method
    wd_this->value_help_listener = listener.
      IF wd_this->value_help_listener->f4_attribute_info-rtti->type_kind NE 'T'.
        DATA: error TYPE string.
        error = wd_assist->if_wd_component_assistance~get_text(
        key = 'E01' ).
    * get message manager
        DATA: l_current_controller TYPE REF TO if_wd_controller,
        l_message_manager TYPE REF TO if_wd_message_manager.
        l_current_controller ?= wd_this->wd_get_api( ).
        l_message_manager =
        l_current_controller->get_message_manager( ).
    * report message
        l_message_manager->report_fatal_error_message( message_text = error ).
      ENDIF.
      DATA: item_time TYPE syuzeit.
      wd_this->value_help_listener->f4_context_element->get_attribute(
                                       EXPORTING name = wd_this->value_help_listener->f4_attribute_info-name
                                       IMPORTING value = item_time ).
      DATA: node_internal_node TYPE REF TO if_wd_context_node,
            elem_internal_node TYPE REF TO if_wd_context_element,
            stru_internal_node TYPE if_componentcontroller=>element_internal_node .
    * navigate from <CONTEXT> to <INTERNAL_NODE> via lead select
      node_internal_node = wd_context->get_child_node(
      name = if_componentcontroller=>wdctx_internal_node ).
    * get element via lead selection
      elem_internal_node = node_internal_node->get_element( ).
    * get all declared attributes
      elem_internal_node->get_static_attributes( IMPORTING static_attributes = stru_internal_node ).
      stru_internal_node-time = item_time.
    * set all declared attributes
      elem_internal_node->set_static_attributes( EXPORTING static_attributes = stru_internal_node ).
      me->set_ddlb_values( ).
    Basically what is your component supposed to be doing?
    My component has a Table and in one of columns I have a time field . I need to Provide value help for that field.
    Hope I am clear
    Regards
    Edited by: SAP LEARNER on Dec 14, 2009 2:28 PM

  • RBA GATP check is not getting invoked for Sales Order

    Hi Everyone,
    RBA GATP check is not getting invoked for Sales order.
    I maintained the configuration settings for 'Rules-Based Availability Check', APO general settings (check mode, check instruction), carried out integrated rule maintenance, Rule determination for the combination of order type & product, associated the check mode to product master. Also maintained all the settings in ECC towards Req class, Req type, checking control etc.
    However, sales order is not invoking RBA Check though it is showing up the 'Rule' icon in the screen. Also, in the APO Availability check in Sales order when I click onto 'check instruction', I get the checking mode that pertains to RBA for business event 'A' (Sales order). Though I have not maintained any stock for the main material for which I have the sales order, yet system is confirming any quantity that I put in.
    I would expect that system would propose the same material in an alternate location where we have stock through RBA.
    Request you to share ideas on this.
    Regards,
    Avijit Dutta

    Hi Avijit,
    You should used No Checking Horizon in Checking instructions and also Check your rule control settings.
    What you have defined in 1st and 2nd steps. Check whether product substitution is carried out or Location Substitution.
    Thanks,
    Bala.

  • Start Varient is not getting trigger in Meta Chain.

    Hi All,
    I have a ProcessChain with in it there are many Meta Chains.
    Problem is, there are few Meta Chains Start Varient is not getting trigger automatically, it is getting red and continuing further process,
    when i check its logs also it is not giving any logs
    Please help me in this.
    Regards,
    Kiran

    Hi V,
    when i dubble click, i am getting bellow message Log
    20.07.2009     12:24:22     Job started     S     00     516
    20.07.2009     12:24:22     Step 001 started (program RSPROCESS, variant &0000000365507, user ID BIWREMOTE)
    20.07.2009     12:24:22     No new deltas in DataStore object 0FIGL_O02 for update     S     RSM1     96
    20.07.2009     12:24:23     Chain SFI_SFIGL_C02 was removed from scheduling     S     RSPC     26
    20.07.2009     12:24:23     Program RSPROCESS successfully scheduled as job BI_PROCESS_LOADING with ID 12242300     S     RSM     703
    20.07.2009     12:24:23     Program RSPROCESS successfully scheduled as job BI_PROCESS_ODSACTIVAT with ID 12242300     S     RSM     703
    20.07.2009     12:24:23     Program RSPROCESS successfully scheduled as job BI_PROCESS_ODSPROCESS with ID 12242300     S     RSM     703
    20.07.2009     12:24:23     Program RSPROCESS successfully scheduled as job BI_PROCESS_ROLLUP with ID 12242300     S     RSM     703
    20.07.2009     12:24:23     Chain SFI_SFIGL_C02 Was Activated And Scheduled     S     RSPC     25
    20.07.2009     12:24:23     Cannot activate job BI_PROCESS_TRIGGER (return code 8)     I     RSM     702
    20.07.2009     12:24:23     Process did not report an instance -> no log     E     RSPC     57
    20.07.2009     12:24:23     Job cancelled after system exception ERROR_MESSAGE     A     00     564
    But when i go Right Click and Display Variant  and check for 1 week ego, it wont show any logs, it says "No Logs were found"
    Please let me know your inputs
    Regards,
    Kiran

Maybe you are looking for

  • Access image files on mobile device

    Hi I've just started playing about with J2ME and was writing a application for my mobile (LG8120) ... it a simple applicaion, an image scroller. Allowing the user to scroll around a large image using the keypad ... Anyhow, i've come across a snag! ..

  • M4V to MKV

    I tried to watch a downloaded video with a .M4V extension on my bluray player but it only accepts .mkv extensions.  Is there a way to convert the file so I can watch my tv download on my tv?

  • Treasury Management TM01

    Hi, Recently we have upgraded SAP Ecc 6.0 version. after upgradation while doing TM01 Fixed Term Deposit, i am facing the error messages like. 1.Recording position management :  Error during distribution 1000 Message No.FTR_TRD012 Diagnosis Processin

  • N96 podcast problem...

    Well I finally find the time to learn how to set the podcast application up and it all goes wrong. I have downloaded two podcasts OK but when I go into the music application and select podcasts and then play my handset reports "unable to play selecti

  • How to view and change SMTP port number in new account setup in "Mail" 10.6

    When I try to set up and test a new email account addressing an SMTP server that seems to e using a nn-standard port number, how on earth can I even look at the port number assigned by default to a new account in Apple Mail 10.6 setup ? I might have