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

Table control

Former Member
0 Likes
321

Hi,

1.I am using a Table control.How to set the cursor from one field to the other adjacent fields without specifying the name?

2.How to disable the Enter key for the screen or for the table control?

Pls. help

-M.Aarthi

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
307

hi,

it is not possible to set the cursor without specifying the name , any way if u want to set the cursor on the next screen field read screen table with current field name and use index + 1 for reading next screen field name.

00 is the sy-ucomm for enter key , u can disable this screen field by modifying the screen

2 REPLIES 2
Read only

Former Member
0 Likes
308

hi,

it is not possible to set the cursor without specifying the name , any way if u want to set the cursor on the next screen field read screen table with current field name and use index + 1 for reading next screen field name.

00 is the sy-ucomm for enter key , u can disable this screen field by modifying the screen

Read only

Former Member
0 Likes
307

Hello Aarthi,

As to your second question:

To disable the Enter key for the screen, use as first statement in your PAI the following:

CHECK OK_CODE <> ' '.

The reason is that the OK_CODE of the ENTER key is space. (Please make sure that this is the case on your system, too.)

Kind regards,

Michael