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

EVENT PROGRAMING

Former Member
0 Likes
334

Hi This is a u201Cgoods received noteu201D Program . In this actualy We no need to keep button , because we are going to run this Application in dos mode through telenet via shell in mobile device. Now we configured everything but in dos mode buttons will not work. So they need f1 or f2 key press event for executing the same , is it possible to do so please let me know. I tried with in my PAI MODULE THE FOLLOWING LINES

Case sy-ucomm .
 When space . 
 When others . 
Endcase .

When we need to execute only one task the above line is comfortable . But in my case i have to execute 3 diffrent task with the help of 3 different key press event . Is it possible pls help me .

FROM ARUN

1 REPLY 1
Read only

RichHeilman
Developer Advocate
Developer Advocate
0 Likes
297

So if you are creating a program to be ran on a RF device, you should copy the gui status LMOB_GROUP8 from program RLMENU into your program. The gui status is designed to handle F1, F2, F3, and F4 keys on a RF device.

Then in your PAI, you can do a case statement like this.

Case sy-ucomm.
    when  'SAVE' or 'F1'.
    when 'CLR' or 'F2'.
    when 'BACK' or 'F3'.
    when 'NEXT' of 'F4'.
endcase.

Regards

Rich Heilman