Application Development 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: 

sy-index lost

Former Member
0 Kudos

i have a table control in a screen and in the pai i have a loop for the internal table of the tc but when i enter some lines and press ok, the sy-tabix index in the loop is 0, and i have a module without additions and sometimes it doesn´t enter in it, has anybody see something similar?

Thanks in advance

1 ACCEPTED SOLUTION

Former Member
0 Kudos

hi

use

<b>tc-current_line</b>

which gives the index of current line

plz reward helpful answers

regards

ganesh

2 REPLIES 2

Former Member
0 Kudos

hi

use

<b>tc-current_line</b>

which gives the index of current line

plz reward helpful answers

regards

ganesh

rahulkavuri
Active Contributor
0 Kudos

hi I have seen a similar case before because when u run a program these system variables get changed...

So we need to assign a variable that holds this sy-index value when running a loop

Hope this one solves ur prob