Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

How to differenciate between ENTER key and F4 key in POV event on screen

Dear Gurus

I have a small question. If i use a statement like below in module pool for value help:

PROCESS ON VALUE-REQUEST.

FIELD g_datasource MODULE f_f4_datasource.

Then then the control goes into this module if I press F4. Now the problem is if my next action on the same screen is 'ENTER' then also it goes into the same module and my customized help popup comes again, which I don't want.

Due to this I want that If I press ENTER then nothing should happen. Unfortunately, I don't know how to identify that user has pressed F4 or ENTER because in in both cases ( ENTER and F4), the sy-ucomm is blank.

Could you please let me know how to identiy the function key in this case or to assign any functioncode to these keys ?

Thanks and regards

Vishal

Former Member

Helpful Answer

by
Not what you were looking for? View more on this topic or Ask a question