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

Overloading the F4 key

Former Member
0 Likes
1,122

Hi,

Does anyone know how to change the function code associated with the F4 key in a module pool program, so we can control the behaviour associated with it?

Thanks,

Bruno

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,062

Hi,

In the screen programming use the following syntax.

PROCESS ON VALUE-REQUEST.

...

FIELD <f> MODULE <mod>.

Svetlin

Hi,

Does anyone know how to change the function code associated with the F4 key in a module pool program, so we can control the behaviour associated with it?

Thanks,

Bruno

9 REPLIES 9
Read only

Former Member
0 Likes
1,063

Hi,

In the screen programming use the following syntax.

PROCESS ON VALUE-REQUEST.

...

FIELD <f> MODULE <mod>.

Svetlin

Read only

0 Likes
1,062

Bruno, is this related to your SAPconsole project?

Regards,

Rich Heilman

Read only

Former Member
0 Likes
1,062

Hi, Svetlin

That worked fine, man. Exactly what i needed.

Regards,

Bruno

Read only

0 Likes
1,062

can you award points by clicking the radio button for the helpful answers.

Regards

Raja

Read only

Former Member
0 Likes
1,062

Sure thing, Rich

I wanted to know how i could overload the F1 and F4 keys. It´s not indispensable for me, i've been using others, but since the help functionality does not make many sense in the RF project, as also is the case for the value request, it is good to have all the keys available for custom functionality and i sure didn't have a clue.

You will be hearing from me, got a lot of handicaps to deal with,

Bruno

Read only

0 Likes
1,062

What we did to get around this is we copied the gui status Lmob_Group8 of program RLMENU into our custom programs and renamed it as SAPCONSOLE_STD. This gui status is then copied into every single one of our SAPconsole transactions. This takes care of your problem with the F1 and F4 keys.

Regards,

Rich Heilman

Read only

Former Member
0 Likes
1,062

Ok, Rich. That sounds pretty ingenious. I'll try that too.

Regards,

Bruno

Read only

Former Member
0 Likes
1,062

Rich, I've tried to reward your message, but i keep getting an error in the web page.

Thanks,

Bruno

Read only

0 Likes
1,062

Looks like the points system is down right now. Try again later, please.

So the gui-status worked for you? Its what we've been using since the very beginning and it hasn't failed us yet.

Regards,

Rich Heilman