Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Double click event on select option

0 Kudos

By default, when double click on a select option input field, a 'Define Select Options' window will popup. Can I customize double click event?It means to change this behavior to call my own function module.

4 REPLIES 4

raymond_giuseppi
Active Contributor
0 Kudos

The 'Define Select Options' is the first option of the context menu for select-options.

So did you try to change/manage the context menu of the select-options fields of the generated selection-screen dynpro in the (PBO) AT SELECTION-SCREEN OUTPUT event with class CL_CTMENU?

0 Kudos

Yes I want to change the behavior so that it doesn't open the menu but call a subroutine which open a website. Is it possible?

0 Kudos

I never did it on a selection-screen (cause it will be generated again when program is activated...)

Sandra_Rossi
Active Contributor
0 Kudos

SAP does not provide a way to change this standard behavior. A workaround is to simply define a custom function (button in the toolbar for instance), locate the cursor in the selection criterion field and use the abap statement GET CURSOR to determine which field it is located in.