Complex Header on RTF Template

Hello all,
I have an issue with an RTF template and I really hope you have a minute to help me out.
I'm really new at this stuff. This is for Purchase Order (PO) printing on Oracle eBusinesss Suite.
On the template I need the first rows from a table (which represents the PO number) to be repeated for each page when the number of rows on the table exceeds one page. Those rows are inside a for-each.
I've tried:
1. using Word Header, it won't let me put form fields, so I've tried with the XMLtag for the fields, but it allways repeat the first one when more than one PO exists.
2. using Word Repeat Header Rows property, works fine with just one PO, but doesn't work for more than one.
3. using <?start:body?> <?end body?> gives me an error, changed for <?body-start?> <?body-end?> which gave me no error but doesn't do anything.
Could I have a version issue? I'm working with Oracle BI Publisher Template Builder for Word 10.1.3.4.1. and XMLP 5.6.3 on eBS 11i.
Really appreciate if you shed a light over this.
Thanks!

Thanks for your reply, I think you understood the problem.
We've tried what you suggested, but didn't work.
It keep on repeating the first PO_NUM on every page, for the field above the start:body.
The PO_NUM bellow the start:body (inside the for-each) is iterating OK as expected.
This is what it looks like now:
THIS IS MY HEADER
<?POH_PO_NUM?>
<?start:body?>
     <?for-each-group@section:G_HEADERS;./POH_PO_NUM?>
          <?POH_PO_NUM?>
          <?for-each:G_LINES?>
               <?POH_LINE_QTY?>
          <?end for-each?>
          <?split-by-page-break:?>
     <?end for-each-group?>
<?end body?>
Any suggestion? I'm I missing something?
Thank you very much!

