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

Enter functionality to custom button

Former Member
0 Likes
491

Hello there,

I have custom generated button on my selection screen through PF-STATUS, i want that when ENTER is pressed on keyboard it should do the same as that button.

thanks

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
465

Hi,

Fn code of enter button is ' ' (i e Space)

Case sy-ucomm.

<b>w<b>hen ' ' or 'Fncode of button'..</b>

write the statements u want to perform.

endcase.</b>

<b>reward points if helpful.</b>

Regards,

Ajith

2 REPLIES 2
Read only

Former Member
0 Likes
465

u have to write the logic what u want it to do when u press enter....

case sy-ucomm.

when 'enter'.

write code............

endcase.

Read only

Former Member
0 Likes
466

Hi,

Fn code of enter button is ' ' (i e Space)

Case sy-ucomm.

<b>w<b>hen ' ' or 'Fncode of button'..</b>

write the statements u want to perform.

endcase.</b>

<b>reward points if helpful.</b>

Regards,

Ajith