Header to be displayed on each page(I cannot use TOP_OF_PAGE)

hi all,
I am writing a classical report. My output has two types of records. One is stored in internal table ITAB1 and other in ITAB2.
ITAB1 and ITAB2 don't have same header. I need to first display the records in ITAB1 and later ITAB2.
The problem here is both the tables have records exceeding one page. I need to print corresponding headers on each page.
For Ex: If ITAB1 has records which cover two pages, then ITAB1 header needs to be printed on each page. After that ITAB2 header needs to be printed on each page.
Can you please help.
Thanks,
Aravind

Hi Aravind,
You can try the following, declare a flag variable an set its value as 1. Now in event top-of-page check the value of the flag , if it is 1 write the heading for ITAB1 else write the heading for ITAB2.. Assume that the page length is 25 rows, that would invoke top-of-page after 25 rows. Now the output that you are displaying would be using the loop at itab1. write. endloop.
After the loop is completed increment the flag by 1 and call new page. Now the flag contains 2 hence the heading for ITAB2 will be called.
top-of-page.
if flag = 1.
  write <heading1>
else.
  write <heading2>
endif.
start-of-selection.
loop at itab1.
write <data from itab1>.
endloop.
flag = flag + 1.
<invoke new page by NEW-PAGE command>
loop at itab2.
  write <data from itab2>.
endloop.
Hope this helps.
Regards,
Sachin

Similar Messages

  • Check Print Header will not display on each page

    I am creating a check print template for R12 and it works great for single page remittances. However for multi-page remitttances the Header information does not want to display on all pages of the remittance. When it goes to a new remittance the first page of that remittance is correct. I have an @section in the first group and there are no page breaks, but it still ignores the header.
    Any Ideas?
    Thanks,
    Dan J

    this is the typical answer that everybody asks check he CFIDE
    folder, but guess what, the folder is accessable and all the script
    files can be loaded by the browser but still ... no cfform flash
    displayed.
    need more support for this issue, i can use all the cfform
    features accept when trying to enable the format=flash and this is
    what isnt processing correctly,
    the developement server works fine but production server
    doesn't and the CFIDE directory has the right file permissions and
    is assessable to the browser.

  • Header displaying in each page

    Hi,
    I need  header details to be displayed in each page. These header details with line items are  placed in a table  in  main window. So when line items exceed to second page and so on  then i have to display header details in each page.
    Thanks in advance.
    Regards,
    Neelima.

    Hi Chetan Gala  ,
    Thanx for that its working but now format problem after  that
    I have  to display header details in Bold . I have made a paragraph format as BOLD  but now header line in first page displaying normally and in page 2 bold. How can display In all pages as Bold for header details
    Thank in Advance
    Regards,
    Neelima

  • How to repeat table header on each page of PDF using Coldfusion

    Hi all,
    Can anybody help me in resolving this issue. The details are mentioned below.
    I am generating PDF using <cfdocument> tag of Cold Fusion.
    I have a header and footer to be displayed on each page. I am rendering data in a table.
    If rows in the table exceed a page , and continue on the next page , I want the table headers to be repeated on each of the page.
    Example :
    Currently this is happening:
    Page Header
    Sr No
    Name
    Occupation
    1
    A
    A
    2
    B
    B
    3
    C
    C
    Page Footer : Page No 1
    Page Header
    4
    A
    A
    5
    B
    B
    6
    C
    C
    Page Footer : Page No 2
    What I want is :
    Page Header
    Sr No
    Name
    Occupation
    1
    A
    A
    2
    B
    B
    3
    C
    C
    Page Footer : Page No 1
    Page header
    Sr No
    Name
    Occupation
    4
    A
    A
    5
    B
    B
    6
    C
    C
    Page Footer : Page No 2

    Hi Dan ,
    Thanks for your inputs.
    This way wont work beacause , am displaying other text and table both, and the table will be diplayed based on some conditions. If the conditions are true , table will be diplayed , else not.
    I missed to illustrate text in the example. The scenario is something like this :
    Page Header
    Text .........
    Table [Displayed conditionaly]
    Page Footer
    Please suggest me some way to do this.

  • How to keep a table "header" stuck at top of each page

    Okay. This will probably be impossible to explain, but here goes.
    I have a document template that consists of a table (4 columns and variable number of rows depending on the content).
    I would like the columns to have their "headers" (meaning here the first row) appear on each page. So, as the first page gets filled up, when page 2 appears, the headers are duplicated from page one (so that the contents of the columns are evident on each page).
    Hope that makes sense. Can this be done with pages? (I can't use the regular page header for this since it's got different info that needs to be there.
    Thanks.

    I was just fooling around with a table trying to solve a different problem when I came up with a different solution to your question (assuming I understood what you wanted).
    In the Wrap Inspector choose Moves with Text and your table will continue to successive pages. (If you want to center the table, or position it anywhere other than all the way left, click on the table and grab the little triangle in the Ruler and drag it to the right to move the table.)
    If you don't already have the "Header Row" box checked, do so now. (In the Table Inspector.) Any text in the Header cells will repeat on each page just like a regular page header.
    If you don't want the default gray, highlight the Header and go to the Object Inspector and in the Fill menu select None or any color you like. You can even select each header cell separately and make each one a different color.
    Happy Paging,
    Walt

  • I have an MX 510 printer. I want to scan multiple pages. Cannot use doc feed as scanning booklet.

    I have an MX 510 printer. I want to scan multiple pages. Cannot use doc feed as scanning booklet. How do I do this?

    use the MP Navigator application
    When it opens choose PDF and then select Multiple Pages.
    John Hoffman
    Conway, NH
    1D Mark IV, Rebel T5i, Pixma PRO-100, MX472

  • Display sub header from second group in each page without page break

    Hi All,. I need to show the sub header in each page in pdf output using rtf. I have two grouping region and category. I have used start:body and end:body concept to repeat the header in each page. The region is repeating in each page but I also want the category to repeat in each page without having page break. Any suggestions. Thanks, Sushil

    You could added the category value to the header row and set the table properties for row to repeat on each page.. I have sent a reply to your email. Take a look to see if the output is per expectations.
    Thanks,
    Bipuser

  • How to Bates-label (give each page a number) using Adobe?

    Dear reader.
    I am a secretary at a law firm. When clients or opposing
    party send us files in Adobe, we have to print out these hundereds
    of pages of documents. We make labels in Word, print out the labels
    and stick them individually on each documents. We call it
    Bates-labeling. It is to give each document a number so we know
    what case and which number the document is from. For example, in
    case where our client is Walter Becker Corp. The label would be
    WBC00001 for page one. So my question is, if there is any way I can
    have Adobe label it for me?
    Thank you!

    I figured this out. I had to put my header and lines sections in a table and then specify on the table properties to repeat the header row on each page.

  • Images for tabs are not getting displayed in the page if Iam using a template

    I have page with a unstructured template. I have arranged tabs on page with images attached. But images are not getting displayed. why

    Hi,
    Please check if the images are in the server and in the /images alias path.
    thanks,
    Sharmila

  • How to display a header on each page of the smartform?

    Hi,
    I have a main window with a header and a table.I want my header to be displayed on each page of the form when the table streches on several pages.In my case,my header is a template and i want it to be displayed every time my table is longer than the first page.
    thanks

    Hi
    Yes,i know that the header is displayed on every page,but i cannot insert a template into the table.
    I also cannot use a flag,because only the content of the table is processed until all the data from the table is displayed.I have to force that window to be displayed on each page if the table has overflow.
    Any other ideas?
    later edit:
    I gues the option Sravathni gave me,is the only possibility.I have to declare rows  exactly like the one from the template and move the whole template into the header of the table.
    But isn't there an easier way to do that?
    Edited by: seba seba on May 18, 2009 12:16 PM

  • How to repeat group head on each page

    I have problem with repeat group heaf on each page, I've ticked the option 'Repeat group head on each page' from the Change Group Option. But the group head didn't appear on each page when I previewed the report. Does anyone have a solution/explaination to this?
    Cheeers

    Sorry Gents, I did't make my porblem clear.
    To James Terry
    Yes, My reports contain one or more sub-groups (only group 1's group header needs to be repeat on each page).
    To Graham Cunningham
    I found pages , containing only group 1's group footer summarized info, don't display group 1's group header. Just like what you said ' It will only repeat on pages that display group information'. Is this a bug or sort of default rule? What else can I do if I want the group header to repeat on each page no matter whether there is group info or not, besides moving the info from group header to pager header?
    Thanks a lot.
    Regards
    Joseph

  • How to display column headings only once in each page with repeated blocks

    Hi,
    I have a report with 1 block on one column. The block has a table in it and will repeat in one page.
    I need to display the column headers only in the beginning of each page. Can someone share your experience in implementing this ?
    Thanks for your help.

    >
    andyhchsu wrote:
    > Hi,
    > I mean in each block within section, I only need to display the table header once in each page.
    > However if I check table header, it will display repeatedly. Any way to get around this ? Thx.
    The trick I use to do that is turn off all the headers on the block (table and break) and put the header information in its own block above the section and set the new header block to repeat on each page.  You just have to remember to resize the columns in the header block if you make changes to the column sizes in your data block.

  • Header on each page in  a CrossTab Report

    Hi,
    I created a cross tab report. The only place I can place it is the Report header. I have a heading that should be displayed on each page of the report, how can I do this.
    Because the cross tab is in the Report Header I placed my heading in the Report Header only so it appears on the first page only. How can I make it appear on each page.
    Thanks,
    Reena

    Hi Reena,
    Have you tried placing the Crostab in Report Footer? This way you can keep the heading in Page header and the Crosstab in Report footer so that the heading appers on each page. Rest all section which are not required can be suppressed.
    Let us know if this helps.
    Cheers!

  • Common Header in each page in WP8

    Hi,
    I am creating a Windows Phone application.I have a common header that I have to display in each page.Is there a way to create a common UI that could be included
    in every xaml page.If yes, then how can I do it?

    keep the section that needs to be repeated in a inline template block
    <?template:header?>
    your header section block
    <?end template?>
    then use this code in header <?call:header?>or <?call@inlines:header?><?end call?>
    then u will get the block needed repeated in every page of report.

  • Header row repeat for each page?

    Hi all. I have a rtf template with a table with 4 rows and lets say there 4 rows are headers but doesnot have any formfields....
    I have a seperate table with form fields beneath it. I need my header tbale to be displayed on each page in output.
    I am unable to do it.
    It is really urgent.
    Can any one please help.
    I searched for solutions in this forum. It didn't work.

    Hi ,
    Check this i think it will helpful for you
    http://winrichman.blogspot.com/2008/09/repeat-table-header-in-all-pages-in-bip.html
    see the comments also in that link...
    Thanks,
    Ananth

Maybe you are looking for

  • # of Concurrent Users in an Application

    Is there a way to determine the # of Concurrent Users in an application at specific points in time? Thanks, Mark

  • Interface between Legacy and SAP for Equipment Master

    Hello I got a requirement where I need to develop a interface between legacy system and R/3 system for Equipment Master Data update in R/3. I am thinking of getting a Idoc file from Legacy and then update the changes or any new creation of Equipments

  • Oracle BPM Composer Authentication Failing.

    Hi, I have installed the Oracle BPM in our server,but facing some problem while login.. 1)Installed Software. Database Oracle 119 version (11.1.0.7.0) ---64bit Release1 and (11.2.0.1.0) ---64bit Release2 Weblogic Server wls1033_oepe111150_win32 Repos

  • Trying to View PDF Doc from IE

    Hi.....recently a couple of machines i administer keep getting the following errors when they click on a link to a pdf doc, Object label badly formatted that is what happens when i try to view the pdf through IE......if i turn that of so it actually

  • Apex + "merge into"

    Hi all, I have a table named contacts. I created a form+report and added some java script to auto-fill in the required fields. Now I want to use the merge into (aka upsert) to insert the person if it doesn't exist or update it if i make some extra mo