Problem in displaying header and footer in RTF template..

Hi all,
How to display first "n" number of pages with one set of header and footer and the next "m" number of pages with other set of header and footer?
Thanks,
Makesh
Message was edited by: Makesh

we can try doing this,...
but not based on page number ,
page number will not be available during this time, it will generated during the rendering time, so the condition of Page number may not help,
if we can find a way to identify the logic to display FOOTER A or B in the page based on something else, wee can do that..
create a two named templateA and B , and call them according to the logic to b displayed.

Similar Messages

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

  • 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

  • Problem in Consistent Header and Footer with Sub Templates in BI publisher

    Hi All,
    I have recently started working with OBI and used Sub templates for getting Consistent Header and Footer in all of our reports. I did this in the following way
    1. Created one template called HeaderFooter.rtf with Header and footer templates.
    2. placed the file in web server and called in the main Template with
    <?import: http://myserver.com:9704/xmlpserver/HeaderFooter.rtf?> I mean as static URL and it is working fine.
    3. Now as a part of generalizing the server i have added HTTPSERVER property in xdo.cfg file which is located in
    %BI_REPOSITORY%/Admin/Configuration.
    4. I have checked this property by placing <?xdoxslt:getXDOProperties($_XDOCTX)? in my rtf file and HTTPSERVER property is showing same as that of static.
    5. Now when i place <?import:http://{$HTTPSERVER}/HeaderFooter.rtf?> in my rtf it is ending with an error.
    so can anyone please help me out in this regard?

    Hi User XY,
    you might want to ask this in the [url http://forums.oracle.com/forums/forum.jspa?forumID=245]BI Publisher Forum
    brgds,
    Peter
    Blog: http://www.oracle-and-apex.com
    ApexLib: http://apexlib.oracleapex.info
    BuilderPlugin: http://builderplugin.oracleapex.info
    Work: http://www.click-click.at

  • How to display 2 layouts with 2 different Header and Footer in a template.

    Hi,
    I am using XML Publisher 5.5. I have created one template which is having two layouts. I am using <?Start: Body?> and <?end body?> for displaying Headers and footers. Now my problem is, I need to display first layout with it's associated Header and footer and then second layout with other header and footer. But the two layouts should come in single template file. How is it possible?. Is there any work around? Please help me as this is the urgent requirement to my client.
    Thanks.
    Siva.

    No problem. Select Insert -> Break from the menu bar. Then select a "Section Break" - Next page.
    Header 1
    <?start:body?>
    Page 1
    <?end: body?>
    Footer 1
    ==================Section Break (Next Page)=================
    Header 2
    <?start:body?>
    Page 2
    <?end: body?>
    Footer 2
    Worked like a charm.
    Klaus

  • Header and footer in Web Template output

    Hi,
    I have created a web template consisting of several web items like - information field, text fields, chart & analysis. With the help of VC we are exporting this web page into PDF. What my customer want is that to show some particular informatio in the footer like page number's company name and all.
    Is there any option that i can do all these things from my end that is from BW end not from VC..
    Any help will be appreciated.
    Thanks & Regards

    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...

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

  • Header and Footer in not displaying correctly on each page in Adobe Forms

    Hi experts,
       I need your little help on Adobe Form.  I have develop a customer account statement and facing problem.
         In header and footer part I have to display customer address. It is ok if data is of one page. But when data is overflowing, customer address is showing only at first page in header, and not displaying address neither in header nor in footer(footer section will print on last page, it may be either first page or third page ) on other pages. (Address is table type data )
           Header and footer Section address has been designed on Master Page.
    Please help me to resolve these two problems as soon as possible.
    Regards
    Piyush

    I found this post which I hope helps:
    This can be done by bit of tweaking using JavaScript. 
    Actually the problem was, the header was printing continuously in subsequent pages and once the header data was over the rest of the pages contained blank header. But we need have to print same header for each group of items till that group of items finish in the specific page. And for new group of items different header will be filled and so on.
    So to overcome this issue, create the item table in such a way that the header data is also included in the item table for each group of items. In the layout, select your header field and the event READY LAYOUT and write the below JavaScript code. This event is called for each page for that header field, so you can directly map the item table value and put it in your header field.
    // Get the current page
    var currpage = xfa.layout.page(this);
    // variable to store number of fields in that page.
    var fields = 0;      
    // Get the number of fields
            fields = xfa.layout.pageContent(currpage-1, "field", 0);
    // Loop on each field on the page
            for ( i=0; i<= fields.length-1; i++ )
    // Check if the field is in the item table column (it will be actually header data column in your item table)
                if ( fields.item(i).name == "TL" ) 
    // Fetch that value and store in your header field.
                           this.rawValue = fields.item(i).rawValue;

  • Header and Footer Not Displayed

    I have created an rtf template and have a header and footer sections, but they are defined within the body with tags, e.g., <?template:header?> and <?end template?>. In the header section, for example, I then call <?call:header?> to display the header. When I preview the data in PDF from BI bublisher, everything is just fine. But, when I then register the template in Oracle Applications and run it as a concurrent program, the header and footer are not displayed at all in PDF output. It's as if the header and footer are totally being ignored. I even tried just putting plain text in the header and footer in the rtf template, but it's still being ignored. What could be the issue? I also tried increasing the header and footer margin area thinking that perhaps there's too much to display and I'm not giving enough space, but this didn't seem to help either. I'm working in a different instance as I have switched job. I have worked on other rtf templates and have integrated into Oracle Applications, but never run into this issue before. I've always been able to display header and footer. Could I need a patch of some sort or am I missing some setups that I'm not aware of?

    Have you verified that the XML/BI publisher version that the server is running is the same version as what you are running on the desktop? Not sure if this will make a difference, but worth a check.
    If they are the same, can you post the tags you are using exactly as they appear in your template?

  • Header and Footer in different format

    Hi ,
    I am using a single RDF file to generate a report in 4
    different formats by giving the destype during rumtime. I am
    facing a problem regarding the Header and Footer . My requirment
    is to show the Header and Footer once in HTML (Header on first
    page and Footer on last page) and in case of RTF andPDF on each
    page. The header and footer contains formula columns in which I
    query from database.
    Can anyone help me how to do this using one single RDF file.
    Thanks,
    Alka

    Hi,
    We tried using trigger as suggested by you for displaying the
    header and footer once in HTML. Now we are able to show the
    Header on first page in HTML but we also getting blank rows
    between records wherever we are hidding the Header .
    Please suggest how can we remove these blank rows.
    regards,
    Alka.
    hello,
    you could achieve this by using the format trigger of the
    header/footer-objects, where you could check the desformat and
    the page-number in order to dermine if they should be printed or
    not.
    regards,
    the oracle reports team --pw                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                

  • Add Header and Footer in Live Cycle ES2

    Hi,
    We are quite new to the use of live cycle pdf generation. Can anyone help us with information as to how we can add header and footers to our pdf files using livecycle ES2.
    And further, we would like to know whether header and footer adding is available in the trial version of Livecycle ES2?

    Hi,
    Thanks for the reply.
    We have another newly raised problem in the header and footer adding from Livecycle ES2. According to the PDF that you referred in the previous reply, we can add graphics to the PDF header, but we are unable to find a DDX tag that would enable us to add a image URL.
    Can you please help us again on the above?
    Purnima

  • Header and Footer  in BEX reporting

    Hai friends,
         could you plz tell me how to add Header and Footer in  Bex report.. that means.. i want  some my company name and  address should print on the  top of the report..
    and also.. in the Footer.  i want to display the Number of records are selected...
    Ex :
       XYZ ORGANIZATION
       #301, ITPL,
       BANGALORE.
    4 Records are selected
      so, plz give me the solution .... how to   design a query with this requirement
    thanks
    with regards
    @jay

    Hi Ajay,
    Refer to web tempaltes 0adhoc_header and 0adhoc_Footer , by changing this you should be able to display header and footer for each query out of BW server.
    Hope that helps.
    Regards
    Kapadia
    ***Assigning points is the way to say thanks in SDN.***

  • Where can i find XMLP 5.6.2 Patch #5352734 for Header and Footer

    Hi All,
    I have seen people talking about the XMLP 5.6.2 Patch #5352734 for proper working of Header and Footer in RTF, But i have not find the place from where i can actually download this patch.
    I would be glad if someone can help me out.
    regards,
    Bala.

    Hi Bala,
    The Patch is - Patch# 5027437 for XML Desktop Version 5.6.2
    (Templates in XML Publisher Desktop 5.6.2 Lose Header and Footer Information )
    I think you are searching for the wrong one..
    You can find the Patch at metalink - with note "Note:388494.1" and Ofcourse search with "Patch# 5027437 for XML Desktop Version 5.6.2" in the Metalink..
    Thanks
    PBV

  • Need to add Header  and footer in an alv grid display output.

    How can I add header and footer in an alv grid dispay output.
    For the grid display, I am using the function module "REUSE_ALV_GRID_DISPLAY".

    HI,
    call function 'REUSE_ALV_GRID_DISPLAY'
           exporting
                i_callback_program      = gd_repid
                i_callback_top_of_page   = 'TOP-OF-PAGE'
                i_callback_html_end_of_list = 'END_OF_LIST_HTML'
                is_layout               = gd_layout
                it_fieldcat             = fieldcatalog[]
                i_save                  = 'X'
           tables
                t_outtab                = it_ekko
           exceptions
                program_error           = 1
                others                  = 2.
    FORM end_of_list_html USING end TYPE REF TO cl_dd_document.
      DATA: ls_text TYPE sdydo_text_element,
            l_grid     TYPE REF TO cl_gui_alv_grid,
            f(14) TYPE c VALUE 'SET_ROW_HEIGHT'.
      ls_text = 'Footer title'.
    adds and icon (red triangle)
      CALL METHOD end->add_icon
        EXPORTING
          sap_icon = 'IL'.
    adds test (via variable)
      CALL METHOD end->add_text
        EXPORTING
          text         = ls_text
          sap_emphasis = 'strong'.
    adds new line (start new line)
      CALL METHOD end->new_line.
    display text(bold)
      CALL METHOD end->add_text
        EXPORTING
          text         = 'Bold text'
          sap_emphasis = 'strong'.
    adds new line (start new line)
      CALL METHOD end->new_line.
    display text(normal)
      CALL METHOD end->add_text
        EXPORTING
          text         = 'Nor'.
    adds new line (start new line)
      CALL METHOD end->new_line.
    display text(bold)
      CALL METHOD end->add_text
        EXPORTING
          text         = 'Yellow '
          sap_emphasis = 'str'.
    adds and icon (yellow triangle)
      CALL METHOD end->add_icon
        EXPORTING
          sap_icon = 'IC''.
    display text(normal)
      CALL METHOD end->add_text
        EXPORTING
          text         = 'Mor'.
    *set height of this section
      CALL FUNCTION 'GET_GLOBALS_FROM_SLVC_FULLSCR'
        IMPORTING
          e_grid = l_grid.
      CALL METHOD l_grid->parent->parent->(f)
        EXPORTING
          id     = 3
          height = 14.
    ENDFORM. "end_of_list_html.
    This will solve  it. Post if you need more help in this.
    Regards,
    Madhu.

  • Show rtf file with header and footer  in Editor

    hi
    I want to open an rtf file which contains header and footer.The file i got is opened but the header and footer are not there.these all done with Editor.Please kindly go thru this and give me a solution.

    Hello,
    when you do yourEditorPane.getStyledDocument().dump(System.out), if you don't see and footer or header, you must write your own RTFEditorKit, but you must know how an RTF file is coded (but i don't know this coding...)

