Application Development and Automation 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: 
Read only

Interactive report

Former Member
0 Likes
659

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

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
636

hi ravi,

yes u can with the help of sy-lsind

regards,

priya.

6 REPLIES 6
Read only

Former Member
0 Likes
636

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

Read only

seshatalpasai_madala
Product and Topic Expert
Product and Topic Expert
0 Likes
636

Hi,

By setting the value of sy-lsind you can do that.

Regards,

Sesh

Message was edited by:

Seshatalpasai Madala

Read only

Former Member
0 Likes
637

hi ravi,

yes u can with the help of sy-lsind

regards,

priya.

Read only

0 Likes
636

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

Read only

Former Member
0 Likes
636

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

Read only

Former Member
0 Likes
636

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