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

Table control on user-defined screen

Former Member
0 Likes
373

Hi,

I have a screen '100', which has a table control containing 4 fields.

My requirement is , when I double click any of the table control field I want my code to get triggered.I know , we have to write the supporting code in PAI module.

But, what I want to know is how do I catch the DOUBLE CLICK option in PAI module .

We cant use SY-UCOMM option. How shall I proceed further?

Thanks,

Shivaa......

3 REPLIES 3
Read only

sarbajitm
Contributor
0 Likes
353

'&IC1' is the FCode for double click!!!!!!

Thanks.

Read only

Former Member
0 Likes
353

1) double click on field in layout.

2) in attributes----> display you get check box -


responds for double click.

or else in menu painter se41 you get &ic1 -


>fcode for double click .

hope it will be helpful.

Read only

Former Member
0 Likes
353

I got the solution---

to enable a double click event, you go to the cell and double click on that you will get the attributes pop up, there you set the Respond to Double click.

along with that in the PF-STATUS set the Function F2's function code as 'PICK'.....

But, the problem here is my screen '100' is sub-screen.

We cant maintain PF-STATUS for a subscreen.

What should I do now?