hello everyone.
please, tell me, how to define local variable CHA_VAR to use in in loop and to get its value at special moment
DATA CHA_VAR TYPE 0VERSION.
DATA TVAR TYPE F.???
FOREACH CHA_VAR.
{..., CHA_VAR,...} = .....
IF SMTH.
CHA_VAR = OBJV().
TVAR = CHA_VAR + 1.
.....
ENDIF.
ENDFOR.
there is an error - type 0VERSION is not possible for the function.