Skip to Content
author's profile photo Former Member
Former Member

how to suppress 'F1' regular functionality?

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.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • Best Answer
    Posted on Dec 03, 2007 at 03: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

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Dec 03, 2007 at 03: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

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Dec 03, 2007 at 03: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.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.