?start@last-page? ?end body? code issue in RTF generate format

Hi Experts,
Do you have any idea how to print the <start@last-page> content when generating RTF format? It does not print at all in this format but in other format, it works fine.
Thanks! :)
Edited by: BIP sophomore learner on Jul 13, 2011 2:35 AM
Edited by: BIP sophomore learner on Jul 13, 2011 11:11 PM

Does anyone encounterthis issue?
Thanks,

Similar Messages

  • Issue with last-page-first Body (header of second page repeating)

    Hi,
    I am generating some invoice document and there is tax section at the end of document.Invoice can be one page document or it can be multiple pages document.I also have separate header and footer for first page and then for subsequence pages.
    Assume that it is only one page and there is sufficient space left to display Tax tables. I am using
    ------Section Break (Continuous)--------
    <?start@last-page-first:body?><?end body?>
    <?call tax template?>
    This approach works fine when document is more than one page. Moment I get only one page for my invoice it uses the header of second page.
    I already tried <?start@last-page:body?><?end body?> tag but it moves it to the next page and I want it in continuation.
    Below is the snippet of template
    <?start:body?>
    first page header
    <?if:ITEM = 'PARTS'?>
    <?call-template: pt_template?>
    <?end if?>
    <?if:ITEM = 'TM'?>
    <?call-template: tnm_template?>
    <?end if?>
    <?end body?>
    ---SECTION BREAK (CONTINUOUS)-----
    <?start@last-page-first:body?><?end body?>
    <?call-template: tax_template?>
    <?template:tax_template?>
    Please advise if any option is available.

    Hi
    1.Check the Paragraph FOrmat . Character Format  ( the smartstyle) that you have assigned to the last page.
    2. if it is the Terms and conditons page , check the text module (SO10) and its corresponding SmartStyle (paragraph format,character format).
    See if u have used Underline in the  style..
    surya

  • Last Page Header and Footer in XML Report

    Hi
    I have one requirement , where except last page for an invoice, all other pages should have one header.
    Last page should have nothing header and in Body some information(Total details) should be displayed and in footer terms and conditions should be displayed.
    if one page is there for invoice , in second page (total details) and terms and conditions should be displayed.
    Any one who already faced this issue please suggest how can proceed for requirements
    Advance thank you

    I need a large footer to appear at the bottom of the last page
    I have made a section break: new page
    I have created a field with the contents <?start@last-page-first:body?><?end body?>
    I have run the report to create an RTF file and the last page footer appears on all the pages
    But if I run it to PDF the footer does the right thing and only appears on the last page
    If I create a Powerpoint document it works OK
    It only fails in the format that I require, RTF?
    Any ideas how to fix this?
    Cheers
    Shaky

  • PO report: Problem in printing the last page

    Hi all,
    In my PO report, i need to print a table specifying 'continued' in every page and a table containing total amount in the last page for one PO. By using 'start@last-page-first:body' , i am getting the solution. But i also need to print 'Terms & Conditions' ( it is one page) in the last page after one PO. This is when i tried for one PO only. If i get the solution i need to try for multiple POs.
    And this terms & condition page should not count under total number of pages.
    Bit Urjent, can any one please help me
    Thanks in advance,
    Suresh

    Use following code to print terms and condition on last page of evey po
    <?for-each@section:G_HEADERS?>
    All header fields
    <?for-each:G_LINES?>
    All Line Fields
    <?end for-each?> --Line End
    Give Section Break <Next Page>
    <?start@last-page:body?><?end body?>
    PO Total Will Come here
    Give Section Break <Next Page>
    Terms and Condition will come here
    <?end for-each?> --Header End                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • BIP (OBIEE 11.1.1.7.1): Different Headers on 1st page, middle pages, same header on last page as 1st page

    Hello,
    This is a much discussed topic but I still couldn't find a resolution.
    The report I am trying to convert from Oracle Reports is an Invoice. The requirement is as follows:
    On Page 1 The full header including company logo, bill-to, ship-to address, invoice number etc. Standard Invoice header stuff should print 1st page.
    Page 2 andl subsequent pages should print a scaled down version of the above header to conserve space (and paper)
    Last Page should have the Invoice Summary.
    In case of a multiple page Invoice this setup works just fine. I have followed examples available in userguide as well as on the web. Used Different First Page option, created section break so that header on first page can be different than on subsequent pages.
    PROBLEM:
    The issue is that in case of a single page invoice, it prints with the scaled down header, invoice details and summary.
    The requirement is that for single page invoice, the Full header and summary appear. I have put  <?start@last-page-first:body?> <?end body?> so that the summary appears on the single page invoice but the FULL header does not.
    I have tired to follow (http://winrichman.blogspot.com/2008/08/different-page-header-and-footer.html) but it doesn't seem to work.
    How can I create the necessary breaks in Word so that I get Full header on 1st page, scaled down header on other..pages and in case of Single Page Invoice, include FULL header and Summary on one page?
    Thanks,
    Manish

    Hi Tim,
    Forgot to mention that there is also a 3rd page which needs to display Part 3 and a different header text which is not something from page 1 or 2.So I guess the even/odd pages in page setup wont work as the 1st page header will be displayed on the 3rd page which is not what is expected.
    I think this is not achievable in MSWord. Is this possible if I use a PDF template?
    Ashwini.

  • Invoice Print Report Add. Layout needs to be displayed after Last Page

    Hi,
    I am working on Invoice Print Report multiple layout Customization with RDF as Query model and created RTF using BI Publisher DEsktop and have requirement of Repeating Header on all pages, Print Page Total on all pages and Grand Total, Total Payable , Payment Options on last page. This was acheived by <?start@last-page-first:body?><?end body?>. But in one of the layout there is requirement to start new page and display some usage report for the invoice. I tried several options like using splt page break then display the custom usage report. But since I have given start last page body anything after this page is not getting picked up.
    Can you please help in resolving this issue.
    Regards,
    Amit Kulwal

    Hi SAMI Mohammed ,
    I have same issue like your, but i have to diplay a window like footer with some information. i have done like above details .
    But when there are one page its displaying at page 1 only If there are 2 pages then its not at all diplaying in any pages.So kindly guide me regarding this.
    Thanks in Advance,
    Regards,
    Neelima

  • Problem with variable in last page only context

    Hi,
    I am using a variable to sum the amount. And i need to print that variable in the footer of last page. I am using last page only context command(<?start@last-page-first:body?><?end body?><?call:footer_template?>) for printing the footer table in last page.
    Can i access the variable in last page only context. Its giving error for me. how can i access that variable.
    Thanks in advance.

    Yunus,
    I did what you said. I removed the variable from characteristic restrictions, saved the query and executed the query, appeared three variables Plant, Calender month and material. executed and saved the work book. disconeted from Bex analyzer, in RSRT Generated Report and logged into Bex analyzer ran the work book for selection Plant, calender month and material and went into change query definition and added the variable for customer which was removed earlier and and ran the query for selections Plant, Calender monmth, Material and customer. saved the work book. disconnected from Bex analyzer and closed all excel sheets and work books. In RSRT Generated Report and again connected to Bex analyzer and ran the work book, now appeared only three variables again missed variable customer.
    Yunus does any missed n the procedure what i did.
    It is helped what Chris was answered.
    Many Many Thaks for your time and replies.
    Thaks in advance
    Narendra

  • I want to display the Terms of my Order Purchase only at the last page

    I 'm new in xml publisher and i'm doing a template (order purchase). I want to print a terms only in the last page, in the end of each order number.
    I have this example:
    group G_CABECALHO by NRO_OC
    NR_OR: NRO_OC PAGE: <?fo:page-number?> / <?fo:page-number-citation:xdofo:lastpage-joinseq?>
    ITEM DESCRIPTION UNIT PRICE QUANT
    F NRO_LINHA_OC ....TAXABLE_FLAG E
    section break
    <?start@last-page-first:body?>
    TERMS AND CONDITIONS
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
    <?end body?>
    page break end G_CABECALHO by NRO_OC

    Hi. The layout is not correct, i generate another order purchase with a lot of lines. The first order the layout is ok, but the second you will see the TERMS in the same page. What i need is to have the TERMS in every end of the orders and to have a fix line border of the layout.
    LAYOUT PAGE 1
    | ORDER 1 |
    | ITEM |
    | 1 |
    | 2 |
    LAYOUT PAGE 2
    | TERMS |
    | XXXXXXXXXXXXXXXXXXXXXX |
    | XXXXXXXXXXXXXXXXXXXXXX |
    |XXXXXXXXXXXXXXXXXXXXXX |
    LAYOUT PAGE 3
    | ORDER 2 |
    | ITEM |
    | 1 |
    | 2 |
    LAYOUT PAGE 4
    | TERMS |
    | XXXXXXXXXXXXXXXXXXXXXX |
    | XXXXXXXXXXXXXXXXXXXXXX |
    |XXXXXXXXXXXXXXXXXXXXXX |
    tks,
    Elene

  • Footer required only on last page of report -template uses @section context

    I have created a template that uses a tag - <?for-each@section:G_DELIVERY_ID?>. This is causing the Header and Footer to reset for each new Delivery ID. The template also has a last page only footer which I have added on the second page of template using <?start@last-page-first:body?> tag.
    When the XML data has two Delivery IDs with one page data for each. This gives a two page output as expected.
    The user requirement is that the last page only footer information in the template (on page 2) should be printed only on the last Delivery ID i.e. only once for the
    report, that too on the last page of last Delivery ID. Currently the footer is printed on both pages of the report i.e. for bothe Delivery IDs. How can I achieve this?

    Amit,
    Did you find a solution to this issue.
    Please advice what you have done to fix the issue.
    Padma.

  • Different Footer on First page and last pages

    Hi
    I am trying to display Continue on first page and middle pages and Total Amount on last page on a multipage PO. I can display different footer page for first page and last page but the middle pages don't have a footer. How to do this if possible. There are so many threads here but not one gives the exact steps.
    first page header footer
    Add Page Break
    2nd page header footer
    Add Section Break => Next Page
    <?start@last-page-first:body?><?end body?>
    last page footer
    Please help
    Thanks

    Did you miss this ?
    http://winrichman.blogspot.com/search/label/different%20page%20header
    http://winrichman.blogspot.com/search/label/element%20in%20header
    http://winrichman.blogspot.com/search/label/diff%20header

  • Footer at the bottom of the last page

    Hello,
    My template BI / Publisher is a page, but when it is executed it may be several pages. I want the footer that appears on the last page, that it's ok, but, and at the bottom of the last page.
    Have you any idea?
    Thanks.

    With the tag :
    Avant le truc.
    +<?start@last-page-first:body?> <?end body?>+
    Après le truc.
    I have the error :
    Font Dir: C:\Program Files\Oracle\XML Publisher Desktop\Template Builder for Word\fonts
    Run XDO Start
    RTFProcessor setLocale: en-us
    FOProcessor setData: D:\Documents and Settings\bPitault\Bureau\Reporting\SWM_SPE_OM_106\DATA_INT_20080922.xml
    FOProcessor setLocale: en-us
    java.lang.NullPointerException
    +     at oracle.apps.xdo.template.fo.area.PageNumber.formatString(PageNumber.java:104)+
    +     at oracle.apps.xdo.template.fo.IDManager.registerId(IDManager.java:44)+
    +     at oracle.apps.xdo.template.fo.area.AreaTree.registerLastPageJoinSeq(AreaTree.java:1106)+
    +     at oracle.apps.xdo.template.fo.area.AreaTree.incrementJoinSequenceIndex(AreaTree.java:219)+
    +     at oracle.apps.xdo.template.fo.area.AreaTree.registerLastPageDocument(AreaTree.java:1089)+
    +     at oracle.apps.xdo.template.fo.area.AreaTree.forceOutput(AreaTree.java:471)+
    +     at oracle.apps.xdo.template.fo.elements.FORoot.end(FORoot.java:58)+
    +     at oracle.apps.xdo.template.fo.FOHandler.endElement(FOHandler.java:386)+
    +     at oracle.xml.parser.v2.XMLContentHandler.endElement(XMLContentHandler.java:196)+
    +     at oracle.xml.parser.v2.NonValidatingParser.parseElement(NonValidatingParser.java:1212)+
    +     at oracle.xml.parser.v2.NonValidatingParser.parseRootElement(NonValidatingParser.java:301)+
    +     at oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:268)+
    +     at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:149)+
    +     at oracle.apps.xdo.template.fo.FOProcessingEngine.process(FOProcessingEngine.java:279)+
    +     at oracle.apps.xdo.template.FOProcessor.generate(FOProcessor.java:1022)+
    +     at RTF2PDF.runRTFto(RTF2PDF.java:626)+
    +     at RTF2PDF.runXDO(RTF2PDF.java:460)+
    +     at RTF2PDF.main(RTF2PDF.java:251)+

  • How to exclude last page from the total number of pages counter

    Hi,
    I am customizing the payables remittance RTF template, our requirement is to reset page number to 1 for each payment, i am able to achieve this using "@section"
    also we have a requirement to have a summary page at the end, i am able to get this using "start@last-page:body".
    issue is last page is also considered in the page counter of the last payment.
    i.e. suppose if i am generating remittance for 2 payments which are printing details in two pages and one page respectively, my output will have total 4 pages and it's showing
    Payment1 page-1 footer -> 1 of 2
    Payment1 page-2 footer -> 2 of 3
    Payment2 page-3 footer -> 1 of 2
    Summary page-4 footer -> 2 of 2
    but i wanted to see
    Payment1 page-1 footer -> 1 of 2
    Payment1 page-2 footer -> 2 of 3
    Payment2 page-3 footer -> 1 of 1
    Summary page-4 footer -> 1 of 1
    Any idea how to remove the summary page from the page counter.
    Rgds,
    -Kamal

    I'm not sure how it was in Acrobat 9, but in XI you add a Header/Footer and
    one of the options it "Page Number and Date Format", where you can select
    the format of the page number to add, some of them contain the total number
    of pages (such as "1 of n").

  • Invoices suumary = last page does not work

    All,
    I am creating the invoice new invoices report in rtf.
    I need to add the invoices summary sheet at the end(as a last page) of all the invoices.
    This is what I have done to achieve that:
    insert a page break for new page.
    on that page I added the TAGS <?start@last-page:body?><?end body?> For testing purpose I just a line which says "I am a last Page".
    When in preview this in pdf I get an error:
    Font Dir: C:\Program Files\Oracle\XML Publisher Desktop\Template Builder for Word\fonts
    Run XDO Start
    RTFProcessor setLocale: en-us
    Please advice if anyone has done this. I can send the rtf and dat asample, if any one cal please look at it.
    Thanks in advance,
    Padma.

    Tim,
    I am using 5.6.2.
    Please advice as to why it does not like the last-page syntax.
    Padma.

  • Footer on each pages and last page

    I need to develop a template which has a header , body and footer. The Body has order lines. If the order lines exceeds the 1st page, it should overflow in the 2nd page , so the 1st page will have just signature as footer and 2nd page will have the main footer(which is shipping details). If the number of lines are just 5-6 then the main footer(shipping details) comes on the same page.
    I am able to achieve this using <?start@last-page:body?><?end body?>.
    The problem is if there are 8 lines, then still it prints all the 8 lines on 1st page and the 2nd page just shows the main footer at the bottom.
    Is it possible for me to restrict the table in the body such that it shows only 6 lines at a time so that the overflow goes to the next page and it does not just show a blank page with only footer.
    Please suggest
    1. How can I restrict the height of the table in the body(number of row lines)
    2. OR print the footer in all pages.
    I need help urgently. Please help
    Thanks,Vidhya

    You can restrict number of row lines:
    http://blogs.oracle.com/xmlpublisher/2007/03/anatomy_of_a_template_i_fixed.html

  • I need to print the footer in all pages except last page.

    Hi,
    I'm working on PO RTF template. I got one probelm, I need to print the footer in all pages except last page.
    Can someone help me in this.
    Thanks in advance.
    Venki.

    This question has been answered already multiple times - please search the forum before posting a question - in case you did and you didn't find it - we added a feature
    in 5.6.2 to solve this problem - It is described in the user guide in the RTF template section search for start@last-page:
    Last Page Support
    XML Publisher now has the ability to show content only on the last page. This is useful for documents such as checks, invoices or purchase orders where you want want content such as the check or a summary in a specific place only on the last page.
    The basic command is:
    <?start@last-page:body?>
    <?end body?>
    http://forums.oracle.com/forums/search.jspa?threadID=&q=%40last-page&objID=f245&dateRange=last90days&userID=&numResults=15&rankBy=9
    Any content above or below these two tags will only appear on the last page of the document.
    Hope that helps,
    Klaus

