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

Similar Messages

  • 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

  • Problem regarding printing in first and last page of a form

    I need to print a some text only in the first page and last page. I have defined a window to print this text. The number of pages that will be created is decided on run time. Can some body please help regarding this issue. I have tried to use SFSY-FORMPAGES to calculate total number of pages in the begining but it does not work
    Edited by: subhajit bhadra on Feb 20, 2009 7:44 AM

    Hi Badhra,
    You can use conditions for that window or text element.
    in conditions, tick 'only befor main window' forr header
    and 'ONly after main window ' for footer.
    Sunil

  • TS1702 Hi,  I downloaded Wild to my Ipad and I'm having issues.  I've only read the first few chapters but at the end of each chapter the last page is duplicated for 10 pages and then it goes to the next chapter.

    I downloaded Wild to my Ipad and I'm having issues.  I've only read the first few chapters but at the end of each chapter the last page is duplicated for 10 pages and then it goes to the next chapter.

    Quit the iBooks app completely and restart the iPad. Go to the home screen first by tapping the home button. Double tap the home button and the task bar will appear with all of your recent/open apps displayed at the bottom. Tap and hold down on any app icon until it begins to wiggle. Tap the minus sign in the upper left corner of the app that you want to close. Tap the home button or anywhere above the task bar. Restart the iPad.
    Restart the iPad by holding down on the sleep button until the red slider appears and then slide to shut off. To power up hold the sleep button until the Apple logo appears and let go of the button.
    Or ....Reset the iPad by holding down on the sleep and home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider - let go of the buttons.
    Or ... Delete the book and download it again in the purchased tab of the iBook Store, as long as you use the same Apple ID, there is no charge to download it again.

  • Footer should be print on last page in multiple page format

    Hi expert,
    I designed form for invoice print ,in that for multiple pages footer should be print on last page only and hight of the main window should be increase (means if footer will display on last page then space of footer should be used for main window in multiple
    page format) 
    for eg .if i have 12 item so 5 items displyed on each page but i want to print 10 item on first page and remaing on second and after that i want to print footer.
    Regards,
    Jyotsna

    Hi,
    Has you tried to create a "new page" copy of FIRST, and make it the LAST_PAGE... On it you are going to create the desired footer.
    The Page Secuence will be something like this:
    If you are trying to print 12 items, then PAGE 1 (10 items) -> LAST_PAGE (2 remaining items).
    Hope it helps you...
    Alexis Sanchez N.
    SAP ABAP Development Consultant
    Molen Services and Consulting, C.A.

  • Suppress a field in the page footer unless it's the last page of the group

    Hi,
    I have a report set up where one can pull invoice information.  There is a page footer used for every page which contains a field that I only want visible when it is the last page of the group.
    For example, one might pull several invoices, each invoice being its own group.  A field would be suppressed in the footer unless it is the last page of that particular invoice.
    Is this something that can be done in Crystal Reports XI?
    Thank you.

    Hi,
    Alright, it's a bit rusty but here's how you can do it:
    1) Create this formula and place it in the Report Header:
    whileprintingrecords;
    numbervar n1 := groupnumber;
    2) Create this formula and place it in the Group Footer:
    whileprintingrecords;
    numbervar n := groupnumber;
    3) Create this formula and place it on the Page Footer:
    whileprintingrecords;
    numbervar n;
    4) Right-click the above formula (Formula on the Page Footer) and select Format Field > Common tab > click the formula button beside 'Suppress' and use this formula:
    numbervar n1;
    numbervar x;
    if currentfieldvalue <> n1 then
      x := 1;
      true;
    else
      x := 0;
      true;
    5) Right-click the field that you wish to always suppress except on the last page and select Format Field > Common tab > click the formula button beside 'Suppress' and use this formula:
    numbervar x;
    if x = 1 then true;
    Let me know how this goes!
    -Abhilash

  • How to print header in first and last  page only in SAPSCRIPT

    Hi!
    How to print header in first and last  page only in SAPSCRIPT,
    in between pages,  I need to print all line items in MAIN window only .
    Thanks in anticipation!
    Aki.

    Hi All,
    Thanks for your early update...but my requirement here is
    I have two pages (FIRST , NEXT ) First is having Header, Main and Footer
    NEXT is having Main and Footer ..I am printing PO here..let us think that my PO is having 20lines items , let us assume that it takes five pages...
    Now how application is printing is ..first set of data is printing in FIRST page and remainiang data distributed to 4 pages printing in NEXT page ..but what my requirement is , I need fifth page print on FIRST page, instead of NEXT page... Ultimately I need last set of data always print in FIRST ie out of 5 pages 1st print on FIRST 2nd 3rd 4th print on NEXT and 5th print again on FIRST .
    hope you this will clear you.
    Thanks!

  • Footer window should be in Last Page

    Hi to all..
        I have a issue in printing a form..
       I have to print the footer window only to the last page.
      i have tried all the possiblities like enabled the option 'Only after end of the main window' in the alternative of the footer and  added 'At end of the table' in the table footer of the main window.
    But still facing the problem of overlapping the main window to the final footer.
    i hope you guys can understand what i mean to say..
    Thanks in anticipation....
    regards,
    sathik

    Hi,
    If your footer text should be printed in the last page
    then the above statement write in the footer window editor.
    If it is not you are looking for, can you please little elaborate your requirement.
    Regards and Best wishes.

  • 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

  • Page footer in all pages expect last page--pld

    page footer in all pages expect last page
    for example 3 pages of pld report
    for first 2 pages only print  footer not for 3rd page

    Hello,
    please refer to Note 743605. TotalPages() cannot be used in a formula, so steps as per Note should be performed to check if page is last page.
    Please note that I created the Note for an older Version of Business One, but that the logic is still the same.
    Kind regards,
    Sonja

  • IDCS3 Print Booklet - Image across first and last page

    Does anyone know how I could place an image to be wrapped around the cover of a booklet? No problem on inside pages because they show as two page spreads but the first and last pages don't display as a two page spread.

    Place it on the cover and stretch it out across what would be the back
    cover if it were there.
    Copy to clipboard and scroll to the last page. Edit>copy in place. Crop
    to fit on back cover and front cover.
    Bob

  • IPhoto 11 Book 1st and last page errors

    When previewing my completed book, the 1st and last page have white lines going through them.
    How can i fix this so I can buy it.
    Thanks

    Boot into  Safe Mode and preview the book.  If the first and last page photos are OK order the book from the Safe Mode.  It's a problem others are having and worked around it with the Safe Mode boot.
    Be sure to report it to Apple via http://www.apple.com/feedback/iphoto.html.
    OT

  • Urgent - Not able to Print back page for Last Page in SAP Script.

    Hello All,
    I need to Print back page in SAP Script, I am able to do it by setting print mode as D, but now the problem is, it does not print back page for last page.
    For eg. if there are 3 pages it prints back page for first two. If there is only one page then it does not print back page.
    Please Help.
    Thanks.

    hi,
    Yes, we can print logo as water mark in scripts
    Just do as like this....
    Upload your logo via SE78.
    - Select 'Import' button from application toolbar of SE78, and perform upload.
    and write this code in scripts
    BITMAP 'COMPANY_LOGO' OBJECT GRAPHICS ID BMAP TYPE BCOL 
    regards
    Sankar

  • Pages and Navigation Pages

    What's the difference between Pages and Navigation Pages? Can I change a Page to Navigation Page? If yes, how?
    Thanks a lot.

    The basic problem is that the default page only applies when you haven't yet accessed the book. Once you have accessed it , the last accessed page within the book is what gets displayed. (if the page label specified is the books).
    as before, you either must implement your logic in a backing file or you must generate the url to the book correctly (by having the page label of the page you want active) i.e. if your book has a pagelabel b1 and your pages have labels p1 and p2 and you always want b1 to goto p2 (the default) , then whenever you want to generate a URL to the book you must use P2 as the label (whether it is custom menu or anywhere else in your site).
    The reason the first option is preferable because the logic lives with your book's backing file, in the second case it is spread out (even if you use a helper)
    regards
    deepak

  • Default to single page and fit page

    Each time I export to PDF from Indesign CS4 I have to then go to Properties/initial view/then set single page and fit page. Is there any way to change the default so that it defaults to these views in Acrobat 9?
    Thanks
    Ian

    It should only be overridden if the properties are set in the PDF. You might check for the properties being set by ID. As I have read, ID generally does it's own export of a PDF and does not use Acrobat.

