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

Similar Messages

  • 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.

  • 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

  • Display page number in page footer

    i want to displaypage numbers i nthe report footer.
    anybody tell me how can i get the page number in the report foolter for every page?

    In Compound Layout, there is an icon on the top left that looks like a printer. Click it. Choose Footer. in the Footer window, there is a variable called "Page Number." That will give you the page number for each page.

  • Page number in ALV report

    Hi all,
    I use top of page to print page number for ALV report. When i run my report in backgrond and see the spool, the page is always started from page 2.
    These does not happen when I use non-ALV report, report prints the header starting from page 1 normally. It is weird.
    does anyone of you ever face such of that problem ?
    thanks alots
    Alia

    Hi Alia,
    Page number is usually not set in an ALV display, as compared to  List processing.
    r u sure this is a requirement?
    chk this:
    ALV Print page numbers
    Regards,
    Anjali

  • Help need to display record in same line

    Hi all,
    Correct output is not coming. 
    Movement type u2018261u2019 is material of type raw material.
    Movement type u2018101u2019 is material of type finished prodcut.
    I need to display finished product material details & beside that raw materials in the same line .
    Help me in this regard . I am watching this thread.
    DATA : BEGIN OF  i_final OCCURS 0,
              aufnr LIKE afko-aufnr,
              gstrp LIKE afko-gstrp,
              gltrp LIKE afko-gltrp,
              mblnr LIKE mseg-mblnr,        "mat doc.no
              bwart LIKE mseg-bwart,        "movement type
              matnr LIKE mseg-matnr,
              werks LIKE mseg-werks,
              lgort LIKE mseg-lgort,
              charg LIKE mseg-charg,
              menge LIKE mseg-menge,
              meins LIKE mseg-meins,
           END OF i_final.
    DATA : BEGIN OF i_final2 OCCURS 0,
              aufnr LIKE afko-aufnr,
              gstrp LIKE afko-gstrp,
              gltrp LIKE afko-gltrp,
              mblnr LIKE mseg-mblnr,        "mat doc.no
              bwart LIKE mseg-bwart,        "movement type
              matnr LIKE mseg-matnr,
              werks LIKE mseg-werks,
              lgort LIKE mseg-lgort,
              charg LIKE mseg-charg,
              menge LIKE mseg-menge,
              meins LIKE mseg-meins,
              mqty1 LIKE mseg-menge,        "MILD STEEL SCRAP
              mqty2 LIKE mseg-menge,        "PIG IRON
              mqty3 LIKE mseg-menge,        "FOUNDRY RETURN NORMAL
              mqty4 LIKE mseg-menge,        "CALCINED PETROLEUM COK
              mqty5 LIKE mseg-menge,        "FERRO SILICON
              mqty6 LIKE mseg-menge,        "FERRO MANGANESE
              mqty7 LIKE mseg-menge,        "COPPER SCRAP
              prueflos LIKE qals-prueflos,            "inspection lot number
              merknr LIKE qamr-merknr,                "inspection characteristic no
              kurztext LIKE qamv-kurztext,            "short text of characteristic
              qc_c  LIKE qamr-original_input,
              qc_mn LIKE qamr-original_input,
              qc_ni LIKE qamr-original_input,
           END OF i_final2.
    DATA : BEGIN OF i_final3 OCCURS 0,
               aufnr LIKE afko-aufnr,
               gstrp LIKE afko-gstrp,
               gltrp LIKE afko-gltrp,
               mblnr LIKE mseg-mblnr,        "mat doc.no
               bwart LIKE mseg-bwart,        "movement type
               matnr LIKE mseg-matnr,
               werks LIKE mseg-werks,
               lgort LIKE mseg-lgort,
               charg LIKE mseg-charg,
               menge LIKE mseg-menge,
               meins LIKE mseg-meins,
               mqty1 LIKE mseg-menge,        "MILD STEEL SCRAP
               mqty2 LIKE mseg-menge,        "PIG IRON
               mqty3 LIKE mseg-menge,        "FOUNDRY RETURN NORMAL
               mqty4 LIKE mseg-menge,        "CALCINED PETROLEUM COK
               mqty5 LIKE mseg-menge,        "FERRO SILICON
               mqty6 LIKE mseg-menge,        "FERRO MANGANESE
               mqty7 LIKE mseg-menge,        "COPPER SCRAP
               prueflos LIKE qals-prueflos,            "inspection lot number
               merknr LIKE qamr-merknr,                "inspection characteristic no
               kurztext LIKE qamv-kurztext,            "short text of characteristic
               qc_c  LIKE qamr-original_input,
               qc_mn LIKE qamr-original_input,
               qc_ni LIKE qamr-original_input,
            END OF i_final3.
    DATA : indx TYPE i,
           indx2 TYPE i.
    LOOP AT i_final.
        i_final2-aufnr = i_final-aufnr.
        i_final2-gstrp = i_final-gstrp.
        i_final2-gltrp = i_final-gltrp.
        i_final2-mblnr = i_final-mblnr.
        i_final2-bwart = i_final-bwart.
        i_final2-matnr = i_final-matnr.
        i_final2-werks = i_final-werks.
        i_final2-lgort = i_final-lgort.
        i_final2-charg = i_final-charg.
        i_final2-menge = i_final-menge.
        i_final2-meins = i_final-meins.
        APPEND i_final2.
        CLEAR i_final2.
      ENDLOOP.
      LOOP AT i_final2.
        indx = sy-tabix.
        IF i_final2-bwart = '261'.
          LOOP AT i_final WHERE aufnr = i_final2-aufnr.
         IF sy-subrc EQ 0.
            IF i_final2-matnr = 'MSCRAP'.
              i_final2-mqty1 = i_final-menge.
            ELSEIF i_final2-matnr = '100072'.    "PIG IRON
              i_final2-mqty2 = i_final-menge.
            ELSEIF i_final2-matnr = 'RETFDYNORM'.  "FOUNDRY RETURN NORMAL
              i_final2-mqty3 = i_final-menge.
            ELSEIF i_final2-matnr = '100062'.      "CALCINED PETROLEUM COK
              i_final2-mqty4 = i_final-menge.
            ELSEIF i_final2-matnr = '100063'.      "FERRO SILICON
              i_final2-mqty5 =   i_final-menge.
            ELSEIF i_final2-matnr = '100065'.      "FERRO MANGANESE
              i_final2-mqty6 =  i_final-menge.
            ELSEIF i_final2-matnr = '100070'.
              i_final2-mqty7 =  i_final-menge.
            ENDIF.
          ENDLOOP.
         ENDIF.
        ENDIF.
        READ TABLE i_qals WITH KEY aufnr = i_final2-aufnr.
        IF sy-subrc EQ 0.
          i_final2-prueflos = i_qals-prueflos.
        ENDIF.
        IF i_final2-bwart = '101'.
          LOOP AT i_results WHERE prueflos = i_final2-prueflos.
         IF sy-subrc EQ 0.
            i_final2-merknr = i_results-merknr.
            i_final2-kurztext = i_results-kurztext.
            IF i_final2-kurztext = 'C'.
              i_final2-qc_c = i_results-original_input.
            ELSEIF i_final2-kurztext = 'Mn'.
              i_final2-qc_mn = i_results-original_input.
            ELSEIF  i_final2-kurztext = 'Ni'.
              i_final2-qc_ni = i_results-original_input.
            ENDIF.
          ENDLOOP.
        ENDIF.
        MODIFY i_final2 INDEX indx.
       ENDIF.
    ENDIF.
      ENDLOOP..
      LOOP AT i_final2.
        i_final3-aufnr = i_final2-aufnr.
        i_final3-gstrp = i_final2-gstrp.
        i_final3-gltrp = i_final2-gltrp.
        i_final3-mblnr = i_final2-mblnr.
        i_final3-bwart = i_final2-bwart.
        i_final3-matnr = i_final2-matnr.
        i_final3-werks = i_final2-werks.
        i_final3-lgort = i_final2-lgort.
        i_final3-charg = i_final2-charg.
        i_final3-menge = i_final2-menge.
        i_final3-meins = i_final2-meins.
        i_final3-prueflos = i_final2-prueflos.       "inspection lot number
        i_final3-merknr = i_final2-merknr.                "inspection characteristic no
        i_final3-kurztext = i_final2-kurztext.            "short text of characteristic
        i_final3-qc_c = i_final2-qc_c.
        i_final3-qc_mn = i_final2-qc_mn.
        i_final3-qc_ni = i_final2-qc_ni.
        APPEND i_final3.
        CLEAR i_final3.
      ENDLOOP.
      LOOP AT i_final3 WHERE bwart = '101'..
        indx2 = sy-tabix.
        LOOP AT i_final2 WHERE aufnr = i_final3-aufnr AND
                               bwart = '261'.
          IF i_final3-bwart = '101'.
            i_final3-mqty1 = i_final2-mqty1.
            i_final3-mqty2 = i_final2-mqty2.
            i_final3-mqty3 = i_final2-mqty3.
            i_final3-mqty4 = i_final2-mqty4.
            i_final3-mqty5 = i_final2-mqty5.
            i_final3-mqty6 = i_final2-mqty6.
            i_final3-mqty7 = i_final2-mqty7.
          ENDIF.
        ENDLOOP.
        MODIFY i_final3 INDEX indx2.
      ENDLOOP.
    I am displaying i_final3 with alv
    Edited by: uday madhav chebrolu on May 20, 2008 3:22 PM

    863765 wrote:
    Is there any jsp code to display in same page rather than using ajaxJSPs are on the server, so any "JSP code" will be executed on the server.
    The client has HTML and javascript. The only way to not have the client move to a new page is to use something like Ajax.

  • Text Variable Help? Beginning section page number required

    Hi guys,
    My name is Arjun and I am working on a book in Indesign. I've created quite a few sections and want to create a header on top that displays,
    for example
    "Summary FirstX to LastX" (in bold are the variables)
    First X being that Sections first page number
    Last X being that Sections last page number
    There is a default preset that came with Indesign CS4 that allows you to create a Text variable for the last page number of that section. What about the beginning? I don't wan to turn that to static text as i have a lot of page shuffling to do and the more the automated the better.
    Thanks,
    Arjun

    I hadn't noticed that there isn't a First Page Number text variable building block. How odd.
    I would try setting up a "cross-reference" to the first paragraph in your section. (This is not part of the text variable dialog. Use the cross-reference window under Type & Tables in the Windows menu). I assume these will work on master pages, though I haven't tried it. It does seem odd that you'd need to use completely different tools for each page number!
    Be aware that there's now a hidden marker at the beginning of that paragraph, which the cross reference uses to know what page number to insert. So if you accidentally remove it (for instance, if you delete and retype the whole paragraph), you'll have to set up the cross reference again. And you'll have to explicitly create that cross reference in each section of your book, while the text variables are pretty automatic. So there could easily be a better solution that I haven't thought of.
    Good luck, and tell us what finally works...

  • 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

  • How can i display page number in this format in xml publisher report (1-1)

    in this format
    1-1
    1-2
    1-3
    2-1
    2-2
    2-3
    can i display page nos in this format in xml publisher please help me on this

    Hi,
    Use the SET COUNTRY..
    SET COUNTRY 'US'.
    write: / sy-datum.
    SET COUNTRY 'IN'.
    write: / sy-datum.
    Thanks,
    Naren

  • 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.

  • Help needed to display character vaiable in currency format

    Hi Friends
    In a SAP Script I am passing a currency field to the subroutine as an i/p parameter and since it gets converted to character format in subroutine because of 'itcsy' , ihave deleted the trailing zeroes and decimal points from the field and performed calculations on the field, now i need to pass this char field back to SAP script but i need to display that field in currency format with commas and decimal points in the script...how do i do that???
    Thanks
    Vishal.

    Hi Vishal,
    When you pass the currency amount into the perform, no need to remove the trailing zeros and the decimal point.
    Only thing you need to remove is the comma seperator as it gives a runtime error during calculation.
    To convert it back to the format with comma, write the below command:
    WRITE v_Item_total currency '2' to v_item_char.
    CONDENSE v_item_char.
    Here v_item_total is a number which is converted to comma seperated number and passed to char variable.
    This char variable is then passed to the SCRIPT.
    regards,
    Gaurav.

  • 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;

  • 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.

  • Font package needed to display page

    When opening a pdf a pop-up box appears indicating a "required font package is required to display page...and to click OK to direct browser to download font package from adobe.com...but nothing happens.  How can I get this downloaded?

    Hello Pat,
    Thank you for your reply. I have a Mac OS-X Operating System and the Adobe Reader Vision 11.0.06. Is that the information you required?
    The Message I got was exactly as stated by SKenny. After one clicked on the OK Button, nothing happened. Only could read parts of the pdf Document on Display.
    It would be great if you could help,
    MHLager

