‎2010 Jul 15 10:26 AM
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?
‎2010 Jul 15 10:35 AM
Hello
SET CURSOR FIELD FKDAT-LOW.
or
SET CURSOR FIELD FKDAT-HIGH.