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 Attribute in Screen Painter

Former Member
0 Likes
1,737

Hi SDN,

There is a attribute named 'RESPONSE TO DOUBLE CLICK' in the I/O field. Can anyone explain what for it is used? how to use this attribute?

6 REPLIES 6
Read only

Former Member
0 Likes
1,144

Go to the element list, click display attributes, check the checkbox for "responds to double-click".

Then you should be able to handle it in the PAI.

Also, make sure that you set the Choose(F2) to "PICK" function code in the gui status.

Read only

0 Likes
1,144

Hi Kishan,

What will the sy-ucomm if i double click that field?Is PICK will be the value in SY-UCOMM?

Read only

0 Likes
1,144

ya it is.

i pai You can do something like this.

CASE ok_code. "sy-ucomm.

WHEN 'PICK'.

SET PARAMETER ID 'MAT' FIELD g_cursor.

CALL TRANSACTION 'MM03' AND SKIP FIRST SCREEN.

ENDIF.

:

kishan negi

Read only

0 Likes
1,144

Hi Kishan Negi,

In a table control, I placed a column as "RESPONSE TO DOUBLE CLICK".For eg: i placed MATNR field as RESPONSE TO DOUBLE CLICK.If i double click that field,how to got that value in my variable G_CURSOR.

I used the code given by you.How to get the Material number to the variable g_cursor.

Read only

0 Likes
1,144

Hi Kishan,

I solved the Problem.Thanks for your useful input.

Read only

Former Member
0 Likes
1,144

Hi,

This attribute is used for the function code PICK.

regards,

Anji