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: 

'ENTER' action for text field

Former Member
0 Kudos

Hi, I've got a tabstrip object. It has 3 tabs. In one of them there's a input text field. When user enters some value into that field and then press ENTER I'd like my program to make some action (in that case call subscreen). How to achieve that? Greetings. P.

1 ACCEPTED SOLUTION

former_member202957
Contributor
0 Kudos

Hi,

Check this standard reports may be this will help u a bit.

<b>demo_sel_screen_in_tabstrip

demo_sel_screen_with_tabstrip</b>

<b>reward if useful</b>

Regards,

sunil kairam.

3 REPLIES 3

Former Member
0 Kudos

hi,

I think it is not possible with simple io field, because we can not provide the F-code to io field.

so when we press enter on io field after providing input to it, it is not going into the use command so that we can call subscreen.

I think use Listbos or Listbox with key.

Here we can provide the F-code.

thanks

Dharmishta

former_member202957
Contributor
0 Kudos

Hi,

Check this standard reports may be this will help u a bit.

<b>demo_sel_screen_in_tabstrip

demo_sel_screen_with_tabstrip</b>

<b>reward if useful</b>

Regards,

sunil kairam.

Former Member
0 Kudos

you can do it by writing a code in PAI of the program.

case sy-ucomm = ' '.

........logic........

call subscreen.

endcase.

reward for helpful replies,

kushagra