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: 

Problem while capturing keys from keyboard .

Former Member
0 Kudos

hello abapers,

i am trying to catch my enter key from keyboard coz i want run some code when user will press enter.

i think sy-ucomm will capture the key pressed, if i am wrong then plz correct me.

(1) with this assumption i tried running bdc for my screen and tried to get the bdc_okcode value which is /00

i passed this value to sy-ucomm in my abap prog but it didnt worked

(2) i tried writting /h in command window it oppend the debugging window but the value for sy-ucomm was blank

if any one of you is able to correct me it would be of great help to me plz its .....

Thank you.

Edited by: Dakshaini A Subramaniam on May 15, 2011 8:36 AM

Edited by: Rob Burbank on May 15, 2011 4:21 PM

1 ACCEPTED SOLUTION

Former Member
0 Kudos

<< Moderator message - Everyone's problem is important. Please do not ask for help quickly. And do not use SMS Speak please.>>

2 REPLIES 2

huseyindereli
Active Contributor
0 Kudos

Hi ,

Double click your ,

SET PF-STATUS 'STATUS'.

code. At Standard Toolbar part of the pf-status , set OK CODE for first item (green) to 'ENTER'.

When user hits enter , sy-ucomm will be ENTER.

This is for screen processing .

Former Member
0 Kudos

<< Moderator message - Everyone's problem is important. Please do not ask for help quickly. And do not use SMS Speak please.>>