How can I make table control response "double click".
If in the PF-STATUS for the table with your table control on it, you allocate a function name to F2 (usually, PICK is used), then when a double click occurs on the screen, your OKCODE field will have value PICK.
In order to check what was clicked on, use GET CURSOR FIELD F LINE L OFFSET O. F will have the field name, L the line selected and O the offset within the field.
Dig Deeper on SAP ABAP
Related Q&A from Matthew Billingham
An SAP user is trying to run a report in an SAP ALV Grid online and wants to know how to get the data in the report to appear along with the header. Continue Reading
An SAP user needs to transfer customer purchase order spreadsheet data to SAP VA01 to create a new sales order. Continue Reading
A SearchSAP.com reader wants to know if it's possible to write an SAP ABAP program that will read source code and then create an SAP ABAP function ... Continue Reading