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

ALV report

Former Member
0 Likes
972

I am using REUSE_ALV_HIERSEQ_LIST_DISPLAY

to display list

i want to print page num for each page when they take the print out.sy-pagno is not working.

and i want it in end of page .

how to do it

please help

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
948

have u declared line-count in ur report

report Zxcv message-id zs no standard page heading

<b>LINE-COUNT 65</b> line-size 255.

i have not tried , try this and in end-of-page u can write in

end-of-page.

write: / 'PAGE', sy-pagno.

I am using REUSE_ALV_HIERSEQ_LIST_DISPLAY

to display list

i want to print page num for each page when they take the print out.sy-pagno is not working.

and i want it in end of page .

how to do it

please help

7 REPLIES 7
Read only

Former Member
0 Likes
948

you can refer to the example program provided by SAP :

BCALV_TEST_HIERSEQ_LIST_EVENTS. Please run it in IDES Server.

Read only

Former Member
0 Likes
948

Hi sarangan,

In order to be able to display the desired design object in the END_OF_PAGE event, you have to expressly reserve the required number of lines. To do this, use the method SET_RESERVE_LINES in the CL_SALV_PRINT class. With the SET_RESERVE_LINES method you determine how many lines are served.

Check on to this link this should solve ur problem:

http://help.sap.com/saphelp_erp2005/helpdata/en/80/150041b8cfed6fe10000000a1550b0/frameset.htm

Regards,

Nagarajan.

Read only

Former Member
0 Likes
949

have u declared line-count in ur report

report Zxcv message-id zs no standard page heading

<b>LINE-COUNT 65</b> line-size 255.

i have not tried , try this and in end-of-page u can write in

end-of-page.

write: / 'PAGE', sy-pagno.

Read only

0 Likes
948

Try this:

Specify number of footer lines in LINES-COUNT

report ZTEST no standard page heading LINE-COUNT 75<b>(5)</b> line-size 255.

END-OF-PAGE.

WRITE : sy-pagno.

Read only

jayanthi_jayaraman
Active Contributor
0 Likes
948

Hi,

Check this link and kindly reward points by clicking the star on the left of reply,if it helps.

http://www.sap-img.com/ab026.htm

Read only

hymavathi_oruganti
Active Contributor
0 Likes
948

for printing what ever we write in end of page or top of page,

u need to fill the print parameters and pass them to IS_PRINT in reuse fn module.

Read only

Former Member
0 Likes
948

Hi Sarangan,

did you check the end_of_page properly..

it won't print the page no, it is normal list , it is alv list.

line-count, line-size will never work in alv.

did you check that..

i am sure what ever above suggested will not work in your case.

check it once...(in normal report it will work)

regards

vijay