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: 

How to set cursor position on perticular field in selection screen

Former Member
0 Kudos

Hi All,

In normal report, I have few field in selection screen. I have done validation for all the fields in at selection screen event.

If for any field, there is no valid entry, I am populating error message. But controll ( Cursor) is always going on first field not that respective field.

If anybody you are aware, please help.

Thanks in advance.

Regards

Manglesh

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi,

If you do the validation in the event-

AT SELECTION-SCREEN ON <fieldname>.

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

try that event.

3 REPLIES 3

Former Member
0 Kudos

Use

 set cursor 

statement.

regards,

Advait

Former Member
0 Kudos

Hi,

If you do the validation in the event-

AT SELECTION-SCREEN ON <fieldname>.

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

try that event.

Former Member
0 Kudos

Normally you would program:

AT SELECTION_SCREEN ON <parameter>.

Now, if you trigger an error, the cursor will be focussed on field <parameter>.