In ABAP Objects, the following statements cause an error message:
PROVIDE f1 f2 ... FROM itab1
g1
g2 ... FROM itab2
...
FROM
itabn
...
BETWEEN f AND
g.
...
ENDPROVIDE.
Cause:
You can only use the loop in local classes for tables in the main program. You should use the long form available since Release 6.20 instead
Overview:
Replacement for Obsolete Statements ABAP Objects