Page Number Display

Hi Gurus,
How can i print page numbers in standard report ( FAGLL03 ) which is not available now?
I can use sy-pagno , but where exactly i need to add that , i tested the report by adding the code in end-of-page but i didnt get the output correctly . Can u kindly tell me the solution .
Waiting for ur reply ....
Regards
Srinath

Hi,
END-OF-PAGE
This event occurs if, while processing a list page, the system reaches the lines reserved for the page footer, or if the RESERVE statement triggers a page break. Fill the lines of the page footer in the processing block following the event keyword END-OF-PAGE:
Syntax
END-OF-PAGE.
WRITE: ....
The system only processes the processing block following END-OF-PAGE if you reserve lines for the footer in the LINE-COUNT option of the REPORT statement.
Try like this:
REPORT demo_list_end_of_page LINE-SIZE 40 LINE-COUNT 6(2)
NO STANDARD PAGE HEADING.
TOP-OF-PAGE.
WRITE: 'Page with Header and Footer'.
ULINE AT /(27).
END-OF-PAGE.
ULINE.
WRITE: /30 'Page', sy-pagno.
START-OF-SELECTION.
DO 6 TIMES.
WRITE / sy-index.
ENDDO.
This program consists of three processing blocks. The standard page header is turned off. The page length is set to six lines, where two of them are reserved for the page footer.
The list consists of three pages of six lines each. Each page is made up of the self-defined two-line page header, of two lines of actual list, and of a two-line page footer. The current page number displayed in the page footer comes from the SY-PAGNO system field.
Regards,
Bhaskar
Edited by: Bhaskar Chikine on Aug 4, 2008 9:00 PM

