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
1,020

Hi Friends,

In an interactive report, after going to 5th list, can you come back to 2nd list? how?

TIA.

Regards,

Mark K

1 ACCEPTED SOLUTION
Read only

former_member188829
Active Contributor
0 Likes
998

Hi,

Yes,You Can Come Directly From 5th List to 1st List.

At Line-Selection.

Case sy-lsind.

When 1.

..........

When 2.

...............

When 3.

.............

When 4.

...............

When 5.

sy-lsind = 2.

Endcase.

8 REPLIES 8
Read only

former_member188829
Active Contributor
0 Likes
999

Hi,

Yes,You Can Come Directly From 5th List to 1st List.

At Line-Selection.

Case sy-lsind.

When 1.

..........

When 2.

...............

When 3.

.............

When 4.

...............

When 5.

sy-lsind = 2.

Endcase.

Read only

Former Member
0 Likes
998

Hi Mark,

You can manipulate the system field SY-LSIND I think - debug through and watch it will increment as you drill down. I think if you change this it will jump back to your chosen list.

(I think!)

Gareth.

Read only

Former Member
0 Likes
998

Hi Mark,

try the below code:


AT LINE-SELECTION.
IF sy-lsind EQ 5.
  sy-lsind = 2.
ENDIF.

WHERE sy-lsind is the Counter which stores the Number of Current List.

Best Regards,

Sunil.

Read only

Former Member
0 Likes
998

Hi Tia,

you have use the system field sy-lsind. like:

SY-LSIND ; it contains the index of the list that is being created and it can be changed in your ABAP program to navigate between detail list.

AT LINE-SELECTION.

IF SY-LSIND = 5.

  SY-LSIND = 2.
ENDIF.

With luck,

Pritam.

Read only

Former Member
0 Likes
998

Hi,

by using sy_lsind we can chang the list number

Regards,

Jagadeesh.

Read only

bpawanchand
Active Contributor
0 Likes
998

Hi

use the below instruction

SY-LSIND = 2.

Regards

pavan

Read only

Former Member
0 Likes
998

Hi,

You Can return to the Second List number.But The comtent will be same.

For that ,

Case sy-lsind.

.

.

.

when 5.

sy-lsind = 2.

Endcase.

Regards,

Sujit