How to print logical page number in TOC of report

My report has three sections - header, main, trailer.
after each group break in the main section the page number is saved using the srw.get_page_num(pageNum).
this records are used to build the toc in the trailer section.
Problem: srw.get_page_num delivers only the logical pagenum of the section,
means if the header section spans more than one page (for example 2), the main section starts at physical pagenum 3.
If I don't know how many pages my header contains I never have the real page number in my toc, beacuse i have to add the number of "header pages" to the saved pagenum of the main section to compute the "physical pagenum".
Is there a possibility to save the physical pagenum in the header section (in a trigger) ?
Message was edited by:
[email protected]

Thats my huge problem - i can not calculate the number of pages
nor in the main section neither in the header section.
The problem is not to know how many pages are in the trailor section.
I have to know, how many pages are in the header section without to start multiple the report.
If I have this number i can add it to the "logical" page number" of the main section to get the physical page number of the report.
the page numbers of the main section are available.
Message was edited by:
[email protected]

Similar Messages

  • How to print the page number in a background processing program

    HI All,
    I have requirement where i need to print the page number in x of y format and the program is getting executed in background and  csv file will be downloaded at application server.
        i tried using sy-pagno but it is not working.

    csv file will be downloaded at application server --> How u are downloading this ? have u coded in ur program ? in tht case u will not get.
    Regards
    Prabhu

  • How to print out page number

    I want to print page number with every page how it possible.....
    So that I would come to know how many printed documents are left....
    Please reply soon

    Hi Friend,
    In the Live Previewer menu
    on top there are two buttons
    one for Insert date and time
    two for Insert page numbers
    select the second one it will diff
    options for page displaying
    so that u can display the page numbers
    bye
    srini

  • On Yosemite how do I get Pages to print the page number on every page, not just on alternate ones?

    I  only changed from Windows to an iMac earlier this year (now on Yosemite), but cannot get Pages to print the page number on every page;  it seems only to do it on alternate pages.

    Jeff,
    I do NOT understand your positive attitude. If someone has a problem with Numbers in Yosemite, you tell them to resurrect a pre-Yosemite version of Numbers.
    The VIEW LAYOUT command is basic and critical to Numbers; how could Apple over-look such an important function in Yosemite ... ???
    Joe

  • How to Get last page number in report 10g

    I want to get last page number in report but Current page number found from srw.get_page_num(n)
    but i want to get last page number for conditional formating like this
    srw.get_page_num(current_page)=last_page
    pls help me how can get last page number;
    pls help;
    thanks in advanced;

    Hi,
    you can use the Property Print Object On for this.
    Regards
    Rainer

  • Can anyone explain to me how to print a page of Thumbnails of the same photo?

    Can anyone explain to me how to print a page of Thumbnails of the same picture, for wallet photos?

    In the print window select a print size that would allow many of the same photos on the page.  Click the Customize button and under settings select Multiple of the same photo per page.  In this screen shot I selected a size of 2x2. 
    Adjust the print size to get the number of photos per page that you want.
    OT

  • How to print last page in sap script in ladscape format?

    Hi all,
    can any 1 tell me How to print last page in sap script in ladscape format?
    Thanks In advance.
    Pravin

    Hi Pravin Sherkar,
    we can do this in SAP Scripts.
    we need to create two pages, one of landscape and another of potrait.
    now after filling the data at last we need to call the page which is of format landscape using START_FORM  function module.
    You can use condition &PAGE& = &FORMPAGES&.
    Please check this link
    Printing Portrait/Landscape in sapscript
    Re: Landscape and potrait in same layout?
    http://www.sap-img.com/ts013.htm
    Best regards,
    raam

  • How to print blank page in script

    Hi all,
    how to print blank page in script

    Hi,
    Try the command /: NEW-PAGE. Let me know if it is working.
    Ray

  • How to print the page in custom format

    Hi All,
    I've a login page like
    USER ID : Test box to enter data
    PASSWORD: Text Box to enter data
    A Button named as Print
    When i click on print button i want to print the form in custom format. when i use window.print in java script it is printing text boxes and button . but i dont want to print button and text boxes. i just want to print the user id and password entered by the user with corresponding labels.
    Can anyone suggest me how to print the page in the above format with out using the request object. coz i need to implemnt above with plain java script and html.
    Tks in Advance

    Use CSS. Check out the 'media' attribute. http://www.w3.org/TR/REC-CSS2/media.html

  • How to print different pages of sap script  from diff. trays of printer

    Hi All,
    I have the requirement in SAP script. How to print different pages from different trays in the printer.
    For example  page 1 logo and address has to print from tray-1,
                        page 2 main data print from tray-2,
                        page 3 footer data print from tray-3.
    will appreciate if u come up with solutions asap.
    Thanks in advance.

    Hi,
    May be the links given below might help you,
    SAPScript:Selecting Different Tray in SAPscript
    Print to different output tray in SAPscript/Print Workbench
    Regards,
    Hema.
    Reward points if it is useful.

  • How to get the page number in the break section?

    Hi expert,
    The user wants the page number came right after the Break group name if the break section contains more than 1 page. E.g.
    ABC Compnay
    XXXXXXXXXXX XXXXXXXX
    XXXXXXXXXX XXXXXXXXXXXX
    BCD Company, p 1
    XXXXXXXXXXX XXXXXXXX
    XXXXXXXXXX XXXXXXXXXXXX
    BCD Company, p 2
    XXXXXXXXXXX XXXXXXXX
    XXXXXXXXXX XXXXXXXXXXXX
    CDE Company
    XXXXXXXXXXX XXXXXXXX
    XXXXXXXXXX XXXXXXXXXXXX
    How to get the page number in section break level?

    Hi Wes
    * Create a Field on the margin.
    * Set its "Source" to "Page Number"/"Physical Page Number".
    * Click "Page Numbering" button.
    * In "Reset At" list box, choose the Repeating frame that surrounds your detail group in the layout.
    This should cause Reports to increment the page number until the "Company" repeating frame resets.
    Regards
    Sripathy

  • How to know the total page number of the standard report

    How to know the total page number of the standard report?
    If I insert a graph, a table, or text into the end of the standard report, how to know how much space is left for the current page?

    Hello Net,
    Unfortunately, we do not have any VIs in LabVIEW that can figure out the number of pages of a standard report. However, with the use of ActiveX calls you can achieve this task. Here are a couple of discussion forums which discuss this:
    Excel Page Numbering with ActiveX:
    http://forums.ni.com/ni/board/message?board.id=170​&message.id=194479&requireLogin=False
    Number Pages in Word Report:
    http://forums.ni.com/ni/board/message?board.id=170​&message.id=162972&requireLogin=False
    There is also great documentation on using ActiveX on msdn. You can search this document for page number objects. Here is a link to this:
     http://msdn2.microsoft.com/en-us/library/aa223048(​office.11).aspx
    Please refer to these links. If you still have questions please feel free to let us know so we can assist you.
    Thank you
    Best Regards,
    Dominic L.

  • How to change a page number ?

    db11gxe , apex 4.0 , firefox 24 ,
    How to change a page number ?
    i have a page with a number "2" , and i want to change it to "1" ? how ?
    thanks

    Go to APEX 4.0 documentation (Contents) and Search for Copying a Page. The document contains all basic tasks you can learn from.

  • How to get the Page Number in CS3 with VB?

    Hi, Everybody
    I use the Visual Basic to read the words and their page number where the Words are at. I want to do it according to Story. Some TextFrame of the Story waw placed in other pages: How can I get the Page number according to the Word that is selected?
    For myStoryCounter = 1 to Document.Stories.Count
    Set myStory = Document.Stories.Item(myStoryCounter)
    For myWordCounter = 1 to myStory.Words.Count
    Set myWord = myStory.Words.Item(myWordCounter)
    myWordContents = myWord.Contents
    Rem ** How to Get the Page Number according to the Word ***
    Next
    Next

    > But I don't understand why Item(1) are set.
    because Word can have more than one parent TextFrame - when split across TextFrames
    only Character have one ParentTextFrame accessed also by ParentTextFrames.Item(1)
    > why Story.TextFrames.Count alway is 0, Is it bug?
    no - it's not bug
    in older IDs - Story.TextFrames collection refer to all TextFrames as containers for Story text
    but in CS3 - collection Story.TextFrames contain all TextFrames inserted as InLine/Anchored objects - same like Story.Rectangles or Story.Ovals
    in CS3 - when you want to refer to TextFrames as containers for Story text - you need to use Story.TextContainers - because now you can link TextFrame and Text-On-Path as Story - Text-On-Path isn't TextFrame
    robin
    www.adobescripts.com

  • How to clear the page number in the Script

    Hi Guys,
    I have developed a Script, the same output I need to display with three times with different heading, right now I am able to display the three time with different heading, but the pages are displaying like 1,2,3,4,5,6.
    I need to display the page number 1,2,1,2,1,2, once the heading changes, I need to display page number from I, but I could not able to clear the Page number, could any one please suggest how to create the page number in LAYOUT.
    Thanks,
    Gourisankar.

    Sloved

Maybe you are looking for

  • Lexmark Genesis s815 scaner is not working on mac mini

    Hello everybody. Please help if you can! I recently bought my mac mini and migrated my files and all the data from my previous mac mini, some of the files are comming originally from my old powerbook. I wrote this introduction just because people fro

  • Google search textbox funny cursor behavior

    # Open new tab in Firefox V6.0.2 # Enter string eg. "firefox support" to search bar (select Google as your Search engine) # on results page set your cursor between the word and try to enter eg. "user" string # Result: after input of 1st character the

  • User tracking utilities and windows 7 compatibility

    Does anyone knows if user tracking utilies is compatible with windows7 (windows 7 professionnal 64 bits) I tried to install it and "user search band" doesn't show in the toolbar menu. Thanks in advance

  • Can't put my site on hosting server

    Hi, When I try to put my site up online, there is a pop-up window for two seconds before it goes away. I can't put any pages, files, photos or anything up. What is happening and how do I fix it?

  • MDX output to text file

    I have an MDX query embedded in a MaxL script. I want the query to output to a text file on my Unix server. I have tried using the MaxL spool command, but it outputs STDOUT, not just the output from the MDX. I want the MDX results set and only the MD