on 05-25-2008 6:37 AM
hi
can u help me for this
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
we can use sy-index in loop and endloop. it tells you the loop index when used inside loop and endloop.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi...
Genereally Sy-index is used in iterative cases like
while....endwhile
and
Do.... Enddo
.
In LOOP ..... Endloop.... We should use SY-TABIX....
It would be more consistent we use sy-tabix as we loop at internal table so this SY-TABIX points to the current record its reading...
we can use sy-index but rarely depends on condition.....
SY-INDEX and SY-TABIX will not be same always in LOOP and ENDLOOP
Rewards points if satisfied..
Regards
Narin Nandivada
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.