Application Development 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: 

Displaying pages in classical report output

Former Member
0 Kudos

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

8 REPLIES 8

Former Member
0 Kudos

suggest.

Former Member
0 Kudos

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

0 Kudos

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

0 Kudos

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

0 Kudos

Hi Twinkal,

I am looking for the logic for dipslaying page base on rows in initial page1.

Thanks

Sanket

0 Kudos

Any idea for logic. Suggest.

Former Member
0 Kudos

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

Former Member
0 Kudos

Answered