2008 Jul 30 7:39 AM
Hi,
How to trigger PAI when we double-click(Hotspot) on a text field.
2008 Jul 30 8:59 AM
hi,
do like this
goto the screen what you had developed and then double click on the field and
you can see the attributes of the field in that, click on the tab Display,
in that you will find a check box with Description RESPONDS TO DOUBLE-CLICK ,
check the check the box and activate it .
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'.(Its compulsary)
in the PAI event , for the module user command write the following code
CASE sy-ucomm.
WHEN 'PICK'.
call screen '1001'..
ENDCASE.
reward if usefull
Hi,
How to trigger PAI when we double-click(Hotspot) on a text field.
2008 Jul 30 7:49 AM
Hi Aalok,
If u r developing in screen painter, u can assign a function code to that text field.
when u click on that field , that function code will be captured into the OKCODE field.
U can also go through the following threads.
/community [original link is broken]
/community [original link is broken]
https://www.sdn.sap.com/irj/sdn/wiki?path=/pages/viewpage.action?pageId=55249
Please reward if you find it helpful.
regards,
Rajesh
2008 Jul 30 7:54 AM
2008 Jul 30 8:59 AM
hi,
do like this
goto the screen what you had developed and then double click on the field and
you can see the attributes of the field in that, click on the tab Display,
in that you will find a check box with Description RESPONDS TO DOUBLE-CLICK ,
check the check the box and activate it .
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'.(Its compulsary)
in the PAI event , for the module user command write the following code
CASE sy-ucomm.
WHEN 'PICK'.
call screen '1001'..
ENDCASE.
reward if usefull
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |