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: 

FCT code in Module pool program

Former Member
0 Kudos
1,245

Hi,

In Module pool in one of the screen I have button 'F8' FCT code maintained for this button is 'DISP' now my requirement is this button 'F8' should work even if the user press the ENTER key in the keyboard. How is this possible.

1 ACCEPTED SOLUTION

Former Member
0 Kudos
231

see this thread

3 REPLIES 3

Sandra_Rossi
Active Contributor
0 Kudos
231

in debug, you'll see which value the okcode has. "Space" I guess. So, when it's space, execute the same code as for 'FCT'.

Former Member
0 Kudos
231

Hi

Find out the [function code for Enter|;.

When you specify the actions to be carried out for user actions use:

case ok_code.

When 'DISP' or 'enter key fct'.

"ur operations

endcase.

Hope this helps

Regards,

Jayanthi.K

Former Member
0 Kudos
232

see this thread