PO wise Page numbers to be displayed in a smartform

Hello All,
In a smartform , if i am displaying more than 1 PO's then the page numbering should be PO wise.
For eg: I have 2 PO's : A & B.
A takes 1 page and B takes 2 pages.
Then i want the numbering to be as :
For A : Page 1 of 1
For B : Page 1 of 2   
           Page 2 of 2.
Please help.

Hi,
just write like this
&page& of &SAPSCRIPT-JOBPAGES&
or
&page& of &SAPSCRIPT-FORMPAGES&
Regards
Kiran

Similar Messages

  • Display page numbers in alv display

    Hai all,
    I am using fm REUSE_ALV_HIERSEQ_LIST_DISPLAY for the alv display.
    I am also passing the 'top_of_page' subroutine to the event table.
    The requirement is , I need to display the page number in the top of page.
    ex header format is as below:
    company name : abcd.                                       date : xx.yy.zzzz.
    page number: 1
    in the next page that is when user scrolls down,
    the output should be,
    company name : abcd.                                       date : xx.yy.zzzz.
    page number: 2
    in the top of page subroutine I am passing sy-pageno.
    When I executed this, the page number is always showing '1' when I am usinng page down button.
    But when  take the printout, it is coming fine.
    is it possibel to increment the page number, for every pagedown button hit?
    Thanks & Regards,
    Bhaskar

    Hai Gopal,
    Thank you for the response.
    The top-of-page is trigegring only once & it sill display page no 1 always, even after using sy-cpage.
    any idea why is this happening?
    Regards,
    Bhaskar

  • Generated RTF TOC displaying 0 for page numbers

    Hi,
    I have an issue where I created a table of contents using Styles in Microsoft Word in my .rtf template. This is how it is displayed in the template and how I wish to display it in the generated .rtf:
    Section 2.3 : Section 2.3 Test...................48
    Section 2.3.1: Section 2.3.1 Test.............48
    Section 2.3.2: Section 2.3.2 Test.............48
    Section 2.3.3: Section 2.3.3 Test.............49
    Section 2.3.4: Section 2.3.4 Test.............50
    Section 2.3.5: Section 2.3.5 Test.............50
    When I go to generate the .rtf, the page numbers all turn to '0'. The hyperlink works correctly but the page numbers are not displaying the correct numbers. If I generate in a .pdf format, the numbers appear correctly. Unfortunately I need this to be in .rtf format. Anyone have any ideas? I cannot find anything on this issue.
    Generated in .rtf:
    Section 2.3 : Section 2.3 Test...................0
    Section 2.3.1: Section 2.3.1 Test.............0
    Section 2.3.2: Section 2.3.2 Test.............0
    Section 2.3.3: Section 2.3.3 Test.............0
    Section 2.3.4: Section 2.3.4 Test.............0
    Section 2.3.5: Section 2.3.5 Test.............0
    Thanks.

    Its identified as a word issue.
    You need to manually update the TOC in generated RTF to refresh page numbers.
    Check the note 'Table Of Contents Page Numbering In RTF Output Is Incorrect (Doc ID 473505.1)'

  • Display Page numbers in ALV

    Hi,
    I would like to know how to display page numbers in an ALv display(both grid display and list display).I tried to use the system variable sy-pagno .But couldn't get the desired output.

    Hi,
    I don't think you will be able to display page numbers in case of ALV Grid, unless you are in the list view. In case you are using the ALV Grid, you have to implement the top_of_page method (an event handler) for ALV Grid class and write the page number there. The page numbers will be displayed once you choose the list view.
    Hope this helps.
    Regards
    Message was edited by: Shehryar Khan

  • Report Generation Toolkit: Page Numbering

    When creating a Word Report using the Report Generation Toolkit, I am using the Word Set Page Numbering.vi to display the page numbers in the footer of each page of the report. This works fine when the include page x of n switch is turned OFF. However, when the switch is turned ON the numbers only show up in the left footer regardless of the position setting.
    Is this a known bug?
    If not where do I report it?
    I guess I just did...

    Hi Drugar,
    I have filed a CAR (43K9NBF2) regarding this issue.  I will look into fixing it for the next version of the Report Generation Toolkit.  If you want to workaround the problem for now, go into vi.lib\addons\_office\word.llb\Word_auto_text_entry (for page number).vi.  You can get a reference to the "Selection" property of the Application class.  Then under Selection, get a reference to "ParagraphFormat".  Then, you can set the "Alignment" property of the ParagraphFormat class.
    Thanks for reporting this issue, and let me know if you have any other questions.
    -D
    Darren Nattinger, CLA
    LabVIEW Artisan and Nugget Penman

  • Printing page numbers in ALV Hierarchical

    Hi All,
    I have a requirement to display page numbers in the report and also when in printing the page numbers will be displayed like this 'Page xx of yy'. I placed this one in the top_of_page event of the function module REUSE_ALV_HIERSEQ_LIST_DISPLAY. The only display is the Page xx while yy is not. For xx i used the sy-pagno but for the yy as total numbers i try all system fields but still not display. Please help its urgent guys.

    Hi,
      Check thease therds
    https://forums.sdn.sap.com/click.jspa?searchID=12193297&messageID=269935
    https://forums.sdn.sap.com/click.jspa?searchID=12193297&messageID=2461055
    Regards
    Kiran Sure

  • How do I show page numbers using code?

    I posted this to the Scripting Forum three weeks ago and have had no response.  let's try here....
    I have an application that creates a PDF document in code from a Word document (using the Adobe PDF printer).   it then add a "signature page" using a pre-existing pdf document with signature fields and adds a certifying signature, and then displays the document to the user in an embedded Acrobat 9.1 control so that the user can sign the document.   What i want is that the document displays (and prints) page numbers.    I know how to add them in a Footer using Acrobat, but that is not an option here since the document is already certified when the user sees it so is 'locked' and anyway I would not want to rely on the user to do this.    So what i need to know is how using the COM interface of JavaScript I can set page numbers to be displayed.   I have tried using the javascript setPageLabel but have not made it work.
    I have also tried showing the page number on the signature page template but though it shows on that page it does not apply to the rest of the document and the page numbering is wrong (it always says 1 of 1 even if there are 15 pages before it in the final document).
    I would be grateful for any help,
    thanks,
    Jim

    IF the page numbers must display AND print - then they MUST be part of the page content.  In that case, you want to use the addWatermark JavaScript API.  There is a sample of it.  BUT you will need to add that BEFORE certification.
    If yo8u need to add the page numbers AFTER certification, then look at adding a text field or text annotation.  Again, samples in the SDK.

  • Page numbers display as 5 of 1 and 2 of 2121 in a PDF that was created from a Word 2003 document

    We merge several Word 2003 documents into 1 larger document that we then convert to PDF.  The page numbers in the Word document display properly - 1 of 21, 2 of 21, 3 of 21, etc.  We then convert that merged document to PDF by right-clicking the filename and choosing "Convert to Adobe PDF".  For those of us with Adobe Acrobat Standard 8.1.3, the page numbers in the converted PDF file display as 1 of 1, 2 of 1, ... 21 of 1.  Those with Acrobat Professional 8.1.3, they display as 1 of 21, 2 of 2121, 3 of 212121, etc., each page adding another total number of pages to the total.  There is no change in the result if using v8.0.0 or 8.1.4  Does anyone have any ideas???

    Unless you have a specific reason to upgrade to OFFICE 2007, I would not recommend it. I hate it -- have it on two computers. I have had problems creating PDFs reliably from WORD 2007 and PPT 2007, at least with graphics. The conversion seems to want to split graphics up into several parts rather than leave it as one. It does not happen with WORD 2003 and so assume this is some sort of issue with OFFICE 2007. You can get the graphics fine if you use the MS plugin for PDF creation, but then you have to deal with the MS version of a PDF. If you want to try it on one computer in your office, I would do that before you make the change. However, if what you have meets the need, then why change unless there are specific items that you are looking for and don't have.
    OK, that is my opinion. I am sure there are counter arguments. If I had the preference on my newer machines, I would have OFFICE 2003. Bill

  • Page numbers displayed incorrectly in TOC in new Pages - does anybody know how to fix this?

    I'm working on a multi-section document with a single TOC for two sections. Section one uses lowercase roman numerals (i, ii,...) and section two arabic numerals (1, 2, ...). The page numbers are displayed correctly on the pages themselves, but in the TOC the first two headings from section two (pages 1 und 3) are displayed as "i" and "iii". This only started after the update to pages 5, everything was fine before that. Does anybody know how to fix this? I already tried deleting the TOC and inserting a new one and changing the numbers to uppercase letters and back, to no avail.
    thanks for any input

    Go back to Pages '09 inside the iWork Folder inside Applications.
    There are so many problems with Pages 5 it is difficult to know where to begin.
    Peter

  • How to display page numbers in report

    hi all,
    i would like to know how to display page numbers in this format " 1 of 5" in the report.
    Any help would be much appreciated.
    thanks
    seema

    Hi,
    Check this too...
    Page No. in ALV output
    If you query is solved, kindly close the thread.
    Regards,
    Anjali
    Message was edited by: Anjali Devi Vishwanathan

  • How to Display Page Numbers in RTF Template

    Greetings to all,
    We have a requirement in which we have to display the Page numbers on the output PDF.
    The scenario is , if the PDF contains10 pages,then on Pages , it should show Page 1/10,Page 2/10 etc.
    And If the output exceeds to more than 1 page, then on each page except the last one it should display "Continued" in the footer.
    Any comments on this would be of great help.
    Thanks,
    Sachin

    Hi Sachin,
    I have emailed you back the modified template, I have changed the following:
    What have I done in the template then?
    * Moved the Group: G_HEADERS place holder inside the <?start:body?> place holder.
    * Inserted a Section Break (Next Page) after the <?end body?> place holder for the main report. This creates what looks like a 3rd page
    * Added <?start@last-page-first:body?><?end body?> as the only thing on the 3rd page. The resets the headers and footers for the last page, so we need to declare the headers again. If the last page is actually the first page, then the first page will take the formatting of the last page.
    * Removed the "continued" from the Native Word footer and put it underneath the <?end body?> placeholder of the main template on page 2
    Let me know if you have any further issues.
    Rgds,
    Cj

  • How to display Page numbers in XMLreport(on PDF)

    hi all,
    we have a requirement where we need to display page numbers(e.g.page 1 of 10),on an XML report.
    can anybody suggest me the solution.

    Hi,
    Check this too...
    Page No. in ALV output
    If you query is solved, kindly close the thread.
    Regards,
    Anjali
    Message was edited by: Anjali Devi Vishwanathan

  • How to display the Page Numbers in AP Check Print Report

    Hi
    I am using <?for-each@section:G_CHECKS?> at form field. But It did not works for me.
    Please guide me inthis regard.
    Thanks
    Namitha

    In your case,
    <?for-each@section:G_CHECKS?>
    Table (A word table)
    Put the Form-Fields that you want to display
    Just type 1 of 1 where you want to display the page number.
    End Table
    <?end for-each?>
    Now on Microsoft Word
    Go to Insert -> Page Number -> Format
    Select Number Format: 1,2,3.....
    Under Page Numbering: select Continue from previous section
    That should do it.
    Thanks,
    Shaf

  • Display page numbers in Acrobat Pro 9

    I was just upgraded to Acrobat Pro 9. On my previous version of Acrobat, when viewing a multi-page PDF there was a field at the bottom of the page that said that I was on "Page X of Y". I deal with a lot of large documents, and I need to be able to track where I am, especially when I'm adding and deleting groups of pages.
    In Acrobat 9, the display that tells me what page I'm on is missing. I've searched through the menus, preferences, knowledgebase, etc, and I haven't been able to find something that will turn this on.
    I'm not talking about adding page numbers to a document. I just want to know that when I'm paging through a 300+ page PDF, I'm on the Xth page of the document.
    Is this available in version 9?

    View > Toolbars > Page Navigation

  • InDesign CS4 page numbering not displaying correctly in Pages Panel

    Hello,
    I searched the forums for a solution to my problem before posting. I am sorry if I'm doubling someone's question but here I go:
    I noticed this problem I have about 6 month ago. When I create a simple document with automatic page numbering everything is fine. When I try and create a section (i.e. I want my numbering to start at 1 at page 3) it actually works however in the Pages Panel the pages are displayed with their basic numbers. You will agree this is rather confusing. I've tryed different files, same files on different computers and so on. The problem has to do with my installation of InDesign CS4 and I suppose it's some kind of a display option I accidentally turned on.
    Could someone please suggest a solution? Thank you!

