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

Set cursor on selection screen

Former Member
0 Likes
359

Hi all,

i have to set the cursor on the selection screen based on a condition.

I tried it but it did not work.

AT SELECTION-SCREEN.

if ( frk eq 'X' and fkdat-LOW IS INITIAL ).

Data: diff TYPE i.

diff = fkdat-high - fkdat-low.

if fkdat IS INITIAL.

MESSAGE 'bla bla bla' type 'E'.

endif.

if diff gt 31.

SET CURSOR FIELD FKDAT.

endif.

endif.

It is not working and fkdat is an element of the selection screen.

Any idea?

1 REPLY 1
Read only

Former Member
0 Likes
257

Hello

SET CURSOR FIELD FKDAT-LOW.

or

SET CURSOR FIELD FKDAT-HIGH.