08-28-2018 3:30 PM
I want to display page numbers on the alv list.
Could you please provide the sample code or any standard report.
I have tried all the ways but still did not work.
And also I can see link but here missing some code declare the types.
http://saptechnical.com/Tutorials/ALV/PageNumbers
Like st_final and all .
Kindly help me to print
Thanks.
08-28-2018 10:56 PM
Post the ways you've tried and what exactly "didn't work".
Also - why do you need this? I don't see what's the significance of the page numbers in a report (forms are a different matter). Are people physically printing the reports? Why? I haven't seen anyone in the office actually print a report in at least 5 years.
08-29-2018 2:00 AM
your mentioned link actually here:
https://wiki.scn.sap.com/wiki/display/ABAP/Printing+ALV+along+with+Page+Numbers
its just write sy-pagno in the event top of page. but as far as I know, page number only dislay correctly when you print or print preview the list.08-29-2018 5:35 AM
Hi Doan monh,
Thanks for the update.
Yes your correct, I need to print page numbers when we click on the print preview.
We can see that there are a lot of declaration missing like st_final...in above mentioned link.
Here I wanted to know what type should we use for st_final.
Thanks for the help.