cancel
Showing results for 
Search instead for 
Did you mean: 

Select Option Drop-down action handler

Former Member
0 Kudos

Hi All,

Can anyone help me to understand the use of the parameter I_HELP_REQUEST_HANDLER in class IF_WD_SELECT_OPTIONS->ADD_PARAMETER_FIELD

I am trying to find out if there any way to handle dropdown selection action in WD ABAP Select Option.

Thanks

Angshuman

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

It's like an event handler .You have to create an action under ACTIONS tab and pass this action name to the to I_HELP_REQUEST_HANDLER of ADD_SELECTION_FIELD of IF_WD_SELECT_OPTIONS.

Thanks

KH

Former Member
0 Kudos

Hi Katrice,

Thanks for your reply.

I saw your earlier post where you mentioned this comments. But I_HELP_REQUEST_HANDLER is of type OBJECT. I can't pass my action name here as string in quote, like 'MY_ACTION'. can you please share any sample code which shows how to pass this action name while calling method ADD_PARAMETER_FIELD.

Thanks

Angshuman

former_member215542
Active Participant
0 Kudos

Did you look at WD component DEMO_SELOPT_DROPDOWN?

Regads,

Pulkit

Former Member
0 Kudos

Hi Pulkit,

Component DEMO_SELOPT_DROPDOWN does not use this parameter  I_HELP_REQUEST_HANDLER while creating the select Option in WDDOINIT method of main view.

thanks

Angshuman

former_member215542
Active Participant
0 Kudos

Honestly, I am not sure how the help request handler parameter has been used by SAP. Also, I am not sure if it would be able to listen to the event.


What you could do is enhance component WDR_SELECT_OPTION and its assistance class.

At the moment, I am not sure if the component raises the event on drop down change