2008 Dec 16 9:10 AM
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?
2008 Dec 16 10:01 AM
but when it is in table control of a screen..should i write set/get inside loop?
2008 Dec 16 9:12 AM
2008 Dec 16 9:14 AM
2008 Dec 16 9:31 AM
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
2008 Dec 16 10:01 AM
but when it is in table control of a screen..should i write set/get inside loop?
2008 Dec 16 10:03 AM
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)
2008 Dec 16 10:09 AM