01-25-2007 6:45 PM
what system variable is reset at the exit of a loop of an internal table?
01-25-2007 6:47 PM
01-25-2007 6:47 PM
01-25-2007 6:52 PM
Hi,
When you exit from the loop... the SY-TABIX is set back to the first record index. For example... if you exit loop when sy-tabix = 5., the sy-tabix would contain 1 outside the loop.
Regards,
Vara
01-25-2007 7:18 PM
Hi Darsh,
Sy-subrc will be reset.
ohter variables like sy-tabix remains smae until new loop starts.
Reward points for helpful answers.
Ashven
01-25-2007 11:28 PM
sy-tabix and sy-subrc
<b><i>is reset while exiting from the loop</i></b>.
01-25-2007 11:43 PM
Hi Chidanand,
Create an internal table in prgram & append two or three line in it. execute the program in debugging mode & watch out the result.
Ashven
01-26-2007 2:54 AM