Maybe you are looking for

  • OS 10.4 MAIL & .ME

    Friends - I just straightened out my mail under OS 10.4 and new dot Me aliases. I took IMAP and and a session with a Tech in a chat room. Overall I am happy. The only downside is that all mail sent from my desktop app will have the name I type in the

  • Current datetime in xslt

    Hi , I want to get the current datetime during my xlst tranform. I used the below codes but can not get it . xslt 1.0 <xsl:stylesheet ... xmlns:ex="http://exslt.org/dates-and-times" extension-element-prefixes="ex"> <xsl:value-of select="ex:date-time(

  • OCCI VS2005 InstantClient 11_1_0_7 - really close, help appreciated

    OK, I have an OCCI app written in VC++8 (DevStudio 2005). I have downloaded InstantClient 11_1_0_7 Basic plus the SDK. The program compiles and links, and I am linking against the oraocci11.lib in instantclient_11_1/sdk/lib/msvc/vc8 Note that with th

  • Notification Light 5630 XM

    I noticed the Notification Light of my 5630 XM does not flash for new emails. It only flashes for SMS and missed calls. Since this is a smartphone it would be nice to have that feature (like it exists for E71 where you can even set if you want it to

  • Foreign Currency valuation accounting entries

    Dear friends At the time of revaluating foreign currency at period end, an accounting entry gets generated, which is reversed on 1st day of the next period. As per my understanding, the entry is as below - Forex Loss Dr Vendor Adjustment A/c My quest