Skip to Content
author's profile photo Former Member
Former Member

Event Handling

Hi,

How can i catch an event single click or double click in SAP module programing?

Regards,

Lijo Joseph

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Posted on Nov 19, 2004 at 02:25 PM

    Hello Lijo

    You can't (not in normal dynpr/module pool programming).

    A single click is handlet by SAPgui and the control is never passed back to the flow logic on the SAPserver.

    If you single click is on a pusbutton or menu item the control is passed from SAPgui to the flow logic, but in this case you can't tell if the user clicked once or twice.

    Best regards

    Thomas Madsen Nielsen

    Add a comment
    10|10000 characters needed characters exceeded

    • Hi Lijo

      In fact you can be aware of double-click on a field. For this; you must set the attribute "Responds to double-click" of the field and activate "PICK" functionality on the GUI Status of the screen by assigning a function code to "F2" (at recommended function key settings). Then you catch the double-click action and using "GET CURSOR FIELD..." you can retrive on which field double-click occured.

      *--Serdar

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.