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: 

How to Capture the user command value instead of ucomm and pfkey from syst

Former Member
0 Kudos

Hi,

How to capture the value of enter key in the enhancements.

Iam getting the sy-ucomm value as space. Please let me know the better solution ASAP.

regards

Nagendra

1 ACCEPTED SOLUTION

Former Member
0 Kudos

hi

switch to debugger mode /h and after that press enter

now in the fields space give sy-ucomm

it will give the FCT code of the enter key

it will work for sure

5 REPLIES 5

Former Member
0 Kudos

Hello,

If is a module pool program, take a look to the variable defined to receive the user-command (you can see this in the screen painter).

Regards.

0 Kudos

It is not a module pool program and it is function exit.

0 Kudos

I need to display the updated amount values on IT0008 through transaction PA30 through press enter key.but some times it stores the previous user command value. I am unable to display the values on IT0008.

Former Member
0 Kudos

hiii

function code of enter key is 'sapce'.

thats why you are getting.

i dont get ur question,can u expalin wat u want to know?

Former Member
0 Kudos

hi

switch to debugger mode /h and after that press enter

now in the fields space give sy-ucomm

it will give the FCT code of the enter key

it will work for sure