Skip to Content
0
Former Member
Apr 23, 2009 at 04:59 AM

DO_WHILE_VARY_NOT_IN_RANGE, run time error

69 Views

Hi All,

Thank you for viewing this post. I am working for an upgrade project (4.6 C to ECC. 6).

I am facing a run time error in the following statement. As a part of upgrade I have changed the statement to the following.

DO 12 TIMES VARYING lv_wog FROM <fs1> NEXT <fs2> range i_cosp.

DATA : i_cosp TYPE STANDARD TABLE OF t_cosp WITH HEADER LINE.

FIELD-SYMBOLS: <fs1> TYPE ANY,

<fs2> TYPE ANY.

Previously, the statement was :

DO 12 TIMES VARYING lv_wog FROM <fs1> NEXT <fs2>.

can you pls give me suggestion regarding this post as soon as possible.

Thanks

Sam.