Sy-tabix vs Sy-index
Sy-tabix is used to find the current line in the internal table; it’s a current line index. Whereas sy-index in used to find the number of current pass in the loop statement.
Updated May 18, 2018
Sy-tabix is used to find the current line in the internal table; it’s a current line index. Whereas sy-index in used to find the number of current pass in the loop statement.
Comments
Hi,
sy-tabix = Index of Internal Tables
set by commands processing internal tables (e.g. READ, LOOP)
It contains the nr/index of the last line accessed for standard or sorted tables. In case of hashed tables it is set to 0
since hashed tables are no index tables, they use a hash administration.
sy-index = Loop Index.
set by DO and WHILE loops. contains the number of the loop passes including the current pass.