‎2007 Dec 14 12:43 PM
Friends,
Following statement given syntaxt error in ECC6.
It is working fine in SAP 3.1.
I need to copy the code from SAP 3.1 to ECC6.
DO VARYING l_char FROM l_text2+99
NEXT l_text2+98.
Please help me in this regard ASAP.
Thanks in advance.
‎2007 Dec 14 5:39 PM
I was able to get the following to work:
DO 100 TIMES VARYING l_char FROM l_text99(1) NEXT l_text98(1) RANGE l_text.
...
ENDDO.
I had to add the "100 TIMES" or the loop continued beyond the range of the variable and short-dumped.
Hope this helps,
Mark S.
‎2007 Dec 14 5:57 PM