Application Development and Automation 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: 
Read only

Using f4 as a function key

Former Member
0 Likes
3,273

Hi All,

F4 key is used for searh help.I my RF(module pool) program i want to use it for a different purpose.

Can you please tell me how to achieve it.In my PF-status i see the reserved keys like F4,F1 etc are available in Utilities-->Fkey Consistency.I have given the function code for F4 there.But it does not work.

Please let me know how to achieve the same.

Regards,

Subasree

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,641

I am able to put the function code for F4 in Fkey consistency.But i am not able to see it in my PF status,that is my problem.

6 REPLIES 6
Read only

viquar_iqbal
Active Contributor
0 Likes
1,641

Hi

if you have given f4 the sy-ucomm value would be INIT . Use this value in PAI as

case sy-ucomm.

when 'INIT'.

...............

encase.

Hope It helps

Viquar Iqbal

Read only

Former Member
0 Likes
1,641

Its working perfect for me. Please see have u activated the Interface and the Status . In the status u need to activate the function code u have given for F4 and it will work perfect.....

Read only

Former Member
0 Likes
1,641

How do i activate the function code for F4 in PF status.I can see the function code tab only for the normal keys like F2,F3F5 etc.

I can see F4 only in Fkey consitencyThere the function code tab grayed out.I am not able to use it.

Read only

0 Likes
1,641

When u go in Utilities -> Fkey status there u see the F4 key.

Now u go in change mode and u will be able to write your Function Code agaisnt F4 key and activate it and now open back ur pF satatus u will be able to see the F4 in ur status there activate the Fkey and activate the status.

Read only

Former Member
0 Likes
1,642

I am able to put the function code for F4 in Fkey consistency.But i am not able to see it in my PF status,that is my problem.

Read only

0 Likes
1,641

Save and activate it. And also in Fkey consistency there is a icon with a hat (for Function code attributes), there u need to check the first check box ( F key for standard handling in list) and activate it. Then u will b able to see it in PF status