2008 Aug 11 7:12 AM
Hi all,
I am developing a report. In the report output I am displaying 4 lines. When I click on 1st line then list will display but on the second page after the intial output page and when I click on 2nd line then list will display on the third page after the second page.
My requirement is when I click on each line it will display the related page.
I can get the page and page line by the syntax:
read line 1 of page sy-index.
But how to display this one.
Suggest.
Thanks
Sanket sethi
2008 Aug 11 7:29 AM
2008 Aug 11 7:31 AM
Hi,
tell me , if user click 2nd line first(i.e without clicking on 1st line)
in which page the output will be displayed?
Simlarly for 3rd line?
Or it is mandetory that user will always click sequentialy, 1st then 2nd then only 3rd line in initial report-page?
These data are requird for me to analyse your problem.
Regards,
anirban
2008 Aug 11 7:37 AM
Hi Anirban,
Actually user can click on any of the 4 lines at any time.
So if user click on :
1st - display page 2nd.
2nd - display page 3rd.
3rd - display page 4th.
4th - display page 5th.
can it is possible by set cursor on specific line no.
Thanks
Sanket
2008 Aug 11 7:45 AM
hiii
for selecting lines like you gave in example..you can use
AT LINE-SELECTION.
CASE sy-lilli.
WHEN '5'.
logic for display page 2nd.
WHEN '6'.
logic for display page 3rd.
WHEN '7'.
logic for display page 4th.
WHEN '8'.
logic for display page 5th.
ENDCASE.
regards
twinkal
2008 Aug 11 8:02 AM
Hi Twinkal,
I am looking for the logic for dipslaying page base on rows in initial page1.
Thanks
Sanket
2008 Aug 11 9:36 AM
2008 Aug 11 7:36 AM
hi,
In the Interactive Reports The Report Pages are generated by the number of lines the page have and also the number of lines in your report.
If you want to show the Specific no of Report page with data then you have to develop the logic for that.
Use Sy-linct for the no of lines your page consisits of and then multiply taht with the page you want ot display.
Display the Recors fall in the category.
Regards
Sumit Agarwal
2008 Aug 13 12:37 PM