Skip to Content
avatar image
Former Member

Double click event on select option

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.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Apr 20, 2017 at 10:07 AM

    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?

    Add comment
    10|10000 characters needed characters exceeded

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

  • Apr 20, 2017 at 11:07 AM

    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.

    Add comment
    10|10000 characters needed characters exceeded