Skip to Content
avatar image
Former Member

Event on selecting a drop down list value in search guibb

Hi Experts,

I have a drop down in search guibb. I want an event to be triggered when the user is selecting any value from the drop down.

However, no standard events are triggered when we select the drop down value. I have even tried setting the  ES_OPTIONS-RAISE_EVENT_ON_ATTR_CHANGE parameter in the GET_DEFINITION method. However, no events are triggered when we select a drop down value.

Any suggestion on this would be of great help to me.

Thanks,

Ajith Cheruvally

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Jan 07, 2015 at 08:41 AM

    Hi Ajith,

    no, this is not possible. ES_OPTIONS-RAISE_EVENT_ON_ATTR_CHANGE only addresses changes of search attributes (drop down on the left hand side), not of the attribute values.

    On the search input fields, you get the FPM_EXECUTE_SEARCH event when you press <ENTER>. This is event not bound for the drop down list boxes as the user usually does not want to execute the search on any value selection (performance!).

    I don't know what you want to achieve with this, but maybe you really need other concepts like multi-value search fields or something.

    Regards, Jens

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hi,

      Instead of the search GUIBB, I made use of a freestyle UIBB.

      I have created a select-option screen in the freestyle webdynpro component by using the WD_SELECT_OPTION_20 standard component. This standard component will trigger an event 'ON_ENTER' upon selecting any entry in the drop down list.

      Declare an event handler in the select option view controller for this event and write your respective code there.


      Thanks,

      Ajith

  • avatar image
    Former Member
    Jan 12, 2015 at 06:48 AM

    Hello Ajith ,

    In the UIBB dropdown configuration , create a event and write the code logic , thats it.

    Declare the event in IF_FPM_GUIBB~INITIALIZE and write the logic inside the PROCESS_EVENT, so if you select any value from the dropdown the event will get trigger .

    Thanks,

    Pradeep

    Message was edited by: pradeep mohan

    Add comment
    10|10000 characters needed characters exceeded