‎2008 Jul 14 11:39 AM
Hi Friends,
In an interactive report, after going to 5th list, can you come back to 2nd list? how?
TIA.
Regards,
Mark K
‎2008 Jul 14 11:40 AM
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.
‎2008 Jul 14 11:40 AM
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.
‎2008 Jul 14 11:40 AM
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.
‎2008 Jul 14 11:41 AM
‎2008 Jul 14 11:41 AM
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.
‎2008 Jul 14 11:42 AM
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.
‎2008 Jul 14 11:43 AM
Hi,
by using sy_lsind we can chang the list number
Regards,
Jagadeesh.
‎2008 Jul 14 11:45 AM
‎2008 Jul 14 11:45 AM
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