Maybe you are looking for

  • 3.0 update no longer works with dock!

    Hi Since my iphone 3g upgraded to 3.0 I can no longer use my apple usb dock as the computer does nto recognize the device. Why must apple be so annoying? Does anyone else use a dock and can no longer? Having it plugged into a cable on my work desk is

  • Trouble Creating View on External Table in Diff Schema

    I am unable to create a view in a different schema on an external table in a different schema, even when I am connected to my database as SYS as SYSDBA. CREATE VIEW WH1.EXT1VIEW AS SELECT * FROM WH1.EXT1VIEW; returns the error: ORA-06564: object ER_A

  • How to add component dynamically to datatable row?

    Hi, I have a dropdown in one column of table.Depending upon selected value in that dropdown, I want to add some components dynamically only in that row.How to do this? I have seen that findComponent() method doesnt accept clientId.Is there any other

  • Combo Box charachter limit

    Hi all, easy question here.  Is there a limit to the number of characters that can be represented in a Combo Box?  I had to pair down my topics to less than 6 characters to get them to work.  It's not a bad thing, but I would rather expand on some to

  • PCD search for delta links

    Hi all, I'm trying to look for delta link pcd objects in my portal. I have code that works for iviews, pages, roles & worksets,  for example: NamingEnumeration ne = dirCtx.search("","(com.sap.portal.pcd.gl.ObjectClass=com.sapportals.portal.iview)", p