End of page in last page

hi...
End of page triggers only when the body of the list is full... if in the last page I dont have enough data to display  the whole page then the end of page is not displayed...
how can i achieve this ie. end of page in the last page
regards
padma

Hi Padmavathi,
Let me give you and example
Suppose you can fill 10 = x, lines in a page and if records in your internal table is w_line,
y = ( x - ( w_line - ( sy-cpagno - 1 ) * x ) ).
skip y.
y is the number of lines left out in the last page. Skipping so many lines triggers the end-of-page.
Reward if useful
Indu.

Similar Messages

  • 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

  • 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

  • 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

  • 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

  • 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

  • Different first page header + last page footer

    Hi,
    It only works well if the generated document contains more than 1 page.
    Otherwise the last page is "stronger" so the second page header will be displayed.
    I have seen a lots of questions about this problem but I could not file correct answer.
    Please help me.
    Version:5.6.3
    Thanks,
    Norbert

    The best place to look for help with Word in on the Microsoft Office Support pages.
    Jerry

  • How to avoid blank page in last page?

    Hi friends,
    I have one page layout in my RTF file for Invoice printing. But when submitting the concurrent from Apps, it is showing one page output and one blank page at the end of the output.
    How can i restrict the blank page.. Pl. help.
    Thanks
    Kavi

    If you are using page break, have it conditionally like
    <?if:position()!=last()?><?split-by-page-break:?><?end if?>

  • My Firefox 20 seems to not shut down but only restart. Also, rather than my home page, the last pages visited appear.

    It's as if Firefox 20.0 never shuts down but only restarts.
    Even when I close Firefox 20.0 by clicking the X button on the top right or use "exit," when I open Firefox, it acts the same as if I'd used "restart," namely the tabs don't load until I click on them. Furthermore, the 4 pages I use as my home pages aren't there but rather whatever pages I had up when I last closed my browser.
    I have tried creating a new profile, which worked ONE TIME. Then, it went back to my problem.
    I have used "restore" to go back to a time before the problem started but that hasn't worked.
    I removed the addon I had downloaded in that time period but that didn't help, either.
    Thank you for any help you can give. I know you're all volunteers and your time is important.

    Does it seem like that Firefox is crashing? Try checking if there are any crash reports by going to about:crashes in your browser. Alternatively you can try safe mode as outlined below:
    '''Try Firefox Safe Mode''' to see if the problem goes away. Safe Mode is a troubleshooting mode, which disables most add-ons.
    ''(If you're not using it, switch to the Default theme.)''
    * You can open Firefox 4.0+ in Safe Mode by holding the '''Shift''' key when you open the Firefox desktop or Start menu shortcut.
    * Or open the Help menu and click on the '''Restart with Add-ons Disabled...''' menu item while Firefox is running.
    ''Once you get the pop-up, just select "'Start in Safe Mode"''
    '''''If the issue is not present in Firefox Safe Mode''''', your problem is probably caused by an extension, and you need to figure out which one. Please follow the [[Troubleshooting extensions and themes]] article for that.
    ''To exit the Firefox Safe Mode, just close Firefox and wait a few seconds before opening Firefox for normal use again.''
    ''When you figure out what's causing your issues, please let us know. It might help other users who have the same problem.''

  • Safari does not open to home page or last page visited

    When I open Safari, it does not load to my homepage, or to my last visited page.  Instead, it loads to a page, which I visited a number of days ago.  Does anybody have any ideas why this may be?

    Ok...
    Try emptying the Safari cache.  Command + Option + E or from the Safari menu bar. (A "Reset" does not empty the cache).
    Also, check Safari / Preferences - Extensions. If you have any installed, turn that off, quit then relaunch Safari to test.
    And try restarting your Mac.
    If nothing helped, quit Safari.
    Go to ~/Library/Caches/com.apple.Safari
    Move the cache.db file from the com.apple.Safari folder to the Trash.
    Relaunch Safari.
    ~ (Tilde) character represents the Home folder.
    For LIon:   To find the Home folder in OS X Lion, open the Finder, hold the Option key, and choose Go > Library

  • Safari won't load home page loads last page viewed

    Safari issues

    System Preference  / General /(under personal)
    Third section from the top
    "Number of recent items"
    Uncheck the box left of
    "Restore windows when qutting and re-opening apps".
    Best.

  • Why did I lose my arrows (page forward, last page and refresh) and how do I get them back?

    All of a sudden I do not have my arrows or the box to enter addresses.
    Wondering how I lost them and how to get it back.

    * Make sure that you have the "Navigation Toolbar" and the "Bookmarks Toolbar" visible: "View > Toolbars"
    * If items are missing then see if you can find them in the "View > Toolbars > Customize" window
    * If you see the item in the Customize window then drag it back from the Customize window to one of the toolbars.
    * If, in "View > Toolbars > Customize", you do not see that item then click the "Restore Default Set" button
    See also [[Back and forward or other toolbar buttons are missing]] and [[Navigation Toolbar items]]
    See http://kb.mozillazine.org/Toolbar_customization

  • How to Print Sales header text at the end of last page of Main Window

    Dear All,
    I have a requirement to print Sales order header text at the end of Main of last page. I don't have footer window.When i use Bottom-End bottom.Only one line is printing.The header has 5 lines.
    Request you to provide <b>code</b>to handle this situation. Your response is highly appreciated
    Best Regards
    Praveen

    Hi,
    If u r using standard layout set RVORDER01.
    U can print that sales order header text in the following text element.
    /E SUPPLEMENT_TEXT.
    U can include ur text objects here.
    Then it gets printed.
    Regards,
    Veda Kumar

  • Printing last page (Purchase order Terms) in SMARTFORMS

    Dear SAP Gurus,
    Our Purchasing unit would like to print purchase order terms and conditions after the end of Purchase order. Initially I had two pages (First and Next). The following are the steps I followed to print last page with Purcahsing terms.
    1. Create Command line at end of Main window in First and Next page and in command line output options select Go to page as Last page.
    2. Under last page, I have a secondary window which prints a text. (this is a long text and cant be printed using secondary window. I need Main window to print the text as it would be continous)
    The following are the problems I am facing.
    1. By placing command line at end of Main window, data in secondary window after the Main window are not printing.
    2. Purchase terms Text placed in the last page under Main window is not printing. Text placed in last page under secondary window is printing but instead of 8 pages of terms text only one page is printing.
    How can I handle this.
    Thanks in advance.
    Thanks
    Shanthi

    Hi Shanti,
      From what I've understood from you post, you may try putting the command in the secondary window (which comes after the MAIN Window) of the first page. In the command give Goto Page ->NEXT.
    Hope this helps.
    Thanks,
      Ranjith

  • Displaying one field in first page and other field in last page (header)

    Hi
    We are using following way to print headers but we need one field (WO START) to display in first page and another field (WO END) to display in last page
    If output is only 1 page then both needs to be printed on same page
    <?for-each@section:G_WORK_ORDER?>
    WO START This needs to be printed on first page only
    WO END This needs to be printed on last page only
    <?for-each:G_OPERATION?> <?end for-each?>
    <?end for-each?>
    Let us know if any fix for this
    Thanks
    Kamalakar.G
    Edited by: kamalakarg on Sep 21, 2012 4:53 PM

    Hi Kamalakar,
    Send me sample XML data and RTF template i will try on my side. email me [email protected]
    Thanks,
    Omkar Deshpande.

Maybe you are looking for

  • Help required in Weblogic 6 - Creation & Configuration of Web Application

    Forum Home > Enterprise JavaBeans[tm] Topic: Help required in Weblogic 6 - Creation & Configuration of Web Application Duke Dollars 2 Duke Dollars assigned to this topic. Reward the best responses to your question using the icons below, or transfer a

  • Is it possible to use project inheritance?

    We have lot of classes. Some of them are base classes or mapped by all the other classes. We are researching a solution to avoid to use a unique project. I would have expected that I can have a TopLink Project with my base classes and often mapped cl

  • Calling oracle SQL Loader from java program

    Hi, I want to insert data into oracle tables from a text files containing fixed length fields. I am using SQLLoader to achieve this. The requirement is to call the SQLLoader within the java program. Does anyone know how to call SQL Loader from java p

  • Archive Utility Quit Unexpectedly

    Every time I try to unzip a file using Archive Utility, it says "Archive Utility Quit Unexpectedly". No, relaunching it does not do anything. I have restarted my computer to no prevail and several things I've tried on the internet do not work. Curren

  • What is the major advantage of Repair full request?

    Hi gurus What is the major advantage of Repair full request? Thanks in advance Raj