hi
this is a small program asked in an interview.
the program is as follows
data: wa type i.
do 5 times.
wa = sy-index.
hide wa.
write:/ wa.
endloop.
at line-selection.
write:/ wa.
they said that when the user clicks on the 2 no. which comes on the basic list then what will be the value of the wa in the secondary list. is it ( 0, 2,3,5)
and explain the logic.
i want to know the logic behind it i.e. internally whats is happening. the debugging can not help in this case.
i think the person who knows exactly the hide concept can tell the right answer to it and also the logic.
regards,
maqsood