cancel
Showing results for 
Search instead for 
Did you mean: 

Using F1, F2, and so on as ok codes in Dynpro

mariano_gallicchio2
Participant
0 Kudos

Hello Experts!

I have a problem. I have to make a CALL SCREEN when the user press

F1 or F2 or ... o F7.

can i Use F1, F3 and F4 as OK CODES?

Thanks!!

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Mariano

It is possible.. Please try the following steps

Go to Transaction SE41 -> Enter your Program Name->Select the Radio Button Function Key Settings

->Click on Change Button->Go to Attributes Function Key Settings

Then a popup will appear. in that tick the "Function keys for standard function handling in lists" checkbox

and ENTER . Then double click on Status , there we can modify the function keys.

Then save and activate.

Hope this will helpful.

Regards,

Renuka S.

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

you can use F1, F2 .. for function code, but it is not meaning pressed key. you will assign function key while creating function code in pf-status.

former_member184578
Active Contributor
0 Kudos

Hi.,

F1, F2, F3 are function codes ., not ok codes., u can set the function code for any button in menu painter.,

use .,

set pf-status 'ZPFSTATUS'.

u have to create ZPFSTATUS., or in se38 write the statement set pf-status 'ZPFSTATUS'. and double click on ZPFSTATUS. it will take you to create pf status.

hope this helps u.,

reply if u need some more clarification.,

Thanks & Regards

Kiran