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

How to capture double click while displaying data using a table control in

Former Member
0 Likes
968

Hi Experts,

How to capture double click while displaying data using a table control in Module Pool programming.

When the user double clicks on 1 line it has to take the user to other screen with the data in that line.

Regards,

Hari Krishna

Hi Experts,

How to capture double click while displaying data using a table control in Module Pool programming.

When the user double clicks on 1 line it has to take the user to other screen with the data in that line.

Regards,

Hari Krishna

5 REPLIES 5
Read only

Former Member
0 Likes
903

Hi,

You can enable the 'Respond to Double Click' for the Table Control in the Screen Painter.

Also set the PF-STATUS for F2 key as PICK.

To get the data on the line you have double clicked, you can use GET CURSOR field LINE lineno. You can do an F1 and check the additional clauses that can be used.

Read only

0 Likes
903

Hi ,

Thanks a lot for your help but i am using table control wizard but whne we use table control 'Respond to Double Click' is greyed out any other inputs which could help incase of table control wizard.

Read only

0 Likes
903

Hi

You set for a column in the display tab in the attributes screen. Which also will act same. Thats what I mentioned in the earlier message.

Read only

0 Likes
903

Hi Praveen Thnks a lot for u help I got how to set respond to double click but how do we caputre the double click like th way we capture the function cade using Sy-ucomm.How can we identify the double click is there a user command for that if yes can u help me

Read only

praveen_hannu
Contributor
0 Likes
903

Hi Hari

First you need to set the attribute "Respond for double click" for the table column on which you want to trigger it.

Then you can use the GET CURSOR command to retrieve the field value while action occured.

Thanks

Praveen