Similar Messages

  • Multiple keyword page number display, help me please!

    Hi! I've been trying to solve this problem by checking other theads on this forum as well as other forums, but I can't seem to find a suitable solution and now im pretty desperate.
    I'm working on a book where we've had to change the numbes on each page and re-make the index. The situation is that the old index is correctly fomatted with about 11539 keywords, and after each keyword the pages where they show up are displayed. The index is situated in the same .indb-file as the rest of the book.
    Currently I'm fixing this manually by change and find, working overtime busting my a** to get this done. The problem is that in spite of this, it looks like I won't make it to the deadline.
    So, does anyone know if theres a way to enter multiple search tags into a script, and then get the script to display evey page number where the tag can be located? Since the book contains 11539 keywords spead out on ove 700 pages, I'm going crazy here. I would love to just copy-paste all the tags into a script, press enter and then get them displayed one by one so that I could copy-paste them back into the index.
    I wouldn't mind re-arranging the whole index, as long as I found a feasable way to solve this problem. I am currently running CS3, but I can upgrade if necessary.
    PLEASE HELP ME! I'm in a world of pain that's worsening day by day.
    /Corinne, Sweden

    Yes! I am also suffering this issues.
    If any one help for this it could be a great help for us......
    Thanks
    M. Karthik

  • SAPScript : Credit Memo Page Number Display Incorrectly

    Dear Gurus,
    I facing some problem in my Credit Memo display for SAPScript. Previously the page setting was
    Page        Meaning                  NextPage  Mode     No. Type
    FIRST      First page                     FIRST    INC        ARABIC
    NEXT       Next page                     NEXT     INC        ARABIC
    Then I  change it became
    FIRST      First page                     NEXT     START      ARABIC
    NEXT       Next page                      NEXT     INC        ARABIC
    Everything display in the setting was ok now, but after i save and print out the Credit memo, the page numbering still display like the link attached below. You all have any idea what thing went wrong?
    [http://www.pikipimp.com/pp/pimped_photo/s/image/41/527/873/CM.jpg?ts=1234838167734]
    Thank you for helping !
    Warm regards

    Hi,
    After changed it to &SAPSCRIPT-FORMPAGES(3)& it still display the same.
    Still "Page 1 of 3" for all 3 pages.
    Is that beside save and activate, I need to do something else like regenerate the SAP form?
    Please guide.
    Thank you very much.
    Warm regards.

  • Question about Pagination and Page Number Display

    I am trying to figure out a way to display just part of the
    pages if there are 50 or so pages. For examples if the user is on
    page 20 I would like to the numbers to display like this:
    1 ... 18 19
    20 21 22 ... 50
    I could do this through JavaScript I think, but I was
    wondering if the library itself could do something like this.
    Or if you already have something like this, send me the link
    to your site. :)
    www.kayak.com has a good example of this as well.
    Thanks.
    Robert

    Hello Robert,
    You can change the spry:if condition that may look like this:
    spry:if="{ds_CurrentRowNumber} != {ds_RowNumber} &&
    {ds_CurrentRowNumber} + 5 > {ds_RowNumber} &&
    {ds_CurrentRowNumber} - 5 < {ds_RowNumber}"
    Regards,
    Cristian

  • Cross References Will Not Display Page Number

    Got some documents created in InDesign CS3 (MAC). When bringing them into CS4 (Windows) and trying to create a paragraph cross-reference the page numbers will not display. All the other text in the cross reference ("paragraph", the word "page", etc.) displays correctly. Even the cross reference under the "hyperlinks" toolbar shows nothing (instead of the usual # indicating a page number).
    However If I copy some of the same pages into a new document and create a cross reference in it the page number displays correctly. But since it's over 300 pages I really would hate to have to do that!
    Any ideas?

    Is it maybe because CS3 does not include the cross references function (not a feature until CS4)?
    That's a real problem if we use an outside source to create a lot of our documents and they're working in a previous version.

  • Displaying Page Number in Smartforms

    Hi,
    I'm doing a page break in smartforms by date. In my output, the page number displays Page 1 of *  (instead of Page 1 of 11) but when it displays 2 digits for the field SFSY-PAGE, it displays the total number of pages. (e.g. Page 10 of 11). I used the system fields (Page sfsy-page of sfsy-formpages). I just want to ask if any of you has an idea or have experienced this kind of error. Your help is highly much appreciated. Thanks!

    Hi
    current page / total number of pages
    &SFSY-PAGE& / &SFSY-JOBPAGES&
    Go through the link given below :
    http://help.sap.com/saphelp_nw04/helpdata/en/fa/0c145cd30111d3b568006094192fe3/frameset.htm
    With Regards
    Nikunj Shah

  • Not able to reset the page number in XML Publisher based on each PO

    Not able to reset the page number in XML Publisher based on PO
    Hi,
    I have created a custom purchase report and rtf template. In the rtf template, I have added the page number feature (i.e. Page 1 of 5) from Word in the template. When I run the report for a range of POs, I expect the results as follows:
    I have given 3 POs on single request. (PO#1 has 3 pages, PO#2 has 2 pages and PO#3 has 4 pages), the page number on each PO should look like as follows:
    PO#1 page 1 of 3, page 2 of 3, page 3 of 3
    PO#2 page 1 of 2 page 2 of 2
    PO#3 page 1 of 4, page 2 of 4, page 3 of 4 and page 4 of 4
    But the page number displays on each PO as follows:
    PO#1 page 1 of 9, page 2 of 9, page 3 of 9
    PO#2 page 4 of 9 page 5 of 9
    PO#3 page 6 of 9, page 7 of 9, page 8 of 9 and page 9 of 9
    Here I have to reset the page number based on each PO. If anyone done this already, can you please share with me.
    Thanks,
    Ram.

    Hi
    One clarification please.
    Are you putting Page # of ## in the for-loop section? I mean it should be within For-each@section block.
    Even if this doesn;t work, then try using Insert->Page Break after every PO.
    Regards
    Varun

  • Anyone know to get pdf page number with PDFBOX?

    I have get page number but the page number display as code like this
    org.pdfbox.pdmodel.PDPage@113beb5how can convert "PDPage@113beb5" to the page number

    the pdf file at least must have 1 bookmark
    this is my code
    import org.pdfbox.pdmodel.PDDocument;
    import org.pdfbox.pdmodel.interactive.documentnavigation.outline.PDDocumentOutline;
    import org.pdfbox.pdmodel.interactive.documentnavigation.outline.PDOutlineItem;
    import org.pdfbox.pdmodel.PDPage;
    import java.awt.image.*;
    import java.io.IOException;
    import javax.swing.*;
    * @author Amir
    public class pdfbookmark2 extends JFrame{
      public pdfbookmark2() throws IOException{
        mypanel p = new mypanel();
      public void pl(String s){
        System.out.println(s);
      public static void main(String[] args) throws IOException {
        new pdfbookmark2() ;
      class mypanel extends JPanel{
      PDDocumentOutline root;
      PDPage pdpage;
        public mypanel() throws IOException{
          PDDocument doca;
          doca =  PDDocument.load("C:/JavaGD.pdf");  // the pdf file must at least 1 bookmark
           root = doca.getDocumentCatalog().getDocumentOutline();
           PDOutlineItem item = root.getFirstChild();
              PDOutlineItem child = item.getFirstChild();
                  pdpage = item.findDestinationPage(doca);
           pl("string page ="+ pdpage.toString());
           doca.close();
    }

  • Blackberry Z10 - Pager Number

    Hi, in our company we use short call number between employes (for example: 9919) and store that number in Contacts under PAGER and since Blackberry OS 5 when I get one incoming call from Pager number the Contact name is showing fine but with the OS 10 on my Z10 the Contact name is not showing.
    Any suggestions?
    Z10, STL 100-1, OS 10.1.0.4543 (not working with previous OS version)
    Thanks, Ivan

    Hi IvanG,
    Welcome to the BlackBerry Support Community.
    When these contacts call from their pager numbers, does the pager number display on the incoming call screen?
    Are these pager numbers shared by more than one employee?
    Are you able to call the pager numbers from the contact cards?
    Are there any other numbers preceding the pager number in the pager field of the contacts? Are there any other characters entered in that field? When these contacts call you from their phone numbers, do their names display or do you see only the phone numbers? Are the country codes included in the phone number fields?
    I look forward to your response.
    -FS
    Come follow your BlackBerry Technical Team on Twitter! @BlackBerryHelp
    Be sure to click Kudos! for those who have helped you.
    Click Solution? for posts that have solved your issue(s)!

  • Display page number in roman numeral

    Is it possible to create a form field that will display the page number in roman numerals and increment by one digit on each of the following pages? If anyone knows of a script that will do this I would greatly appreciate it.

    Yeah, it's possible. Create a unique text field on each page with this code as the custom calculation code:
    event.value = romanize(event.target.page+1);
    Then place this function at the doc-level (I didn't write that one):
    function romanize(num) {
        if (!+num)
            return false;
        var digits = String(+num).split(""),
            key = ["","C","CC","CCC","CD","D","DC","DCC","DCCC","CM",
                   "","X","XX","XXX","XL","L","LX","LXX","LXXX","XC",
                   "","I","II","III","IV","V","VI","VII","VIII","IX"],
            roman = "",
            i = 3;
        while (i--)
            roman = (key[+digits.pop() + (i * 10)] || "") + roman;
        return Array(+digits.join("") + 1).join("M") + roman;

  • Help needed- Reg: Display page number in SQL Reports

    Hi,
    I need to display page number in " page no: X of Y " format where X is current page & Y is total number of pages. Now I am able to display only the current page using ' sql.pno '. but not able to display in ' X of Y ' format.
    Any inputs in this regard will be helpful.
    Thanks & Regards,
    Anilkumar.

    Hello Anil,
    If you have the above requirement for Oracle Reports then follow the steps:
    1.In the Paper Layout view or Paper Design view, choose InsertPage Number.
    2. In the Insert Page Number dialog box, choose from the list the location for the page number.
    3.Click the desired page number format: Page Number Only or Page Number and Total Pages.
    Cheers,
    Suresh

  • Displaying page number in ALV grid display

    Hi,
    Is it possible to display page number in an ALV grid display?
    If yes, how?
    I tried it in top of page event, but it didnt work.
    Harmeet.

    hi,
    check out the sample code....
    CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
          EXPORTING
            i_callback_program          = sy-repid
            i_callback_user_command     = 'F00007_USER_COMMAND'
            i_callback_html_top_of_page = 'HTML_TOP_OF_PAGE'
            it_fieldcat                 = g_t_fieldcat[]
            it_events                   = gt_events[]
            i_save                      = 'A'
          TABLES
            t_outtab                    = g_t_final_report[]
          EXCEPTIONS
            program_error               = 1
            OTHERS                      = 2.
        IF sy-subrc <> 0.
          MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                  WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
        ENDIF.
          FORM TOP_OF_PAGE                                              *
    FORM top_of_page.
    write : sy-pagno.
    ENDFORM.                    "top_of_page
    Reward Appropriate points.
    Regards,
    Mansi.

  • Possible to always display page number in footer on outside of facing page?

    Is it possible to configure the page number in a footer to always display on the outside of the facing page?

    In the Layout Inspector, in the Section tab, check "Left and right pages are different", then put the page numbers in the appropriate places on the left and right pages.

  • Get PDF Display Page Number Acrobat Reader

    Hi,
    I am working on some automation in that I used Acrobat Reader XI to view PDF.
    I want to get display page number of opened PDF.
    I used app.doc.pageNum();
    It is giveing me the page number when I used this code in Acrobat Debuger manually.
    But I am using VB.net. so please give me the solution how to run this code on opened PDF from vb.net and get the page number or can we create plugin which I can call from VB.Net code and get the page number
    because I am not getting app object in VB.net.

    sorry I typed it wron its app.doc.pageNum;

  • Displaying Page number in all pages of sap script output

    Hi All,
    I have a issues in displaying page number in all pages of sap script output.
    I have created a seperate window just above main window to display page number.
    I have given &PAGE& in the layout editor.
    Now in the sap script output i am getting page number as 1 in all the pages page number is not changing for pages-2,3, etc..
    Can anybody tell me the reason for the same!
    In some other objects same syntax is working fine. For this object it is not working!
    Is there any setting changes!
    Thanks i
    Thanks,
    Deep.

    Hi,
    Just check the Page Counter of the Next or Second Page which you defined.
    First page
    Mode                     START
    Numbering Type           ARABIC
    Second Page
    Mode                     INC
    Numbering Type           ARABIC
    Regards
    Bala Krishna
    Edited by: Bala Krishna on Oct 17, 2008 11:23 AM

Maybe you are looking for

  • What happened to MPEG2? How to prepare material in FCP for DVD Studio Pro?

    I have made DVDs using DVD Studio Pro before when usig a manual that my teacher had put together. It all worked fine. After preparing my videos on FCP I exported the material "Using Quicktime Conversion" and selected MPEG2. But thats no longer an opt

  • Event for browse button for fileupload control

    I'm creating an application, where I need to check which file is choosen for the file-upload. Depending on the file upload, 2 other fields will be filled in because the filename is concerning a certain standard. Can I do this with javascript for exam

  • Sync fail - files accessed via app always older versions

    Hi, I have a 2TB My Cloud device and various Android devices running the My Cloud App. I have the app set to auto-sync every 120mins however when accessed via the app my files are always older versions, often by a couple of months. The time stamp sug

  • Macbook pro heating issue

    My new macbook pro bought in 2013 13.3'' 8gb ram 2.9 ghz seems to heat up a lot in the bottom of the notebook when am just downloading too much from the internet... Is this normal or is there some problem with the laptop

  • 'End Terminate' event does not completely terminate the process instance!

    Hi, my process make use of the 'End Terminate' event, this will be used pending on the outcome of a prior task, using the 'Exclusive' gateway. This works quite well but in case of process termination some strange behavior happens. The Enterprise Mana