‎2007 Mar 20 5:54 AM
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?
‎2007 Mar 20 5:56 AM
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.
‎2007 Mar 20 6:01 AM
Hi Kishan,
What will the sy-ucomm if i double click that field?Is PICK will be the value in SY-UCOMM?
‎2007 Mar 20 6:02 AM
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
‎2007 Mar 20 8:41 AM
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.
‎2007 Mar 20 8:47 AM
Hi Kishan,
I solved the Problem.Thanks for your useful input.
‎2007 Mar 20 6:00 AM
Hi,
This attribute is used for the function code PICK.
regards,
Anji