2010 Mar 18 8:50 AM
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
2010 Mar 18 9:03 AM
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.
2010 Mar 18 9:33 AM
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.
2010 Mar 18 9:38 AM
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.
2010 Mar 18 11:26 AM
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
2010 Mar 18 9:29 AM
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
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |