Dynamic header that repeats

Guys,
I have an invoice printing report, where I have fixed lines_per_page to 24. For invoices that are over 24 the remaining lines print on the next page. I want the report header to print on the next page as well. If I try to do Repeat Header Rows, it prints all the headers first. I have opened an outer for loop in the header part, and then another inner for loop before the lines. I was trying to call the header as a template as well, but since the lines and header table structure is different it does not print correctly.
Any help will be appreciated guys.
Cheers,
Jerry

Hi Jerry,
You can find solution to your requirement at Tim's blog : http://blogs.oracle.com/xmlpublisher/templates/
Look for "*Anatomy of a Template I - Fixed Row Enumeration*"
Cheers,
Krish

Similar Messages

  • Changes to table header row that repeat in several pages

    Hello.
    I have a table that expands over several pages, with a header row that repeats in all of them.
    I want to hide some of the header row's columns by code.
    When I change the header row, it changes only for the first occurence of the header row, and not for other occurences.
    I tried to do somthing like that:
    for (i = 0; i < Table1.nodes.length; i++)
    if (Table1.nodes.item(i).name == "HeaderRow")
    // ..hide the column..
    But it only entered the loop once, and only changed it for the first row.
    I also tried to look at Table1.HeaderRow.instanceManager.count, but again, it has the value of 1, so I can't access
    Table1.HeaderRow<i>
    or somthing like that.
    So how can it be done?
    Best regards,
    Udi Dekel.
    Edited by: Udi Dekel on Jul 30, 2008 9:24 AM

    Hi Rahul,<o:p></o:p>
    I have tried using multiple formats of images (.jpg & .png) for the problem and have been able to successfully achieve the desired result as per design.<o:p></o:p>
    To further verify the issue that is happening on your system we need to do some extensive troubleshooting to isolate the issue. This would require you to open a ticket with Microsoft.<o:p></o:p>
    Following is the link along with the number for Microsoft which would help you to open a ticket with us – <o:p></o:p>
    http://support.microsoft.com/OAS<o:p></o:p>
    1800 MICROSOFT
    Thanks & Regards,
    Vinayak Shetty 

  • My table header row repeats on page 2, but not thereafter -- why?

    The header row on my dynamic table will repeat when the table overflows onto the second page, but if it flows over to a third or fourth page, the header does not repeat.  Why is that?  I'll be happy to send the form with the troublesome table via email to someone who can help,
    Thanks,
    Jenny

    hi, its weird !!
    pls fwd it to [email protected]
    Abhinav

  • Dynamic Header help in PDF Portfolio

    Need some help please, to create and load a Dynamic Header when creating a PDF Portfolio in LiveCycle ES2.  Have input parameter of a [name] and an [image file] to place in the Header.  Process flowing out of Assembler (PDF Generator).  Currently other PDFs being inserted within the Portfolio, and Navigation parameter being received ok, and setting up custom navigation.  Any help w/ creating Dynamic Header is very much appreciated.

    By "Dynamic Header" do you mean the PDF cover page, or the interactive portfolio navigator?
    If its the cover page then it should be a fairly easy thing to do.  You can create a form (XDP or PDF template) with a field for the name and one for the image.  Then you would use something like LC Forms or Form Data Integration to merge the data (image and name) with the template.
    The one thing you would have to do is to put the image and data into an XML format before you merge it with the form. That means you will need to convert the image to a base64 encoded format.  Fortunately there is a built in function for doing the conversion in a SetValue operation (its under Document Object Functions).
    If you are talking about the Navigator (portfolio shell) then it gets a bit more tricky.  The navigator is actually a Flex application and not a PDF.  You'll have to code a new one using Flash Builder, then import the resulting .nav file into your LiveCycle application. Merging the data with it is not something I've done before, but it should be possible (the LiveCycle Interactive Statement Solution Accelerator does something similar).
    If it is new navigator you need, check out some of the following links:
    http://joelgeraci.com/adobe/devjunkie/web/portfolios_p1_outer.shtml
    http://acrobatusers.com/tutorials/modifying-pdf-portfolio-navigator
    http://acrobatusers.com/navigator-contest-faq  (for the development software links)

  • Dynamic header in oo alv print_top_of_page based on current line

    I would expect this to be a common problem with the solution easily to google/find, but somehow...
    dynamic header generation during alv print_top_of_page:
    - i print an oo alv grid, sorted by kunnr
    - for each new kunnr a new page
    -> now I want during print-out to: at each top of page, read the first (or any) line of the current page, i.e. the current kunnr, and select data on basis of that kunnr to be written to the header.
    My problem is that sy-tabix is not being filled correctly (always 1).
    Strange thing is that in another report with a non-dynamic itab to display, sy-tabix is actuall being filled more or less correctly. (with the minor drawback that on the first page the tabix might not be 1 but more likely to be 2; but that's easy to fix and for the next pages sy-tabix is correct)
    Kind regards, A
    baanbrecher

    In the handle_print_top_of_page method, use :
    FIELD-SYMBOLS : <lv_line> TYPE ANY.
    ASSIGN ('(SAPLKKBL)G_INDEX') TO <lv_line>.
    if <lv_line> = 0. "First time, G_INDEX is equal to zero
       <lv_line> = 1.
    endif.
    So in <lv_line> you will always have the good index of your table.

  • RTF Header Rows Repeat in eBus BI Publisher (5.6.3)

    Hi,
    I have been struggling to get the Header Rows Repeat functionality working when generating RTF output with the eBus integrated BI Publisher - currently eBus 11.5.10.2 with ATG H RUP 7. The "How to Determine the Version of Oracle XML Publisher for Oracle E-Business Suite 11i and Release 12" Note (362496.1) doesn't provide anything more specific than 5.6.3. Based on the "Naming and Versioning" sticky note from Tim, I think this is equivalent to 10.1.3.2.
    According to http://download.oracle.com/docs/cd/E10415_01/doc/bi.1013/e10416/bip_misc_101333.htm, this functionality is not available until BI Publisher 10.1.3.3.3.
    To "Overview of Available Patches for Oracle XML Publisher (embedded in Oracle E-Business Suite)" Note (1138602.1) does not list any stand alone patch which seems to be refer to this functionality.
    Can someone tell me if this Header Rows Repeat in RTF output functionality available with the eBus integrated BI Publisher? Or do I need to log an SR?
    theFurryOne
    Edited by: thefurryone on Sep 14, 2010 5:01 PM

    Hi Tim,
    Thanks for that - the 7487412 readme doesn't say anything about the RTF header bug fix being included, but the Bugs Resolved by this Patch lists 6270261 (ER: RTF Output to support set Table Header Report, Table Row Keep-Together).
    Patch # 7487412 is only available in R12, but with the specific ER number, I was able to find Note # 861915.1 (I couldn't it find with my keyword search) and this note indicates that 11i patch # 7702372 should resolve the problem for me in 11i (and it's readme explicitly documents 6270261 as being fixed by the patch).
    Thanks again,
    theFurryOne

  • How to create dynamic DataTable with dynamic header/column in JSF?

    Hello everyone,
    I am having problem of programmatically create multiple DataTables which have different number of column? In my JSF page, I should implement a navigation table and a data table. The navigation table displays the links of all tables in the database so that the data table will load the data when the user click any link in navigation table. I have gone through [BalusC's post|http://balusc.blogspot.com/2006/06/using-datatables.html#PopulateDynamicDatatable] and I found that the section "populate dynamic datatable" does show me some hints. In his code,
    // Iterate over columns.
            for (int i = 0; i < dynamicList.get(0).size(); i++) {
                // Create <h:column>.
                HtmlColumn column = new HtmlColumn();
                dynamicDataTable.getChildren().add(column);
                // Create <h:outputText value="dynamicHeaders"> for <f:facet name="header"> of column.
    HtmlOutputText header = new HtmlOutputText();
    header.setValue(dynamicHeaders[i]);
    column.setHeader(header);
    // Create <h:outputText value="#{dynamicItem[" + i + "]}"> for the body of column.
    HtmlOutputText output = new HtmlOutputText();
    output.setValueExpression("value",
    createValueExpression("#{dynamicItem[" + i + "]}", String.class));
    column.getChildren().add(output);
    public HtmlPanelGroup getDynamicDataTableGroup() {
    // This will be called once in the first RESTORE VIEW phase.
    if (dynamicDataTableGroup == null) {
    loadDynamicList(); // Preload dynamic list.
    populateDynamicDataTable(); // Populate editable datatable.
    return dynamicDataTableGroup;
    I suppose the Getter method is only called once when the JSF page is loaded for the first time. By calling this Getter, columns are dynamically added to the table. However in my particular case, the dynamic list is not known until the user choose to view a table. That means I can not call loadDynamicList() in the Getter method. Subsequently, I can not execute the for loop in method "populateDynamicDataTable()".
    So, how can I implement a real dynamic datatable with dynamic columns, or in other words, a dynamic table that can load data from different data tables (different number of columns) in the database at run-time?
    Many thanks for any help in advance.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

    flyeminent wrote:
    However in my particular case, the dynamic list is not known until the user choose to view a table. Then move the call from the getter to the bean's action method.

  • SSRS 2008 R2 - Dynamic header data stays the same when exporting

    Background:
    I have a SSRS 2008 R2 report with a single Tablix.
    The data is grouped by InvoiceID, with each appearing on a separate page.
    I'm displaying some of the detail data in the group header row using Expressions similar to the following:
    ="Invoice # "  & ReportItems!InvoiceID.Value"
    The data referred to by my ReportItems statements are all hidden in the detail row (Advanced Mode, the Hidden Value for the Static Row Group is set to false).
    Problem:
    When I Preview the report in Visual Studio, everything looks as it should - the dynamic header data changes correctly with each group.
    However, whenever I export the results (I've tried all the formats), the header data is the same for every group - its taking the values from the first group and using it in all the groups.
    I've copied the same expressions into my Totals row, and the data is correct when exported; its only happening in my header rows.
    Any help in resolving this is greatly appreciated, thank you.

    Hi Alex,
    According to your description, you have a header with expression contains ReportItems. Now you find it shows incorrect result when exporting to a file. Right?
    In Reporting Services, it has reported some similar issue that the ReportItem returns unexpected result when exporting.  In this scenario, since you just want to show the group name in each page as a header for detail rows. So you can make the
    detail rows group on the Group. Then delete the Group column but still keep the group. After that add a row above detail row (Out side of group) and put in "=Fields!InvoiceID.Value". Now it will show the corresponding Group name
    when you set page break between each group instance. We have tested this case in our local environment. Here are screenshots for your reference:
    Reference:
    SSRS
    field expressions using ReportItem refrences have unexpected results when exporting
    If you have any question, please feel free to ask.
    Best Regards,
    Simon Hou

  • Variable Text not working as dynamic header in Crystal report

    Dear Experts,
    I'm working Crystal report that connected to Query BEX SAP BW trough SAP integration kit,
    currently i have case that need report dynamic header using variable text from BEX query, but seem the variable text not working in Crystal reports. the header in Crystal report shown as Desription\technical name, not result from the variable text in Query BEX in SAP.
    In https://wiki.sdn.sap.com/wiki/display/BOBJ/Crystal%20Reports%20and%20BW%20query%20elements stated that the "Text variable" with "replacement path" is supported, but i don't know in my query is not working.
    i already set in Database -> options->  table and fields -> Show Both, but the text variable still not working.
    can you help me
    Crystal Reports 2008 12.2.0.290
    SAP Integration KIT 12.1.0.890
    Thanks
    Luqman

    Post your question BEX and B1 and classic SAP data source issues to the Integration Kit forum

  • Dynamic header / footer

    Hi all,
    I created an Adobe Form and defined on the MasterPage a header, a footer and a main area (content are) in-between. The areas were defined with a fixed size (somehow it was the only way because "fit height" and "fit width" was innactive).
    Because the form is used in different countries the amount of information in the different areas is not the same. Therefore I am looking for a dynamic header and footer (and main area). That should help to optimise the space exploitation on a page. The header should grow from top of the page down, the footer bottom up and the main area fill the gap.
    I know that this is a very sophisticated demand. Nevertheless, I hope that someone else had similar ideas and could solve that task.
    I appreciate any help, hints and good advices which leads to a solution of my problem.
    Thanks & regards,
    Phil

    Hi Andres,
    thanks a lot for your quick answer!
    In your MasterPage, add only the items that will remain static during the execution.
    Every object that will behave in a dynamic manner should go in the BodyPage.
    Very good hint, thanks!
    What you can do is set a Subform with flowed Western Text between your Header/Footer
    (Static) of your MasterPage. Within that main Subform set three more, "Western Text" as well.
    One will be for your Dynamic Header, the middle one for your Main and the bottom one for your
    Dynamic Footer.
    I think I did not really get it! As far as I understand this works for one page...my form - when filled with data - can have more than one page!
    Some questions came up when I read your solution:
    1) why is the flowed content "western text" and not "top to bottom"?
    2) what happens exactly with the area of the static header / footer? It's above the dynamic header and below dynamic footer -> is that space not wasted in the end?
    3) The dynamic footer is directly below the main area - not necessarily at the bottom of the page!?
    4)  How is the "pagination" defined for each of the three dynamic areas (header / main / footer)?
    I hope you'll find the time to answer my question soon!
    Thanks & regards,
    Phil

  • Header Row Repeating Erratically

    Hi,
    I have a problem with a dynamic table using Adobe Lifecycle Designer 8.0 and Adobe Acrobat Professional 8.0.
    The table starts with a header row and a single row. The user can add additional rows and the table flows onto multiple pages. Everything appears OK, but when EITHER the user goes back to page 1 or if the user closes and reopens the file, there can be multiple header rows repeated on page 1. Sometimes there might only be 2 header rows, but other times there can be upwards of seven header rows one on top of the other.
    This is wrecking the layout and my head. Has anyone had similar problems or could give me a direction as to where I am going wrong.
    Thanks in advance.
    Niall

    Hi,
    I am facing the same issue.
    My table header has 2-3 rows of data...the data is populated dynamically. The text fields are set to expand, so I have to make the subforms to flowed.
    As soon as I set the subforms to Flowed...evrything overlaps on the second page.
    Please help.
    Regards
    Neha

  • Display a dynamic header

    Dear Vinod,
    IMHO i don't think this is a spec dumping. I did try to search and even tried hands on it. Unfortunately i didn't get any luck with that.
    Morever i'm not asking for any spoon feeding...It's just about some pointer's or any ideas that would help me.
    Hope that clarifies much better.
    Thanks in advance,
    Arya.
    My selection screen has a parameter P_WEEK.
    Suppose if user enter's a week no for ex: 5. My ALV header should display as
    Week5  Week6  Week7  Week8  Week9  Week10
    i.e. Up to next 5 weeks. How to design a ALV that would display a dynamic header?
    Any ideas or suggestion would be of great help.
    Thanks,
    Arya
    Moderator message : Search for available information. Moved to basic(points-free) forum.
    Edited by: Vinod Kumar on Oct 19, 2011 3:37 PM
    Edited by: arya.soumya on Oct 19, 2011 12:22 PM
    Edited by: Suhas Saha on Oct 19, 2011 4:08 PM

    Hi,
    you just try to write below logic in TOP-OF-PAGE routine in your program.
    parameter: p_week(3) type c.
    Form top_of_page .
    do p_week times.
    pass the required data to your internal table and append it.
    enddo.
    Endform.
    Ram.

  • Bex dynamic header problem

    Hi All,
    I have 2 problems..
    1) I have to print the vendor statement of account for 1 year. Now for each vendor the vendor code name and address comes followed by other columns of account information related to it. My requirement is that i want the vendor code name and address to appear in header line and then all other information for that vendor comes beneath it. Meaning the vendor name and address comes in 1st line , and from 2nd line all account information related to that vendor comes. then say on 60th line another vendor name and address comes...and from 61st line accoutn information of the 2nd vendor comes.
    How to do it???
    2) i want to ghet dynamic header in the bex report based on the iunformation filled in the selection option. Eg: if user entered a posting date then that posting date should appear in the report header.
    both these are urgent requirements....Plz help soon
    Thanks & regards
    Akash

    Hi , thanks for ur reply but the Report designer is not working , givng me error
    RFC destination NOT_CONFIGURED.
    The main problem is i have to display the name and address of Vendor in a separate row i.e. vendor name and address shud appear in the row and then in following rows the other details.
    Eg.
    11000 Shashi Kapoor  Jaipur         31.12.2006     doc no type etc
    12000 Kamla Verma    Mumbai      12.10.2006    doc no type etc
    Now final putput will be like
    11000
    Shashi Kapoor
    Jaipur
    31.12.2006    .................................
    12000
    Kamla Verma
    Mimbai
    12.10.2006.........................................
    Thanks .

  • ALV Dynamic header

    LAYOUT FORMAT
    Program Title
    Client Name     Run Date/Time :
    Program            : Program Name
    User ID              : Page                  : X of Y
    Pernr:                                                            
    Name:
    IC Number:
    RBAF / Reference Number:
    Rank:
    Service:
    Unit:
    Sub Unit:
    No.|  Position| Leave Taken| From|Leave Taken To| Type of Leave|
    Leave Entitlement| No. Of Leave Taken|     Present Balance of Leave|
    Please help to program dynamic alv header for above format. I have used page break on Pernr but the header is not coming according to pernr. Though I managed
    dynamic header when we press Print Preview. But that is not a solution.

    Hi,
    I did something very similar to your requirement.
    There is a predefined event for Reuse_alv_list_display called 'BEFORE_LINE_OUTPUT'. In the event table, you have to specify the <event>-name = 'BEFORE_LINE_OUTPUT' and the <event>-form = 'ALV_BEFORE_LINE_OUTPUT'.
    Then you need a form like
    FORM alv_before_line_output
      USING ps_lineinfo TYPE kkblo_lineinfo.                    "#EC CALLED
      FIELD-SYMBOLS:
        <prot> TYPE typ_prot.
      READ TABLE gt_prot INDEX ps_lineinfo-tabindex
        ASSIGNING <prot>.
      CHECK g_file_no <> <prot>-file_no.
      g_file_no = <prot>-file_no.
      NEW-PAGE.
    ENDFORM.                    "alv_before_line_output
    In my program the global table displayed in ALV was gt_prot (of line type typ_prot) and the requirement was to start a new page for each file processed. The form stores the file processed in
    g_file_no. If a new file is processed, a NEW-PAGE will trigger the TOP_OF_PAGE event of the alv. I will not copy the form here because we also issued some statistical values, system and user informations and so on.
    But I hope you get it done.
    The only remaining issue may be that the before_line_output event will cost some time because it is triggered for every output line. But my report was still quite fast.
    regards,
    Clemens

  • Dynamic Header - 2012 SP2

    Hello!
    Before I start with my question, I'd to say that I've spent a whole day testing out different answers on the internet, most of them here in msdn and some others from Stackoverflow. Almost all say the same, and nothing worked. So please, if you have ideas,
    dont tell me anything its already online.
    This is my scenario: I have a work order report, which normally doesn't get printed alone but in bulk with several others work orders.
    Layout of main subreport its something like this:
    Header (with some of the WO info, # and some filters)
    Detailed Info
    Subreport with stuff to do
    Info
    Subreport with safety instructions
    Signatures
    Then I have a main Report with just a table and the "main subreport" I wrote above.
    I need a way to repeat the header per page, knowing its not static, it changes data on every WO.
    Main problem is when any (or both) of subreports gets big enough that causes a page break and continues on next one. Works good except don't get the header.
    Need the WO ID and some other data to be repeated if its more than 1 page.
    I have tried everything, there is no solution I haven't tried, even updated to SP2 and its still the same.
    Doesn't work:
    Header in subreports
    RepeatOnNewPage + KeepWithGroup
    FixedData
    Tablix properties
    Using multiple tables in main subreport and try above options
    Using just one table as layout of main subreport. and try above options.
    I cannot have the header on the main report cos I need to set some of the details data on it..
    Thanks, hope someone knows a solution.
    JC.

    Hi jose,
    According to your description, you want to have the header in subreport be repeated in each page if it need more than one page to render when exporting the main report. Right?
    In this scenario, we just need to set the first static row repeat on new page in subreport, as we tested in our local environment, the header is repeated when exporting the main report.
    Also please see the blog below:
    Repeat Header / Keep Header Visible in Tables in RS 2008
    If this still can't solve your problem, please post some screenshot about your report design and render result, it can help us reproduce your issue in our local environment. Thank you.
    Best Regards,
    Simon Hou

Maybe you are looking for