Giving the below syntax error

Posted on 16th Feb 2014 by admin

Dear Experts,

I have used 2 buttons in gui status as display and cjhange.When the user will click display button the screen will dynamically change to non-editable mode.So I have written the following code.

loop at screen.
if screen-group1 = 'MOD'.
if flag = 'X'.
screen-active = 1.
else.
screen-active = 0.
endif.
modify screen.
endloop.
But it is throwing the below syntax error.

The type of "SCREEN" must be in the type or types of "SCREEN" compatible SEIN.

Kindly give some advice

Other forums