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

intreactive reporting

Former Member
0 Likes
1,150

can u came back to list number 2 from list number 10 ??

can this b possible??

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,129

Hi,

Try like this:

case sy-lsind.

when '10'.

write:/ 'This is 10th secondary list'.

sy-lsind = '1'.

endcase.

Because, if you want to go list no 2 from list no 10, you can set sy-lsind = 1 in list no 10 ( if list no 10 has display some content ).

Regards,

Bhaskar

12 REPLIES 12
Read only

Former Member
0 Likes
1,129

report .

start-of-selection .

write:/ 'this is basic'.

at line-selection.

case:sy-lsind.

when 1.

write:/ 'this is 1 screen'.

when 2.

write:/ 'this is 2 screen'.

when 3.

write:/ 'this is 3 screen'.

when 4.

write:/ 'this is 4 screen'.

when 5.

write:/ 'this is 5 screen'.

when 6.

write:/ 'this is 6 screen'.

when 7.

write:/ 'this is 7 screen'.

when 8.

write:/ 'this is 8 screen'.

when 9.

write:/ 'this is 9 screen'.

when 10.

write:/ 'this is 10 screen'.

sy-lsind = 2.

endcase.

Read only

Former Member
0 Likes
1,129

By setting the SY-LSIND to 1.

For basic list 0

for secondary list it is 1.

if you set the SY-LSIND to 1 then it will go to second list.

SY-LSIND = 1.

Read only

Former Member
0 Likes
1,129

Hi,

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

Check this link:

Regards

Adil

Read only

Former Member
0 Likes
1,129

Hi Ankesh,

We can do it with assigning sy-lsind = 2.

Try the following:

AT LINE-SELECTION.

IF sy-lsind = 10.

sy-lsind = 2.

ENDIF.

Regards,

Chandra Sekhar

Read only

Former Member
0 Likes
1,129

Hi,

Set the SY-LSIND value to 1.

If you want to go to 1st secondary list.

At line-selection.

Case sy-lsind.

when '10'.

sy-lsind = 1."if first secondary list.

sy-lsind = 2. " if Second secondary list

endcase.

Regards,

Sujit

Read only

Former Member
0 Likes
1,129

Hi Ankesh,

This is ofcourse possible,

At line selection.

  If sy-lsind = 10.

      sy-lsind = 1.      " Second List

  endif.

Regards,

Swapna.

Read only

Former Member
0 Likes
1,129

As also said by others use the system field SY-LSIND

it can be changed in your program to navigate between different lists.

If sy-lsind = 10.

  sy-lsind = 2.

endif.

With luck,

Pritam.

Read only

Former Member
0 Likes
1,129

hiii

use like below code in at line selection event for interactive list 10.

AT LINE-SELECTION.

IF sy-lsind = 10.
     sy-lsind = 2.
ENDIF.

regards

twinkal

Read only

Mohamed_Mukhtar
Active Contributor
0 Likes
1,129

check these below links...

Here there is a lot of of informattion about interactive reports..

Read only

Former Member
0 Likes
1,130

Hi,

Try like this:

case sy-lsind.

when '10'.

write:/ 'This is 10th secondary list'.

sy-lsind = '1'.

endcase.

Because, if you want to go list no 2 from list no 10, you can set sy-lsind = 1 in list no 10 ( if list no 10 has display some content ).

Regards,

Bhaskar

Read only

0 Likes
1,129

bhaskar bhai thx