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

hello

Former Member
0 Likes
714

what system variable is reset at the exit of a loop of an internal table?

7 REPLIES 7
Read only

Former Member
0 Likes
682

Hi,

SY-Index and the SY-TABIX will be reset.

Regards

Sudheer

Read only

Former Member
0 Likes
682

sy-tabix.

regds,

kiran

Read only

Former Member
0 Likes
682

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

Read only

Former Member
0 Likes
682

Hi Darsh,

Sy-subrc will be reset.

ohter variables like sy-tabix remains smae until new loop starts.

Reward points for helpful answers.

Ashven

Read only

0 Likes
682
sy-tabix  and sy-subrc

<b><i>is reset while exiting from the loop</i></b>.

Read only

0 Likes
682

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

Read only

Former Member
0 Likes
682

Hi

While exiting from the loop <b>SY-TABIX</b> refreshes to 1.