Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8430

double click in table control

$
0
0

Hello guys,    I have inserted a table control on the screen.  When I would double click on one particular row of that column I want to display more details about that row on next screen. I understand the process is like below:

  In your PF-STATUS enable F2 giving an okcode.

( You can find it in PF-STATUS -> Function keys -> Recommeneded function keys)

 

Once you enable this and activate any doubleclick on the screen will create the ok code you assign and control comes to PAI.

 

Where you write the statement

 

if sy-ucomm eq 'CLICK'.

    GET CURSOR FIELD ws_field LINE ws_line.

endif.

 

If ws_field contains the field on which the user clicked and ws_line contains the line no. of ur table control.

 

I only have one question, how can I define the double click in my PF Status??? for example in image below I added DBLCLICK in F2 function key, My question is if this is correct? I not understand how SAP related this with my control table to give double click, please explain me


Viewing all articles
Browse latest Browse all 8430

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>