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

cursor position in the screen

Former Member
0 Likes
1,161

how to retain the cursor position on the field..when i press enter after entering values in the screen field..the cursor is going back to the first field/ how to retain it?

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,002

but when it is in table control of a screen..should i write set/get inside loop?

6 REPLIES 6
Read only

JozsefSzikszai
Active Contributor
0 Likes
1,002

check statement: SET CURSOR in SAPHelp!

Read only

Former Member
0 Likes
1,002

Hi Anil Kalive,

Use SET CURSOR in PBO event... as per your requirement

Have a look on below thread for example and documentation... also have a look on ABAP Keyword doc..

Hope it will solve your problem..

Thanks & Regards

ilesh 24x7

Edited by: ilesh 24x7 on Dec 16, 2008 2:48 PM

Read only

Former Member
0 Likes
1,002

hi,

Use SET CURSOR.

but if you are using validation on the field

USE

AT SELECTION-SCREEN ON <fieldname>.

The cursor will be only that field if the entry is invalid or wrong

hope it helps you.

thanks

Sachin

Read only

Former Member
0 Likes
1,003

but when it is in table control of a screen..should i write set/get inside loop?

Read only

0 Likes
1,002

no, you have to code:

SET CURSOR name_of_field LINES line_number.

(as I suggested just read the Help of the statmenet, everything is explained clearly)

Read only

0 Likes
1,002

hi Anil,

check this thread

hope it helps you.

thanks

Sachin