Page number problem  in xml report

hi all,
I have created one xml report  for purchase order
I want to print the page number and po number for each page ,
to achieve this i have inserted at header section the page number as "1"
but it is displaying for only 1 and 3rd and 5th pages and so on
kindly help me on this 
thanks for all in advance.

>
i have inserted at header section the page number as "1"
>
why?
>
but it is displaying for only 1 and 3rd and 5th pages and so on
>
of course
use
>
Page numbering
Insert page numbers into your final report by using the page numbering methods of your word processing application. For example, if you are using Microsoft Word:
1. From the Insert menu, select Page Numbers...
2. Select the Position, Alignment, and Format as desired.

Similar Messages

  • How to print multiple footers for each page in RTF template xml report.

    Hi,
    How to print multiple footers for each page in RTF template xml report.
    i am able to print ( two sets ) ...
    up to last page ( one template ) and for last page ( another template).
    i want to change the footer information based on the group value printed in the report ( it might be 5 to 6) In every report run.. can you please check and let me know do we have any feasibility to achieve this.
    Thanks in advance.
    Regards,
    KAP.

    You can remove all other logic, like last page only contents (start@last-page:body), etc and section breaks if any you have inserted manually.
    Just have for-each@section logic.
    It would be difficult for me to guess what you have done without looking at your RTF or describing here.

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

  • Page number problem with document imported from MS Word.

    I am a new Mac/Pages user and imported a Word document to use as a template to help me learn the Pages formatting nuances. This has worked well except for one problem. I have page numbers in the footer, but only the first digit of the page number shows up, i.e. 7,8,9,1,1...etc. I can't find a way to edit or delete the page number imported from Word. I can easily insert the page numbers through Pages but can't get rid of the imported pages numbers. Also, how do I prevent page 1 from receiving a page number?

    Hi,
    Others have reported difficulty removing page numbers from imported Word docs. I think it can be done, but it may not be worth the effort to repair the imported document when you can easily Select All and Copy the entire document and Paste it into a fresh Pages blank document without the improperly formatted, persistent Word page numbering.
    Jerry

  • How to get the total page number when using Crystal Report in JSP

    In my JSP, I use the class CrystalReportViewer to generate and display the report views. But this class only sypply the function to get the info of the active view.
    Thus with this info, I only can get the active view's page number. How can I get the report total page number without showing the last page first?
    Thanks.

    Anything you do without submitting to form has to be done on the client side (ususally by JavaScript) using data which has been send already from the server.
    With JavaScript you can do quite a bit. You can download tables which don't necessarilly appear on the screen, loading them into JavaScript arrays by dynamically generating javascript. Then you can pick up events like drop-box selection and use these tables to chose what you do next (e.g. preloading other fields, setting drop box content etc.).
    Or, you can cause forms to be submitted when actions like a selection happen without the user clicking a button. It's generally a matter of how much data you'd need to transmit.
    Another posibility is to use a Java applet, which can generate requests to the server and handle the results as it chooses. That are a number of problems with that but occasionally it's the best solution.
    What you can't do is to handle user input inside a JSP. The JSP has come and gone before the user even gets to see your form.

  • Problem calling XML Report Publisher from Oracle Reports

    Hi,
    I'm facing a problem in calling XML Report Publisher from Oracle Reports.
    Basically, I'm trying to customise Dunning Letter program. The program which is submitted calls another program. I have customised the second program and added a call to a stored procedure which in turn calls XML Report Publisher.I have created a template and attached it to the second program as well.
    The procedure code is as follows.
    v_request_id := FND_REQUEST.SUBMIT_REQUEST(application => 'AR'
    ,program => 'ARDLP_NON_SRS'
    ,description => 'Dunning Letter Print from Dunning Letter Generate'
    ,sub_request => FALSE
    l_status := fnd_concurrent.WAIT_FOR_REQUEST
    ( REQUEST_ID => v_request_id,
    INTERVAL => 15,
    MAX_WAIT => 180,
    PHASE => l_phase,
    STATUS => l_status_code,
    DEV_PHASE => l_dev_phase,
    DEV_STATUS => l_dev_status,
    MESSAGE => l_message );
    v_xml_req_id := FND_REQUEST.submit_request(application => 'XDO',
    program => 'XDOREPPB',
              argument1 => v_request_id,
    argument2 => 'FLS DE AR Dunning Letter Print - German',
    argument3 => 603, -- changed 665 -- was 551,
    argument4     => NULL,
    argument5 => 'N',
    argument6     => 'RTF',
              argument7     => 'PDF');
    Now, there are two problems I'm facing...
    1. when the second program('Dunning Letter Print from Dunning Letter Generate') gets called it executes this procedure ... logically the 'Dunning Letter Print from Dunning Letter Generate' should get called twice ... second time from the procedure. Its getting called multiple times .. as many as 15 - 20 times.
    2. The Xml Report Publisher program ultimately gets called but its erroring out with the following error:
    java.sql.SQLException: No corresponding LOB data found :SELECT L.FILE_DATA FILE_DATA, DBMS_LOB.GETLENGTH(L.FILE_DATA) FILE_LENGTH, L.LANGUAGE LANGUAGE, L.TERRITORY TERRITORY, B.DEFAULT_LANGUAGE DEFAULT_LANGUAGE, B.DEFAULT_TERRITORY DEFAULT_TERRITORY,B.TEMPLATE_TYPE_CODE TEMPLATE_TYPE_CODE, B.USE_ALIAS_TABLE USE_ALIAS_TABLE, B.START_DATE START_DATE, B.END_DATE END_DATE, B.TEMPLATE_STATUS TEMPLATE_STATUS, B.USE_ALIAS_TABLE USE_ALIAS_TABLE, B.DS_APP_SHORT_NAME DS_APP_SHORT_NAME, B.DATA_SOURCE_CODE DATA_SOURCE_CODE, L.LOB_TYPE LOB_TYPE FROM XDO_LOBS L, XDO_TEMPLATES_B B WHERE (L.LOB_TYPE = 'TEMPLATE' OR L.LOB_TYPE = 'MLS_TEMPLATE') AND L.APPLICATION_SHORT_NAME= :1 AND L.LOB_CODE = :2 AND L.APPLICATION_SHORT_NAME = B.APPLICATION_SHORT_NAME AND L.LOB_CODE = B.TEMPLATE_CODE AND ( (L.LANGUAGE = :3 AND L.TERRITORY = :4 ) OR (L.LANGUAGE = :5 AND L.TERRITORY = :6) OR (L.LANGUAGE= B.DEFAULT_LANGUAGE AND L.TERRITORY= B.DEFAULT_TERRITORY ) )
    I have checked from database that the XDO_LOBS/ XDO_TEMPLATES_B table has corresponding registration data.
    I don't know what's creating the problem.
    If anyone has customised the Dunning Letter program before or having any idea about this problem, please help me out ..
    Thanks

    satrajit,
    Now I am getting the same error you got, Can you please tell me the solution you found?.
    XML Report Publisher 5.0
    Updating request description
    Waiting for XML request
    Retrieving XML request information
    Preparing parameters
    Process template
    --XDOException
    java.sql.SQLException: No corresponding LOB data found :SELECT L.FILE_DATA FILE_DATA, DBMS_LOB.GETLENGTH(L.FILE_DATA) FILE_LENGTH, L.LANGUAGE LANGUAGE, L.TERRITORY TERRITORY, B.DEFAULT_LANGUAGE DEFAULT_LANGUAGE, B.DEFAULT_TERRITORY DEFAULT_TERRITORY,B.TEMPLATE_TYPE_CODE TEMPLATE_TYPE_CODE, B.USE_ALIAS_TABLE USE_ALIAS_TABLE, B.START_DATE START_DATE, B.END_DATE END_DATE, B.TEMPLATE_STATUS TEMPLATE_STATUS, B.USE_ALIAS_TABLE USE_ALIAS_TABLE FROM XDO_LOBS L, XDO_TEMPLATES_B B WHERE L.LOB_TYPE = :1 AND L.APPLICATION_SHORT_NAME= :2 AND L.LOB_CODE = :3 AND L.APPLICATION_SHORT_NAME = B.APPLICATION_SHORT_NAME AND L.LOB_CODE = B.TEMPLATE_CODE AND ( (L.LANGUAGE = :4 AND L.TERRITORY = :5 ) OR (L.LANGUAGE = :6 AND L.TERRITORY = :7) OR (L.LANGUAGE= B.DEFAULT_LANGUAGE AND L.TERRITORY= B.DEFAULT_TERRITORY ) )
         at oracle.apps.xdo.oa.schema.server.TemplateInputStream.initStream(TemplateInputStream.java:309)
         at oracle.apps.xdo.oa.schema.server.TemplateInputStream.<init>(TemplateInputStream.java:187)
         at oracle.apps.xdo.oa.schema.server.TemplateHelper.getTemplateFile(TemplateHelper.java:776)
         at oracle.apps.xdo.oa.schema.server.TemplateHelper.processTemplate(TemplateHelper.java:1269)
         at oracle.apps.xdo.oa.cp.JCP4XMLPublisher.runProgram(JCP4XMLPublisher.java:807)
         at oracle.apps.fnd.cp.request.Run.main(Run.java:148)

  • How to find out the page number of an xml element

    Hi everybody, sorry for my very bad english (french guy! logical). I hope you see what I'm looking for.
    I'm scripting (javascript) an exporting script of every articles from a multi-pages indesign script.
    In fact I could have one or more article in one file, every one of them is on an separate xml element. for each I have to export an xml file named with, first, the page number where appears the xml element, second, the number of exported article.
    I'm success the second purpose, but not the first.
    Someone have an idea ?

    Try this,
    var myDoc=app.activeDocument;
    var root = myDoc.xmlElements[0];
    var docTag = root.evaluateXPathExpression('//doc');
    for(i=0; i<docTag.length; i++)
        var docPos = docTag[i].insertionPoints.lastItem();
        var docFrame = docPos.parentTextFrames[0];
        var docPage;
        try
             docPage = docFrame.parentPage;
    catch(e)
            docPage = docFrame.parent.name;
        alert(docPage.name);
    Vandy

  • Page number problem in Binder

    How can I get the page number to stay at the true bottom of a page (.5 margin) when pages have different numbers of lines? The document looks perfect in the saved PDF, but when it prints the page number is underneath the last line of text, sometimes in the middle of the page. I'm combining org charts created in Visio and saved as a PDF with pages of data from an Excel spreadsheet; the Excel pages are fine, but the org charts (some of which will print in landscape, others in portrait in the book that will be created from this binder) look awful.  Thanks in advance for help!  I'm pulling my hair out over this...

    Hi
    i am not getting your points, what you have done, for printing page no. create a secondary window and put its properties accordingly (in output options), see the screenshot below
    and then use the code i have written in my previous post, (in the above screenshot i am using this to print page no in footer area, you must change it accordingly)
    If you get hided please delete it and create a secondary window as shown in %WINDOW1
    and then create a text within it, and use the code i have written .
    I hope your problem will get sort out.

  • Page number problem while printing

    We are unable to get the page number while printing from SAP, we are trying to print a word document from SAP and when it prints the page numbers do not appear properly. if we save the document to the desktop and print, it prints properly.
    We print to a Xerox 7345 printer...we have loaded the exact driver, but still does not print. Can anything be done from UNIX side for this.
    the page number appear as 0/9 0/9...where it should appear as 1/9, 2/9..etc..
    Any help is highly appreciated, Hope there are some good Basis guys out here.

    Hi Aakash,
    Is it from report or SAP Script?
    Regards,
    Atish

  • Workaround solution for page number problem in books to PDF

    I needed to create a spiral-bound book from Aperture, and decided to print to PDF to create a master rather than going through the online ordering option. Discovered the page numbers were always missing or jumbled whether I used the Automatic or Always On page number settings, even through they were displayed in Aperture correctly. In the final preview before printing to PDF, they become corrupted and no longer display correctly.
    To workaround this problem:
    1. Turn the Page Numbers option to Off in Aperture. (This option is located in the pull-down menu of the Gear icon under the pages thumbnails.)
    2. Print to PDF without any page numbers.
    3. Open your PDF in Adobe Acrobat Professional (to have write priveledges.)
    4. From the Document option in the top bar, Add Headers and Footers.
    5. Click the Footer tab, to add page numbers.
    NOTE: If you want to change the format of your page numbers on odd and even pages for a two page spread, you have to add them in two different passes. For example, insert page number in left column, then repeat action to insert page number in right column only while enabling replacement of existing page numbers. You can choose to start page numbering on any page.
    7. Save your PDF, and you can have it printed wherever you want.
    G5 dual quad   Mac OS X (10.4.7)  
    G5 dual quad   Mac OS X (10.4.7)  

    Hi,
      Use the window type as FINAL WINDOW, then your problem will be solved.
      Double click on the window and change the window type to FINAL.
    Reward if it is helpful.

  • Page Number problem

    Using ID 5.0.4, WinXP SP2, I still can't get page numbering to work properly. I've added three chapter files to a book.indb file. The book tab shows:
    1-20 for Chapter 1
    1-18 for Chapter 2
    1-20 for Chapter 3
    The page counts are correct, but the book tab thinks each chapter begins on page 1. But despite that, here's what each chapter file shows:
    Chapter 1 file shows pages 1-20,
    Chapter 2 file shows pages 21-38,
    Chapter 3 file shows pages 19-38.
    Since chapter 2 is indeed 18 pages, Chapter 3 seems to think it should begin on page 19, when it should in fact begin on page 39. I've tried every option I can think of to resolve this, but nothing has any effect.
    Book Page Numbering Options are set to "Continue from previous document" and "Doc Numbering Options" are set for "Automatic Page Numbering." "Doc Chapter Numbering" is also set for "Continue from Previous Doc." The "Start Section" box at the top is checked, but the box is greyed out, so I can't uncheck it (in case that would help).
    Is there a fix for this, or do I have to do it the brute-force way by turning off automatic page numbering and specifying a beginning page number for each chapter?
    Thanks, John

    Ta-da!! After more than a dozen tries, I finally got Shift-Ctrl-Alt to give me the Delete preferences pop-up. I did so, then opened the book again. All three chapter files began on page 1, but the "Update page & Section Numbers" option fixed it!!
    Another quirk (I think) is that my "Open a recent item" list shows the recently-opened chapter (.indd) files, but *never* shows the book.indb file. If I open the "Open" folder at the bottom of the list and double-click on the book.indb file, nothing apparently happens. That's because the book file opens *under* the InDesign list box. I need to move the box out of the way to find the book.indb file. No big deal, because I'll eventually kill this opening list window anyway. But sure is confusing.
    Peter and ManiSankar, thanks very much for all the help on this.

  • Numerical Characters Formatting Problem With XML Report Output Run From Command Line

    Hi,
    Problem description is:
    When a BI Publisher concurrent job is submitted as a child job of a PL/SQL type concurrent request, the locale in OPP is not set same as of RTF template selected. This results in number format and date format localization not work as expected. For example, when BI Publisher child job is submitted after attaching RTF template (through fnd_request.add_layout API) having language-territory as de-DE, the number format on PDF output comes out as 9,999.00 instead of 9.999,00.
    Points to notice:
    1. In OPP log we noticed that xslt._XDOLOCALE always has value EN-GB irrespective of language-territory of attached RTF template
    2. NLS_NUMERIC_CHARACTER column in fnd_concurrent_request table has no value for BI Publisher job. We can set it up through fnd_request.set_options API but it is not a desired solution. We need that OPP should automatically choose correct number format depending on locale of selected RTF template
    3. When same child BI Publisher job's output is re-processed through "XML Publisher Report" program and de-DE locale is chosen for RTF template then the number format localization works fine.
    Please help us to understand root cause of this issue and how it can be resolved.
    Thanks!

    Hi,
    Problem description is:
    When a BI Publisher concurrent job is submitted as a child job of a PL/SQL type concurrent request, the locale in OPP is not set same as of RTF template selected. This results in number format and date format localization not work as expected. For example, when BI Publisher child job is submitted after attaching RTF template (through fnd_request.add_layout API) having language-territory as de-DE, the number format on PDF output comes out as 9,999.00 instead of 9.999,00.
    Points to notice:
    1. In OPP log we noticed that xslt._XDOLOCALE always has value EN-GB irrespective of language-territory of attached RTF template
    2. NLS_NUMERIC_CHARACTER column in fnd_concurrent_request table has no value for BI Publisher job. We can set it up through fnd_request.set_options API but it is not a desired solution. We need that OPP should automatically choose correct number format depending on locale of selected RTF template
    3. When same child BI Publisher job's output is re-processed through "XML Publisher Report" program and de-DE locale is chosen for RTF template then the number format localization works fine.
    Please help us to understand root cause of this issue and how it can be resolved.
    Thanks!

  • Page number problem in ALV background

    Hi all,
    I am displaying a report in ALV format.
    In the header , i have to display the detail like current page no/ total page numbers .
    I am able to achieve this , but I am facing 2 problems
    1. In foreground , it is always dispayed as ONE SINGLE PAGE , there by showing 1/10 no matter how much pages are present.
    2. When i schedule this program in background, it takes 1 page extra .. i.e 1/10 , 2/10 .... 11/10 .
    The number of records obtained in background are proper , but probably the page lenghts are different,
    Can any one please provide some inputs on the same ?
    Thanks ,
    Supriya Murudkar .

    Hi Twinkal,
    Thanks for your suggestion .
    Is there any solution for the same ?
    The program has a normal output as well as ALV o/p.
    I just compared the 2 outputs now.
    Some records which are on page 1 on normal output are on page 2 of ALV output. the total number of records being the same.
    Do we have any other sol for this .
    Thanks ,
    Supriya Murudkar

  • Problem with Xml Report

    Dear Experts,
    I have designed a Oracle report using oracle BI publisher.
    xml is generating successfully from reports builder, my problem is that some of Invoice numbers are starting with zero (0). But when i preview the output in excel then zero's are not displaying in the report.
    For eg. My invoice number is 001, in output i am getting only 1.
    I check the force LTR option, then invoice number is displaying properly 001. But when i am copying this invoice number 001 and searching it on R12.1.3 in Payable window, then its not searchable.
    Copying from excel and pasting into oracle R12.1.3 is not working.
    Please advice me how to tackle with this problem.
    Thanks,
    Atul

    Hi Ananth,
    Thanks for your prompt reply. Checking the Force LTR option and the code suggested by you is exactly the same.
    The Invoice number which are starting with zero's are coming properly in the output, But problem is when i am copying this invoice number cell to the oracle instance then its not searchable.
    Copy for Excel 001 --> Oracle Production instance F11 -- > Paste 001 -- Here the search is not happening, if you manually type 001 then its retrieving the invoice number 001.
    Please help me if you can to resolve this issue.
    Thanks,
    Atul

Maybe you are looking for

  • How to prevent user from inputting in a Date field?

    Hi, everyone I have another small problems, for a Date field, user can choose from a date window or input from keyboard, is there any way to forbid user to input? I want to make the date field behave like a Drop-down list. User can just choose from l

  • Help with deleting files

    OK, so all of a sudden today my Mac has been acting weird with one thing. I am a photographer and have been using the standard viewing to edit down my folders. For examples, I have a folder with Baby A's photos. I click on the folder and in the list

  • Why do I have to change source input to mono when it's recorded in stereo through my interface from an acoustic pick up in order to hear anything in playback?

    Why do I have to change source input to mono when it's recorded in stereo through my interface from an acoustic pick up in order to hear anything in playback? It's a dean markley acoustic pick up with a mono 1/4" jack. It's plugged into a focusrite i

  • Problem with downloading Guitar Lesson 5

    Hi! I have problems with downloading Guitar Lesson #5. I was able to successfully able to download all other lessons, but when I try to downloadat Lesson #5, this error constantly occurs: "GarageBand was not able to complete download." I'm curious ab

  • Applying the ruler to the whole document?

    I am having trouble with the ruler in pages. I can manually adjust the rulers on each page but want to apply the same guidelines to the whole document? I have gone to preferences > rulers  and tried to figure out but I am at a loss? Can any one help?