Maybe you are looking for

  • Remove multi table property defined in Parent descriptor

    I tried to remove a multi table property(which is defined in a parent descriptor) in a child, but it does not get removed. <!-- Parent descr --> <item-descriptor name="parent" ...>      <table name="testTable" type="multi" id-column-name="id" multi-c

  • Font problem in a sapscript

    Hi everybody, I have a problem with a sapscript, I have tried to change the font of the text but it is not possible. It is always with the same format, I have changed in everywhere, I have created new parragraph, new character but it is not changing.

  • Rebate Agreement (VBOF)

    Hello Experts, I have a standard Rebate Scenario. I have Rebate Agreement created for a recepient. I also have some invoices for the same. But when I check Invoices they are not updated with the Rebate Conditions. When I tried to run VBOF it did not

  • Best way to do a clean install of XP over Vista on x200s

    Hi, Just got an x200s with Vista installed. I would love to do a clean install of XP. I've noticed 2 other partitions. Lenovo describes them as -> C: is your available file storage space. S: holds critical start up (booting) information. Q: contains

  • How to trigger ABAP proxy

    hai all, i am trying to do a scenario using abap proxy, i created two proxies in the different clients of the XI box itself. when iam giving test data iam able to check it out. when iam trying to pass the dat from the proxy it is not hitting the XI e