01-02-2008 2:49 PM
Hi,
I turn on the Unicode Check and activate the report, i got a Syntax errors in DO..ENDDO Statement. Below is the statment i have it in the report
DO 12 TIMES VARYING .... FROM .... NEXT ......
IF ... .
EXIT.
ENDI.
ENDOD.
Error Message as : Type incompatable .
How i can correct this in UNICODE enabled report. Your suggestion is highly appreciated and rewarded as well.
Thanks,
-suresh
01-02-2008 3:38 PM
hi,
in unicode programs, the object after varying and after from have to be compatible.
Let us see with your example
data: test(10) type c, test1(10) type c,
test2(10) type c.
DO 12 TIMES VARYING test FROM test1 NEXT test2.
IF ... .
EXIT.
ENDIF.
ENDDO.
in the above example, test, test1 and test2 have to be compatible.
Reward if helpful.
01-02-2008 3:38 PM
hi,
in unicode programs, the object after varying and after from have to be compatible.
Let us see with your example
data: test(10) type c, test1(10) type c,
test2(10) type c.
DO 12 TIMES VARYING test FROM test1 NEXT test2.
IF ... .
EXIT.
ENDIF.
ENDDO.
in the above example, test, test1 and test2 have to be compatible.
Reward if helpful.