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

Double Click in Table Control...

Former Member
0 Likes
750

Dear All,

How to handle the double click event in Table control.

(I have to double click in Table click and goto VA02 to modify the SO and again come back to that same grid with changes in SO).

Waiting for Early reply.

Regards,

Dharmesh

Dear All,

How to handle the double click event in Table control.

(I have to double click in Table click and goto VA02 to modify the SO and again come back to that same grid with changes in SO).

Waiting for Early reply.

Regards,

Dharmesh

5 REPLIES 5
Read only

Former Member
0 Likes
685

In your pf-status, assign F2 for Picking in se41.

In at user-command:

case sy-ucomm.

case <FCODE for couble click>.

set parameter id 'AUN' value v_ord.

call transaction 'VA02'." and skip first screen.

Regards,

Ravi

Read only

rahulkavuri
Active Contributor
0 Likes
685

to define double click in your table controlwhich is similar to 'PICK' function. Enable F2 in PF-status for this

Check the above thread which was posted recently on SDN, <b>please award points if found helpful</b>

Read only

0 Likes
685

apart from setting the PF-status with PICK (F2) also set the property "respond to double click" for the tablecontrol column in screen painter

Read only

andreas_mann3
Active Contributor
0 Likes
685

Hi,

1) use method GET_SELECTED_ROWS

2) call transaction va02 with that record

3) new select for your itab

4) method refresh_table_display

Andreas

Read only

Former Member
0 Likes
685

Hi ,

I think you should click on the cell attributes of the table control and check the "Responds to double click" Check box..

Then you can make the field appear as Listbox and give a function code to that field.In the PAI, for this function code, Give the required code.

REgards,

SP.