Skip to Content
0

Double click event on select option

Apr 20, 2017 at 07:19 AM

122

avatar image

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.

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

2 Answers

Raymond Giuseppi
Apr 20, 2017 at 10:07 AM
0

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?

Show 2 Share
10 |10000 characters needed characters left characters exceeded

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

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

0
Sandra Rossi Apr 20, 2017 at 11:07 AM
0

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.

Share
10 |10000 characters needed characters left characters exceeded