How to realize page numbers when printing from an ALV-Grid

Dear ABAPers,
with resprect to SAP note 402627 ALV-Grids in 4.6-Systems
do not produce a header with Actual date, report title
and page number as it does from release 610 on.
I've spent almost the entire day on searching the SDN
for an answer on how I could produce a page numbering.
I've also tried quite a lot, for example by using the
END_OF_PAGE event, but nothing worked.
I'm using the FM REUSE_ALV_GRID_DISPLAY, but even an SAP
sample report BCALV_GRID_01, which is supposed to
demonstrate the object-oriented use of the several
PRINT-events does not process PRINT_END_OF_PAGE in our
4.6C-System.
Is my search in vain or does anybody have experience
with those kinds of problems under 4.6x ?
Thanks in advance
Andreas Flügel

I think you should be able to use PRINT_END_OF_PAGE event for the same. That should work. Use SY-PAGNO variable to print the page no in this event.
You will have to register this event and set the handler for the same.
Did you try this?
Regards,
Ravi

Similar Messages

  • How to set text size when printi from a web page

    can't increase text size when printing a web page

    If you're using IE, click on View, Text Size and then whatever size you'd like.  You'll see the changes on the screen and it should print out the same way.
    Hope that helps.
    Say Thanks by clicking the Kudos thumbs up. Please mark the post that solves your problem as an Accepted Solution so other forum users can utilize the solution.
    I am an HP employee.

  • Page Numbering when printing a multiple sheet document

    I moved this post from Pages after accidentally posting it there earlier...
    In considering an approach to solving a problem posted earlier today I thought about using the Continue (Page Numbers) from Previous Sheet setting in the Sheet Inspector to display a sequence of numbers on a series of sheets. All looked good on the live document, but when Printing to PDF or Exporting to PDF, I get the same first page number on each sheet. Further, the number on that first page depends on which Sheet was selected when I did the export. All pages and sheets print/export, it's just the page numbering that seems anomalous.
    Let's say I have a document with three two-page sheets. On the live document, page numbers are 1 and 2 on the first sheet, 3 and 4 on the second sheet, etc. Just what I would expect. When printed to PDF or exported to PDF, I get 1,2,1,2,1,2 or 3,4,3,4,3,4 or 5,6,5,6,5,6 depending on which sheet is selected as I begin the export or print dialog.
    Any one else seeing this? Is there a logical explanation for it? This is on a MBP with Snow Leopard. I haven't tried printing to paper to see what happens there.
    Jerry

    Hi Jerry,
    Not the same results, but I did get weird ones.
    Using iBook & OS X 10.4.11.
    Three two page sheets, each with a single table. Sheet 2 and sheet three produced by Duplicating Sheet 1.
    Live display shows pn/pc as
    1/6, 2/6, 3/6, 4/6, 5/6, 6/6
    Preview (sheet 3 selected), created by clicking preview button in Print dialogue, shows
    1/6, 2/6, 3/4, 4/4, 5/6, 6/6
    Preview (sheet 1 selected) shows same as above.
    Preview (sheet 2 selected) shows same as live.
    1/6, 2/6, 3/6, 4/6, 5/6, 6/6
    Repeating print to preview with s2, s1, s3 selected gives correct results each time.
    Regards,
    Barry

  • Page orientation when printing from iBooks Author

    I have a iBooks document, all in portrait orientation. If I print this doc then it is printed in landscape even if I change the orientation to portrait within the printing interface. iBooks somehow is stuck to landscape when printing.
    Who has got a solution to this?
    Daniel

    K T wrote:
    Without specifying your higher goal, it is difficult for me to decide on what part of the question the emphasis lies, sorry.
    Are you trying to ask for help in the forum or to file a bug?
    I'm hoping that someone here has figured out how to control the orientation when exporting to PDF. I haven't been able to find a way to do that.
    while there is no formal bug reporting method similar to what devs have w/apps, iBA does have a 'Provide iBooks Author Feedback' menu item.
    Actually, there is: the Apple Developer Program. I have submitted a number of bug reports for IBA there, and have received timely and constructive responses from the development team.
    Good luck and welcome to iBA.
    I've been using IBA since it was released, as you well know.
    Michi.

  • How can I get the selected rows from two ALV grids at the same time?

    I have a program that uses two ALV grids in one dialog screen. I'm using the OO ALV model (SALV* classes).
    The user can select any number of rows from each grid. Then, when a toolbar pushbutton is pressed, I'd have to retrieve the selected rows from both grids and start some processing with these rows.
    It is no problem to assign event handlers to both grids, and use the CL_SALV_TABLE->GET_SELECTIONS and CL_SALV_SELECTIONS->GET_SELECTED_ROWS methods to find out which rows were marked by the user. Trouble is, this only works when I raise an event in each grid separately, for instance via an own function that I added to the grid's toolbar. So, I can only see the selected rows of the same grid where such an event was raised.
    If I try to do this in the PBO of the dialog screen (that contains the two grids), the result of CL_SALV_SELECTIONS->GET_SELECTED_ROWS will be empty, as the program does not recognize the marked entries in the grids. Also, an event for grid1 does not see the selected rows from grid2 either.
    As it is right now, I can have an own button in both grid's toolbar, select the rows, click on the extra button in each grid (this will tell me what entries were selected per grid). Then, I'd have to click on a third button (the one in the dialog screen's toolbar), and process the selected rows from both grids.
    How can I select the rows, then click on just one button, and process the marked entries from both grids?
    Is it somehow possible to raise an event belonging to each grid programmatically, so that then the corresponding CL_SALV_SELECTIONS->GET_SELECTED_ROWS will work?
    Thanks.

    Hello Tamas ,
    If I try to do this in the PBO of the dialog screen (that contains the two grids), the result of CL_SALV_SELECTIONS->GET_SELECTED_ROWS will be empty, as the program does not recognize the marked entries in the grids. Also, an event for grid1 does not see the selected rows from grid2 either.--->
    is it possible to  have a check box in each grid  & get the selected lines in PAI of the screen ?
    regards
    prabhu

  • Adjust page margins when printing from websites

    I'm trying to print a page from the internet that contains a picture and text.  When I click on "printer friendly" the page comes out with text on the right side cut off. 

    Thank you for your replies.  Here are the procedures I have tried:
         Page is open in Safari, click on file, print.  Whenn the print menu drops down that is when the page shows as being cut off on the right.
         I don't have an option of printing to PDF however I have tried to save it to PDF and the page does the same thing.
    It's just so puzzling/frustrating.

  • Red Background Squares When printing from Acrobat 8.1.2 (Leopard)

    We are 5 to use Acrobat Pro 8.1.2 in the office on Mac OS10.5. When we print to HP Laserjet from Acrobat, we get red square backgrounds on items in the page. When printed from Preview, or older Acrobat, this does not happen. HP does not have a clue.
    Thanks for any suggestions.
    Jonas

    You can change the printer profile inside Print / Advanced / Output /
    Colour Profile /
    Jon

  • I want to remove the header and footer when printing from my mac, i can do this in the Page Setup on my PC but not on the Mac. I can do it each time I print but then it resets. How do I make a universal change?

    I want to remove the header and footer when printing from my mac, I can do this in the Page Setup on my PC but not on the Mac. I can do it each time I print but then it resets. How do I make a universal change?
    == This happened ==
    Every time Firefox opened

    Go to the "File" menu, then "Print." The window that appears will have three drop-down menus at the top.
    The first is labeled "Printer",
    The second is "Presets".
    The third is unlabeled but has "Copies & Pages" selected by default.
    Click on that third menu and select "Firefox" near the bottom of the list.

  • When printing from an online PDF, the page prints in extra large scale. How do I fix this?

    when printing from an online PDF, the page prints in extra large scale. How do I fix this?

    This can happen when Firefox has misread the paper size from the information supplied by Windows. Clearing it can involve finding some obscure settings, but here goes:
    (1) In a new tab, type or paste '''about:config''' in the address bar and press Enter. Click the button promising to be careful.
    (2) In the search box above the list, type or paste '''print''' and pause while the list is filtered
    (3) For each setting for the problem printer, right-click and Reset it. The fastest way is to right-click with the mouse and then press the r key on the keyboard with your other hand.
    Note: In a couple other threads involving Brother printers, the preference '''printer_printer_name.print_paper_data''' was set to 256 and when the user edited it to 1 that fixed the paper size problem. If you see a 256 there, you can edit the value by doubling-clicking it or using right-click>Modify.

  • HT4356 When printing from the iPad how to control how many pages of the document to print?

    When printing from the iPad, how to control how. Any pages of the document to print?

    You got me curious (even though I've never used coupons.com, and I have an AirPrint printer).  So I checked out coupons.com in the iTunes Store and found the following two reviews that I think explain everything:
    Based on the above, my conclusion is coupons.com is set up to print on wireless HP printers from an iPad.  You could print to a non-AirPrint HP printer as well using an app from the iTunes Store.  But the non-AirPrint printers do offer considerably less compatibility with Apple's iPad applications than the AirPrint ones do.  For example, in the Epson case, non-AirPrint Epsons can print from Safari but not from email.

  • How to print within the margins of the page when printing from iPad to HP Envy D410a?

    When I try to print something from the iPad, either the 1 or the 2, the result is that the image sent from the iPad is printed Borderless, which of course results in parts of the print being cutoff, is there someway to resize the print through the printer, since the iPads don't have drivers?
    Also, I seem to have a similar problem when printing from my PC, only in it's case the resulting print is smaller, it seems to print into a margin size of 1" on all sides. The only app that I have found that lets me override this is Adobe Reader which has the page scaling options.
    All suggestions will be appreciated. TIA.
    Stephen.
    This question was solved.
    View Solution.

    You may download HP iPrint software to edit margins & borders:
    http://h10025.www1.hp.com/ewfrf/wc/document?docname=c01616126&lc=en&cc=au&dlc=en&product=4073738
    Although I am working on behalf of HP, I am speaking for myself and not for HP.
    Love Kudos! If you feel my post has helped you please click the White Kudos! Star just below my name : )
    If you feel my answer has fixed your problem please click 'Mark As Solution' and make it easier for others to find help quickly : )
    Happy Troubleshooting : )

  • With newest version of numbers how do you remove the page number when printing?

    I have the newest versin of numbers, just downladed it and now i can't get rid of the page numbering when i go to print??  Please help

    Thank You.  That was so simple.  Just in the other version you could just click it off.  I appreciate the help

  • How do you remove the extra space from the top margin when printing from a website? Already reset Firefox and checked my settings. Using Firefox 18 & Windows 8

    I have a 2" space at the top of pages that I print from websites. How do I remove the extra space? My margin settings are at .5"

    laderamacguy took a look at it and added a black shape over the tab. he suggested i use a different template next time, such as the black template.

  • How one can print a page to pocket printer from handset of nokia 40 series/

    how one can print a page to pocket printer from handset of nokia 40 series/60series/80 series
    if u have any information regarding these two question the pls send me the link

    I came across something similar recently where it printed the left hand side only!
    If I want to print an email, instead of File > Print  ( does not print properly ) I click on the print icon on my email webpage ( do not use applemail and access gmail direct) which then takes me to print preview showing the complete email which prints ok.
    Some webpages ( File>Print) do not print properly and some do. Those that do not generally have their own printer icon (path) that needs to be clicked on.
    Maybe something to do with encryption but don't know.
    Hope this helps in some way.

  • Office jet pro 8600 how to default to black ink only when printing from my ipad

    Is there a way to set an option to print black ink only when printing from my Ipad 2?
    When I use the print icon the only option that shows is double page. I would like to be able to print black only.
    I can set that option when printing from my pc....
    This question was solved.
    View Solution.

    Hi,
    Airprint does not support Black ink only printing, however the HP ePrint app allow it.
    Be aware that the option is only available for documents (e.g Office files, PDFs, Web pages and emails) but not for Photo files.
    You may find the steps to get and use the app in the document below:
    http://h10025.www1.hp.com/ewfrf/wc/document?docname=c01616126&cc=us&dlc=en&lc=en&product=4323659&tmp...
    Say thanks by clicking the Kudos thumb up in the post.
    If my post resolve your problem please mark it as an Accepted Solution

