12-03-2007 3:16 PM
Hi All.
I don't know if it's possible but...
I build a normal screen with push buttons.
I need that every time the user is pressing 'F1' button -> one of the screen push buttons functionality is being activated.
If the user is pressing 'F2'... exc.
Is it possible to use 'F1' button for my own functionality?
Thanks, Barak.
12-03-2007 3:46 PM
Yes, it is. Actually this type of thing is done for most every RF transaction which SAP delivers. The reason is that you wouldn't want the F1 screen to be fired when running the transaction from an RF terminal, since there will be no SAPgui. If you have a look at the gui status in program RLMENU, the F1 key is used not for the F1 functinoality, but it can be used to trigger the PAI.
Regards,
Rich Heilman
12-03-2007 3:26 PM
I don't think it's possible (extract from Using GUI Statuses )
+
Reserved Function Keys
The following function keys do not trigger the PAI event, but are reserved for other functions:
· F1 calls the field help
· F4 calls the input help
· F10 places the cursor in the menu bar+
You may try to "intercept" F1 and F4 in POV and POH coding (for each and every field if F1 or F4 pressed, memorize the event F1_pressed, F4_pressed) and then in PAI add a second "at command" module call and check if you come through theses cases. But you have to check every field on screen...)
Regards
12-03-2007 3:46 PM
Yes, it is. Actually this type of thing is done for most every RF transaction which SAP delivers. The reason is that you wouldn't want the F1 screen to be fired when running the transaction from an RF terminal, since there will be no SAPgui. If you have a look at the gui status in program RLMENU, the F1 key is used not for the F1 functinoality, but it can be used to trigger the PAI.
Regards,
Rich Heilman
12-03-2007 3:53 PM
Thank You for the quick replay.
I follow the way that you advice but I cann't enter any letter in the F1 icon for some reason. (all the other Icons are open for entering letters).
Do you know why?
Barak.