Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Assign a Function key to a Push Button

former_member317781
Active Participant
0 Kudos

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,

j.

2 REPLIES 2

horst_keller
Product and Topic Expert
Product and Topic Expert
0 Kudos

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)?

raghug
Active Contributor
0 Kudos

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.