‎2006 Nov 24 11:26 AM
HI Experts,
In an Interactive report,if there are 15 secondary lists is it possible to go from 10 th list to 15 th list directly or vice versa?
Regards
‎2006 Nov 24 11:30 AM
‎2006 Nov 24 11:28 AM
Hi,
Yes you can go from one list to the othet by using the SY-LSIND system field.
Example:
at line-selection.
case sy-lsind.
when 9.
sylsind = 4.
endcase.
Regards,
Ram
Message was edited by:
Ram Mohan Naidu Thammineni
‎2006 Nov 24 11:28 AM
Hi,
By setting the value of sy-lsind you can do that.
Regards,
Sesh
Message was edited by:
Seshatalpasai Madala
‎2006 Nov 24 11:30 AM
‎2006 Nov 24 11:30 AM
using sy-lsind
REPORT demo_list_interactive_3.
START-OF-SELECTION.
WRITE 'Basic List'.
AT LINE-SELECTION.
WRITE 'Secondary List'.
TOP-OF-PAGE DURING LINE-SELECTION.
CASE sy-lsind.
WHEN 1.
WRITE 'First Secondary List'.
WHEN 2.
WRITE 'Second Secondary List'.
WHEN OTHERS.
WRITE: 'Secondary List, Level:', sy-lsind.
ENDCASE.
ULINE.kishan negi
‎2006 Nov 24 11:30 AM
hi,
yes u can travel using sy-lsind.
but logically to travel backwards ie from 15 to 10 is fine. but you would need a 15th list skipping 12 13 14. moreover remember 15th list depends on 14th hence logically to move from 10 to 15 is useless but the former is useful.
santhosh
‎2006 Nov 24 11:32 AM
hi,
set the value od sy-lsind to 10 when in sy-lsind = 15.
if sy-lsind = 10.
sy-lsind = 15.
elseif sy-lsind = 15.
sy-lsind = 10.
endif.
regards
Sandeep