Skip to Content

Assign a Function key to a Push Button

Feb 02, 2017 at 07:12 AM


avatar image

Hi Good day,

Before posting this Question i have checked, and implemented but its not triggering and working for me. so am posting.

Assign a FKEY to Push Button, I have 2 push buttons.

1. POST = Fkey - F6

2. SCAN = Fkey - F7

This is what i have done.

1. Created 2 Buttons

2. Assigned the Fcodes

3. Double clicked the PF-STATUS

4. Utilities - Choose F6 - for POST and F7 - for SCAN.

This is what everyone says to assign a FKEY. but its not working for me.

where did i go wrong?

thank you,


10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

2 Answers

Horst Keller
Feb 02, 2017 at 10:17 AM

Is it a general dynpro (or a selection screen)?

What is not working for you?

How do you evaluate the event?

Are you using "sy-ucomm" or "ok_code"?

Did you check the example from the documentation (available in the system)?

10 |10000 characters needed characters left characters exceeded
Raghu Govindarajan Feb 02, 2017 at 01:28 PM

Like Horst Keller I have so many question about what exactly you did... even in your description "Double clicked PF-STATUS" or "Utilities - Chose..." doesn't make entire sense to me. But, giving you the benefit of the doubt that everything else is in place, here is something that has tripped me up in the recent past. Make sure that the Function Keys are active. Here is a screen shot that should describe it...

For some reason this button is active only the opening screen of the status editor. I do wish it was active in the F-Key Consistency screen too and be available when you click around and get back to this view.

10 |10000 characters needed characters left characters exceeded