Maybe you are looking for

  • ITunes 10 not using Media folder

    I recently upgraded a machine to iTunes 10 and notice that when I now add music, it does so to a "Music" folder that is at the same level in the file structure as the "iTunes Media" folder. It is not adding music to the Music folder inside of the "iT

  • Issues with migrating to SUN JVM

    Hi Chapter 4 of the "Microsoft Java Virtual Machine Transition Guide for IT Professionals" [part of the documentation for "The Diagnostic Tool for the Microsoft Virtual Machine"] contains[under a discussion of disabling Java] : (a) '... the Sun JRE,

  • Windows 7 and T400

    Hey Everyone, Just got a chance to install Windows 7 beta x64 on a T400 7417-CTO.   I must say I'm pretty impressed. Some notes on the intstall. 1. No need to F6 the ahci drivers for the hard drive during install. 2. Systems boots fast.  Total time f

  • Can't access any downloaded apps after upgrading to ios 5

    Can't access downloaded apps on iPod touch 4g after updating to ios 5

  • DV Transfer Issues

    I've been using a Canon XH A1 in SD (24F and with the 2:3:3:2 pulldown), and I transferred footage over in Final Cut without knowing a whole lot about what I was doing; I put the Sequence Preset to DV NTSC 48 kHz - 24, the Capture Preset to DV NTSC 4