Similar Messages

  • Changing HTML head in RTF template?

    Hello everybody,
    I have a question concerning RTF templates and BIP's HTML output: Is it possible to add information to the <head> section of HTML pages generated by BI Publisher when creating the RTF template? And if it is, can somebody tell me how to do it?
    Thanks in advance!

    Hello Naveen,
    thank you very much for the link. Unfortunately this seems to be unsupported by BI Publisher.
    Instead of showing my report, BIP displays the following error message: +"element Header is not supported yet."+
    Thank you again for your efforts.
    kv12

  • BI Publisher: variable in Header of rtf-template

    Hi,
    Is there a way to display a field in a Header of RTF-document when the value source of the field is from XML data source ?
    In other word, could Header of RTF-document conclude variable ?
    Thank you

    tried after installing latest desktop Bi Publisher verison but no improvement. issue remains same error message as earlier

  • Header in .rtf template should not come on the first page?

    Hello,
    I developed a custom AR statements report, in the report I to print repeatedly from the second page ( it shouldn't come on the first page header), how can I do this.
    Please input your comments?
    Thanks,
    Sridhar

    you can use different page header and footer have develope the report in 2 pages or only one page .
    if you develope the report in 2 pages
    in the first page remove header and use different first page header property in word and paste the header in second page.

  • Header / footer with RTF template

    Hi all,
    My problems are below:
    - I want to create RTF template for a BI Publisher report. On that template, I would like to have a group of data that is printed only on the last page of the report (as a summary document end). For example, if, when I print my report, the used datamodel in my template selects datas to be printed on 5 pages, I want that some datas appear only on the fifth page and if the datamodel selects datas to be printed on 10 pages, I want that some datas appears only on the tenth page etc...
    How to do that ?
    -Also, how to use header and footer otherwise that hard code tags in header and footer ? Also, finally do you have some tutorials or samples to use complex header and footer with RTF template ?
    Thank you.
    Michaël.
    CGSI.

    i have a problem with header and footer too can you please help me out..
    <?call:Header?>
    group ROW by saw0_
    <?template: Header?>
    Account ID: saw0_
    <?end template?>
    Total saw17_
    page breakend ROW by saw0_
    i have a column saw_0 which i want to show as header in each page. and for each new saw_o i want to show it in next page.
    but currently in the header it shows the last row fetched by saw_o.
    while saw_0 has more than 1 value.

  • Resetting Header and Footer in RTF templates

    Hi,
    I developed an RTF template (template 1). This template contains start:body and end body for printing the header and footer in all pages. After printing this template then i have to call another template(template 2) from this. I called the template (template 2) using call statement. But the probelm is that the header and footer of template1 is printed in the output of template2 .
    I dont want to print this header and footer for template 2. Can anyone please suggest me in doing this. I placed start:body and end body in the second template with the assumption that 1st template's header and footer will be overwritten. But if i preview then am getting 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: C:\Documents and Settings\kpoda\Desktop\Invoice Printing Efficiencies\Sample XML Data\Sample Output4.xml
    FOProcessor setLocale: en-us
    each
    Please sugget.
    Thanks

    Hi,
    Do you have two templates (template1 & template2) that you want to display in the same document where the pages for template1 has one set of header and footers; and template2 has another set of header and footer?
    If that is the case you can simply create a new section in your rtf template so you have section1 and section2.
    In the body of section1 you call template1 and template2 in the body of section2.
    You can then have different header and footers for the two templates in the same document.
    BR Kenneth

  • Report header issue in .RTF Template

    Hi,
    I have designed a .RTF Template, I need to display a Parameter in the header part of the template, If the Parameter doesn't contain values then I do not want to show them, Can I have If and End if condition in the header part, I believe I cannot use Field in the header part.
    How do I achieve it, If you need the .RTF template i can upload.
    Regards,
    Ashoka BL

    Hi,
    Declare the parameter with the syntax <?param@begin:AAAA?>
    And in the header use <?$AAAA?> if AAAA is the name of your parameter. If theres no value, it will automatically not display since the value is blank, No need of an if wrapper.
    -Domnic

  • Header and footer of RTF template not getting carried over to Excel output

    We have Header and Footer in RTF template defined. The output of the report will be in Excel. When we run the report, the header and footer on the report are not getting carried over to excel has header and footer, instead the header and footer are printed as first line on the excel. Also, the RTF template is set to landscape but when the output is generated in excel, it is set to Portrait

    hi..
    chk this presentation...
    http://csc-studentweb.lrc.edu/swp/Berg/articles/NW2004s_what_is_new.ppt#352,3,Why NW 2004s?
    http://www.sap-hefte.de/download/dateien/1090/086_leseprobe.pdf'
    hope this helps...

  • How to display a blob image in RTF template's Header.

    Hi,
    I want to display a blob image (logo company) in my RTF template,
    my problem is how i can display this image in the template's Header.
    I tried this
    <?
    <fo:instream-foreign-object content-type="image/jpeg" >
    <xsl:value-of select=".//LOGO"/>
    </fo:instream-foreign-object>
    ?>
    but was unsuccessful
    Thanks in advance.

    I tried this
    <?
    <fo:instream-foreign-object content-type="image/jpeg" >
    <xsl:value-of select=".//LOGO"/>
    </fo:instream-foreign-object>
    ?>
    but was unsuccessful
    sure
    what is red elements ?
    you template can be looks like
    ..... some data .....
    ( after  all data )
    <?template:footer_logo?>
    <fo:instream-foreign-object content-type="image/jpeg" ><xsl:value-of select=".//LOGO"/></fo:instream-foreign-object> (as field )
    <?end template?>
    <?call-template:footer_logo?> ( in header/footer )
    some remarks https://oralublog.wordpress.com/2014/10/04/bi-publisher-11g-footers-and-headers-in-rtf-template/

  • RTF template design issue for header and body section

    Hi All,
    I have a RTF template having header and body sections.
    in header section i have order number, customer number etc.
    in body part i am displaying details for the respective order.
    But the problem is in header part my query is returning multiple row , so my requirement is for each row i.e order, i need to display the details accordingly.
    Ex: Header query returns order number : 1,2,3
    in my page i need below way:
    Order number :1
    a,b,c
    order number :2
    c,d,e
    order number :3
    g,h,g
    I tried to use loop in header section , but it is repeating only for header part not body part please help me on this.
    Thanks
    Deb

    Avinash thanks for your help,
    Actually in my requirement the header level and line level invoice numbers are different, in header level i have different invoices and for each invoice i need to display some other invoices along with some data.
    I have sent you the respective RTF file and Sample XML file to your mail, could you please help me on this, i am struggling whole day on this.
    the link between the header and line section is header_id.
    Thanks in advance
    Deb

  • Complex if statement in rtf template?

    Hello,
    I want to build an if statement in rtf template, the idea is like:
    <?if:address!='' and phone!=''?>
    <?end if?>
    what's the correct way to do it if it is possible? Thanks in advance!
    Shichao

    stevencallan wrote:
    Conditional statements, in the user guide or the report developer guide, depending on the version you use.
    Page 7-62 in the 10.1.3.2 user guide:
    Use an if statement to define a simple condition; for example, if a data field is a specific value.
    1. Insert the following syntax to designate the beginning of the conditional area.
    <?if:condition?>
    2. Insert the following syntax at the end of the conditional area: <?end if?>.
    For example, to set up the Payables Invoice Register to display invoices only when the Supplier name is "Company A", insert the syntax <?if:VENDOR_NAME='COMPANYA'?> before the Supplier field on the template.
    Enter the <?end if?> tag after the invoices table.Thanks for the reply. But what about two conditions in one if statement? That was my question. :)
    Shichao

  • How to select specific rows in rtf template for complex calculation

    Hi,
    I want custom calculation in my rtf template and for this i need to select specific cell's value OR specific row's value. Any one please suggest how can I get this. Below is the example i have plotted using excel. My target is to get field 8 and 9 using sum and minus. We can calculate column over column, is there any way to calculate row over row? If I use variables, then i have to create so many variables because I have more columns and rows to calculate (here i posted one sample table). Any one please help me how can I get expected result other than using variables! If "Using variables" is the only way then also give your valuable opinions.
    Row No
    Curr Qtr
    PQtr1
    PQtr2
    3
    B3
    C3
    D3
    4
    B4
    C4
    D4
    5
    B5
    C5
    D5
    6
    B6
    C6
    D6
    7
    B7
    C7
    D7
    8
    B8=SUM(B4:B7)
    C8=SUM(C4:C7)
    D8=SUM(D4:D7)
    9
    B9=B8-B5
    C9=C8-C5
    D9=D8-D5
    Thanks.

    Hi AlexAnd,
    Thanks for the reply, I got 0 using both codes. This is a dummy table and I plotted 3,4 to give an idea of row number (as like as excel). Rows are individual data sets combining different measures and dimensions with different values.
    Account
    Curr_Qtr
    PQtr1
    PQtr2
    Deposit
    10
    15
    20
    Loan
    15
    20
    25
    Earning
    20
    25
    30
    Assets
    25
    30
    35
    Total
    =SUM(15,20)
    =SUM(20,25)
    =SUM(25,30)
    Expense
    =SUM(15,20)-25
    =SUM(20,25-30
    =SUM(15,20)-25
    Is there any way to identify the range or individual cell's value? Using variables I have to create lots of variables for each cells, I want to avoid that and want to use rows in calculation! Is that possible, Pls share your valuable opinions!
    Thanks.

  • Unable to Maintain different Headers and footers in a multiple RTF template

    Hi All,
    I have a very complex requirement to Print Custom Invoice reports. The Report Consists of Three Templates 1) Invoice 2) Custom IMEI 3)Remiitance Slip.
    I have coded XMl such that for a given header level data all the corresponding data will be generated Including for Custom IMEI and Remittance Slip. So for the RTF design, In a word document i have three templates and the for every transaction all this three should be printed. so if there are 10 transactions than we need to print 10 sets (all 3) of invoices. The first Template is Invoice which has a header with all required information. If for the first template the lines data exceeds first page then on the second page the header needs to be printed only as Customer name, Transaction Num and page number. if the line level data goes more than 2 pages than the header needs to be same as that of 2nd page. On the last page of invoice template the totals and footer needs to be printed.
    After completion of invoice template Custom Imei template and remittance template must be printed for given transaction. But they shouldn't have any header or footer associated.
    Is this Functionality achievable by Oracle BI publisher RTF design?? If yes how would i code it in RTF. I have tried almost all possible solutions given in XML publisher User guide. Invoice template header and footer are repeating in other templates too.
    Issues are : 1) All there templates are tied together, so the header in First template, if it's line level data exceeds to second page should be different.
    2) Footer of the First template should only be displayed at the end of first template with Invoice totals.
    3) Header and Footer should not be part of template 2 and 3 which are tied to template one.
    Please, help me out with a solution, if needed i will provide the XML and RTF template too. I hope Someone really knows how to break this puzzle. Thanks for the help in advance

    Hi,
    My Req was for Three different templates tied together. So, if the First template exceeds page 1 then itz header should be a different one. Similarly with second template but they were independent of each other.
    In Your case you may probably try using MS word different First page header functionality to acheive different header from second page.
    Does this help?

  • RTF template does not format properly when run from Concurent Manager

    Hi
    I have complex RTF template; many stuff in are in header in word table format,body section again fields are in table format and Footer again in word table format.
    When I run BI Publisher report as concurrent request half the content like header and footer are not displayed. I can see copmlete report when I preview using XML data in word. Is there any limitaions that certan fonts, word format features not supported in RTP template. What is the best way to put header, body and footen in main body area rather using Header and Footer features of word?
    Thanks and regards

    You can use the start:body etc syntax to move your header/footer into the main part of the document. This way you can use form fields.
    Regards,
    Gareth

  • Print Quote the report is in PDF but need to be new RTF template

    We have 11.5.10 apps, the Quote screen is an OAF screen.
    When clicking Print Quote the report is in PDF, They want to include a new RTF template for printing instead of PDF.
    The new RTF template is created. But what I do not know is how the quote screen will take the new template. I can use XMLP to upload the RTF template but that may not be sufficient to make it appear in the Quote screen.
    I am looking at the profile ASO:Default Layout Template. Am I headed the right way?

    Hi,
    Please refer to the following documents, it should be helpful.
    Note: 780722.1 - How to Create a Custom Print Quote Template in Oracle Quoting ?
    https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=780722.1
    Note: 392728.1 - How to Modify the data source for the XML version of the Print Quote report
    https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=392728.1
    Note: 468982.1 - How To Customize The Asoprint.Xsl
    https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=468982.1
    Regards,
    Hussein