Maybe you are looking for

  • Plz help i have trouble

    Hello i have a trouble in my nokia N97 my problem is that i have only 2 mega free in my C memory and i dont have any pics or messages or any thing on it and when i make memory detail for C what i found is SIS AOOKICATIONS is 32 MB and Other friles 38

  • How to set default permissions for files and folders

    We have mac and windows computers on a network where we use Mac OSX Server 10.4 to share files. When files are created on windows computer, no problem, all users can read/write these files. However on our 2 macs (1 10.3 and 1 10.4), other users are b

  • AT / SKF report on ksu1 or ksv1 cycle

    Hi, In KSU1 or KSV1, we can define var portion type by actual SKF or AT or on plan cycle also. May I know if there is a report to show the var portion type of distribution or assessment cycle is using AT or SKF? It is quite difficult to locate the va

  • Assign Batch Class Automatically to A Retail Article

    Dears, Please i want to know if i have the possibility to assign  a batch class 023 to An Article once i create it ? Thanks in Advance Abdallah Galal

  • Can't connect remote PC with Microsoft Remote Desktop for Mac after using a new router

    I'm using a Windows 8.1 computer as a HTPC to download files and I set it logins automatically and I just need to press the power button then use RD for Mac to control the HTPC without extra monitor, keyboard... Here is the problem: After I took my M