05-28-2008 5:52 AM
Hi all....
we are having one check box in the the field attributes of layout screen... that is ...
RESPONDS TO DOUBLE CLICK.
my doubt is how to give functionality to that if i checked it in layout... and where...
for example....
I checked it for one text field... in layout named by NOTE...
So if i click that text in screen while working... can i get some information window like that... otherwise what is the perpose of that...
Thank you,
naveen.i
05-29-2008 8:01 AM
Hi,
I have used it in table control only..
Ya if u check this property , u can have some action on double clicking on tat element...
But u need to follow these steps ...
After checking this property RESPONDS TO DOUBLE-CLICK ,
activate that screen .
In the PF-status which you are creating for the screen, click on the function keys menu bar , then in the 'Recommended function key settings for the KEY F2 give the
function code as 'PICK'.
( This is compulsary ( F2 and PICK )).
In the PAI event , for the module user command write the following code
CASE sy-ucomm.
WHEN 'PICK'.
<ur logic...>. for exp call screen 1001.
ENDCASE.
reward if usefull.....
05-29-2008 8:01 AM
Hi,
I have used it in table control only..
Ya if u check this property , u can have some action on double clicking on tat element...
But u need to follow these steps ...
After checking this property RESPONDS TO DOUBLE-CLICK ,
activate that screen .
In the PF-status which you are creating for the screen, click on the function keys menu bar , then in the 'Recommended function key settings for the KEY F2 give the
function code as 'PICK'.
( This is compulsary ( F2 and PICK )).
In the PAI event , for the module user command write the following code
CASE sy-ucomm.
WHEN 'PICK'.
<ur logic...>. for exp call screen 1001.
ENDCASE.
reward if usefull.....