09-17-2008 6:59 PM
I have a Do statement as below and it gives me an error: COULD NOT SPECIFY THE ACCESS RANGE AUTOMATICALLY.THIS MEANS YOU NEED A RANGE ADDITION.
do max_per times varying l_fgcob-its from i0212-its01 next slctd_bplan-its02.
AM i MISSING SOME THING?
THANKS
KIRAN
09-17-2008 7:28 PM
use RANGE.
DO ... VARYING f FROM f1 NEXT f2.
For this statement, the fields f, f1, and f2 must be type-compatible with each other. To prevent memory contents being overwritten, a RANGE for valid accesses is introduced implicitly or explicitly for the following statements:
DO ... TIMES VARYING f FROM f1 NEXT f2 [ RANGE f3 ].
WHILE ... VARY f FROM f1 NEXT f2 [ RANGE f3 ].
09-17-2008 7:32 PM
do varying option is obsolete. Just check the F1 help and see what is wrong .
Post your coding with defintions.