Hi,
I have an internal table with records that contain a field with the line index of another table entry that they depend on.
I can process this table recursively, by passing the parent index inside and using a
LOOP AT ... USING KEY secondary_key WHERE index = iv_index.
Unfortunately the sy-tabix is afterwards not correct, it contains the position in the secondary key probably instead the position in the internal table.
Is there a way how I could find out the current table index, when using a secondary key to read a record?
Regards,
Bruno