Maybe you are looking for

  • Apple BT keyboard & mouse won't pair with PlayStation 3.

    I have an Apple Bluetooth keyboard and mouse (mouse is the older single-button BT model). Neither one will pair with the PS3, with new BT keyboard/mouse support via 1.6 firmware update. When I go to register BT mouse/keyboard it sees them fine, sees

  • IPhoto (old-- version 8?) won't import photos from iPhone 5. Very buggy.

    I have an old version of iPhoto that is very buggy (we have an 06 iMac, to be replaced next month). Admittedly, when I've been prompted to rebuild the cache, I don't (what does that do, anyway?). Lately, my problems have been: 1) Certain photos from

  • Sonos and Time Capsule

    I have all my music stored on a Time Capsule, and am using Sonos to play it throughout my house. However, dropouts are frequent, and I believe it is the TC and not the Sonos. The dropouts hit all rooms at the same time, leading me to the conclusion t

  • Saving just 1 or 2 clips for future projects and deleting all the rest.

    I have several completed FCP projects that I would like to pick just a small number of clips from to save for future demos. Then I would like to delete those projects to reclaim my hard drive space. If I start a new FCP project and paste the clips in

  • Insert Table into jScrollPanel?

    I want to insert a new JTable into the jScrollPane. It works, but the Table wont appear in the middle. Here is a Picture of the Layout: http://img254.imageshack.us/my.php?image=hujodstworx9.jpg Can someone plz tell me howto insert into jScrollPane an