Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Runtime error ..

former_member192432
Participant
0 Likes
292

Hi,

I am getting below Runtime Error in my report .

Legal range exceeded for DO...VARYING or WHILE...VARY

One of the statements DO ... VARYING ... or WHILE ... VARY ... attempted

to access data outside of the legal range. The legal range was

specified either explicitly by a RANGE addition or implicitly according

to the rules for Unicode programs.

The termination occurred in loop 3.

Can any one tell the legal range for do stmt.How to solve it.

Thanks in advance ..'

regards

Chetan

Moderator message - Moved to the correct forum

Edited by: Rob Burbank on Dec 14, 2009 9:35 AM

1 REPLY 1
Read only

former_member192432
Participant
0 Likes
261

i solved the problem by defining number of do loops = nor for varying fields.

regards