Application Development and Automation 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: 
Read only

React to doubleclick in a Dynpro

Former Member
0 Likes
1,601

Greetings,

I want to react to the double click event on a series of labels in a Dynpro so that I can display a document based on the content of the double-clicked field. I activated the Double-Click sensitive check for the fields in the screen painter, It made the field contents a hotspot, but when clicked, the Command (sy-ucomm) field becomes 'OPTI', how do I know on which of the click sensitive fields did the user actually click?

1 ACCEPTED SOLUTION
Read only

suresh_datti
Active Contributor
0 Likes
1,058

Hi sergio,

You can use the GET CURSOR FIELD <FIELDNAME> option.

Regards,

Suresh Datti

2 REPLIES 2
Read only

suresh_datti
Active Contributor
0 Likes
1,059

Hi sergio,

You can use the GET CURSOR FIELD <FIELDNAME> option.

Regards,

Suresh Datti

Read only

Former Member
0 Likes
1,058

assign FCODE in the attributes for each of the text field and try

this FCODE will then act as SY-UCOMM for that text field