Maybe you are looking for

  • I downloaded software updates and now I can't get online with airport

    Hello! This morning, I got asked by my software update on my Mac (which automatically asks me every week) to install some software updates. I stupidly did not think much about it and clicked ok. The software updates that I installed were: 1.) Java fo

  • FXS Ports & Pickup Groups

    Is there a way to make an analog phone connected to an FXS port a part of a call pickup group that contains both analog phones & IP phones? I setup a lab and used MGCP to add the gateway and I was able to add the DN associated with the FXS port to a

  • Error during viewing the OLAP cubes

    Hi ALl, Thanks for you time. I recently installed a new development environment of BOXI-R2 sp4 and then imported all the contents from another existing BOXI-R1 environment. I can now see all my existing UNIVERSES properly. However each time I try to

  • Flash Player Silent Installation on PDA

    Tryin to deploy the Flash Player on thousands Pocket PCs and get annoyed by the Licensing pop-up. Is there any possibilities to launch the installation in a silent mode or does Adobe have an *.exe for installation instead of a cab ???? Thanks a lot

  • D7000 dng support

    Why doesn't the DNG thumbnails not show when I have the DNG 5.7 and Aperture 3.2.  ? I make DNG files from the Plustek 7200 scanner, and with my D7000 nikon.  Any ideas?