How to change last page header under TOP-OF-PAGE in a report

hi,
there are 20 pages in the report for which same header is diplayed for 20 pages by using follow.
TOP-OF-PAGE.
PERFORM write_doc_header.
now the requirement is to change the last page heading. for this i've another perform statement.
so plz let me know the syntax sh be to place this perform statment.
plz let me know tht am i thinking right by luking at below??
TOP-OF-PAGE.
if sy-index = last page.
perform lastpage_header.
else
PERFORM write_doc_header.
endif.

Hi,
Use:
TOP-OF-PAGE.
IF SY-PAGNO = 20.               " sy-pagno will give you th current pagno
Perform LAST_PAGE_HEADER.
ESLE.
Perform LIST_HEADER.
ENDIF.
hopr this resolves your issue.
Regards,
Gurpreet

Similar Messages

  • HT3384 How do I change margins and header footers on a pages document?

    Hi can anyone help me on how do I change margins and header / footers on a pages document?
    Many thanks

    Oddly, when one enters text that is a paragraph string longer than the width of the the page, the text doesn't wrap. There seems to be something a bit wonky with the margins, but perhaps it's something else. I fiddled with styles to see if I could control it, but to no avail. I'm giving up and boing back to '09. Each time I think I'll switch to iWork 5, I encounter some other restrictive feature that sends me scurrying back to '09.

  • How to remove a black border box that continously tabs to each field automatically till end of web page; restarts to top of page, cannot stop this box. Scroll bar cannot controlled with mouse, returns auto to top of scroll slide, never remaining at bottom

    how to remove a black border box that continously tabs to each field automatically till end of web page; restarts to top of page, cannot stop this box. Scroll bar cannot be controlled with mouse, scroll bar returns automatically to the top of scroll slide every time I move the bar to the bottom of the scale.  Also, there's a rectangular text box (with black background and white text) that is always on the desktop that emulates a typed text, HTML, or cmd function.

    cjuan1morb4ulv wrote:
    how to remove a black border box that continously tabs to each field automatically till end of web page; restarts to top of page, cannot stop this box. Scroll bar cannot be controlled with mouse, scroll bar returns automatically to the top of scroll slide every time I move the bar to the bottom of the scale.  Also, there's a rectangular text box (with black background and white text) that is always on the desktop that emulates a typed text, HTML, or cmd function.
    The first two problems (box cycling from element to element on page, scroll bar returning to top) can be caused by a stuck (or defective) Tab key on the keyboard. Such damage can be caused by a liquid spill; just one tiny droplet is enough to short a wafer switch under one key.
    The last issue (black box, white text - sounds sorta like a debugger window) I haven't seen, but could be caused by something similar.
    To check for that, try using a different keyboard. If you're using a wireless keyboard, turn it off and see if the oddities stop.

  • How to Create a "FAQ" page where the top of page has all the Hyperlinks

    Hi,
    On iWeb, how do I Create a "FAQ" page where the top of page has all the Questions as Hyperlinks.
    The hyperlinks would not actually link to a separate page, but would automatically scroll the page to the spot where the question is answered.
    An good example is below:
    http://www.cardrunners.com/members/index.php?option=com_content&task=view&id=102 &Itemid=2
    Thanks for your help!

    Sarah,
    As is pointed out what you would like to do is old fashioned Anchors, real easy on a conventional site but not so easy in iWeb.
    I made an FAQ by just making questions followed by answers and increasing font size and using bold to make the questions stand out so it is easy to use.
    Much more work for you but will approximate what you are trying to achieve is this: On the FAQ page make your list of questions each of which you will make into a hyperlink to go to another page. For every question add a blank page to write the answer on. Uncheck the relevant box so that that page does not appear in the navigation bar. Write your answer on that page then under it make a hyperlink back to the FAQ page. The page would also by default have the normal navigation menu at the top, but adding a "Close Window" or "Back To FAQ" link that is actually just a hyperlink to the FAQ page is helpful for site visitors.
    While a lot of work to make the extra pages it should work well and solve your problem.
    The simplicity of iWeb soon provides problems as soon as you want to do more than the basics offered.

  • How to change the default Layout Of the Error Page (to hide Home link)?

    How to change the default Layout Of the Error Page (to hide Home link)?
    If a user want to view some page that he/she don't have access to view it, a error page with this message will be displayed.
    "You do not have permission to perform this operation. (WWC-44131)"
    The error page, have in the Upper right page, Home link and Help link.
    My question is, How to Hide HOME link and HELP link in the Page?
    I try to find the template of the page, but failed to do that.
    Can anybody help?..it urgent.
    Thanks.

    Modifying the error page is not supported in the current release of Portal (9.0.2). You will be able to do this in the upcoming 9.0.2.6 release, planned for the end of May.
    Regards,
    Jerry
    PortalPM

  • Anyone know how to change the default font for the new pages? Apparently it does not even come up when I search the 'Help' section of Pages. The level of incompetence in this new version seems breathtaking

    I cannot find how to change the default font in the new Pages. It does not appear in the Help area when I search for it. I am never sing Helvetica for my standard documents and cannot seem to change it. What am I missing? And why does Pages help not have an easy answer?
    dan

    You open a blank template and change the font to you liking. Remember to also get all the styles changed with new font. Then Save As Template. Now you have a template with the font you like.

  • On the pages app on my IPad, how do I start my header on the second page?

    On the pages app on my IPad, how do I start my header on the second page?

    You can't. The iOS and Mac OS X versions of the same application are separate products, and where applicable, purchases.
    (65818)

  • How to have the format bar on top in pages

    how to have the format bar on top in pages?

    Do you mean Pages, the Word like application in iWork?  If you do, I can ask the moderator move your thread to the Pages forum.

  • Could you please tell me how to delete a bookmark on the top of page (it has a space for four bookmarks). Thanks

    Could you please tell me how to delete a bookmark on the top of page (it has a space for four bookmarks). Thanks

    To delete a bookmark from your bookmark toolbar, point at the bookmark with your mouse or trackpad, then right-click on it (press the right-hand button on your mouse or trackpad) and choose "Delete" from the pop-up menu.
    For other ways of deleting bookmarks, see '''[[Deleting Bookmarks]]'''.

  • How can I change the running head on the title page only?

    For APA formatting the running head needs to run throughout a paper, but only on the title page is it preceeded by "Running Head:". How can I change the running head on this page only?

    Menu > Insert > Section Break
    Click your cursor in the new (2nd) section.
    Menu > View > Show Inspector
    Inspector > Layout > Section > Page Numbers > uncheck Continue from previous section
    Menu is the menu at the top of your screen when you are in Pages, or anywhere else on the Mac. very hard to miss.
    Yes that is kind of a dumb question.
    Peter

  • How do I keep my header consistent on multiple pages, and only making changes in one spot?

    This is my first website in a number of years.  Could you point me to a tutorial to show me how I go about designing so that the header will stay consistant on each of my pages, but only having to make changes to my header in one spot.

    I agree with Murray's recommendation about Server-Side Includes.  I use them all the time and they are very efficient.
    http://www.smartwebby.com/web_site_design/server_side_includes.asp
    Some people like the consistency of DW Templates.  Basically, one template.dwt controls the layout, site wide headers, footers, menus, etc...   Editable regions are added to the main Template so you can add unique content to your child pages.
    http://www.smartwebby.com/web_site_design/dreamweaver_template.asp#1
    Nancy O.

  • How do I reduce the font size in the blue browser header at top of page?

    The font in the browser page header is too large. I would like to change the size of the font.

    Can you attach a [http://en.wikipedia.org/wiki/Screenshot screenshot]?
    Use a compressed image type like PNG or JPG to save the screenshot and make sure that you do not exceed the maximum file size (1 MB) and do not click Preview after you have attached the image.
    The default system font that is used in all programs is used on the title bar.<br />
    If that doesn't show properly then you may have a problem with the used font
    Control Panel > Display: Appearance > Advanced > Active Title Bar

  • Changing customer number in alv top of page for every new customer

    hi experts,
    in alv grid display top-of- page, how to change customer number  customer name for every new customer.
    please help me.
    Regards
    Naveen.

    You may look into this blog
    http://help-abap.blogspot.com/2008/09/salv-model-5-add-header-top-of-page.html
    This is has been contributed by one of the SCN contributor Naimesh Patel.

  • Adobe form:How to Print last row of body to next page & printing max7 rows?

    Hi,
    In ADOBE PDF, Design view, for item level data only 7 row or less should appear in first page for following page if rows are greater than 7 if its less than  7 then last row should be on second page. In design page Below Body Row, user details are 'positioned' so they overlap as soon as item level data exceeds 7.
    Using a Static PDF, 7.2. I checked with Pagination property of Item level data, its been set to Place:Following previous and After Continue filling parent. Will putting condition using Form Calc would suffice in condition breaks? What would be condition?
    Thanks
    Mohinder

    Hi,
    Solved by changing Condition in Table pane, making one row and increasing Header and footer.
    Thanks
    Mohinder

  • In Pages '09, how do I remove the header from the first page of the document in a page layout document?

    Working Pages '09, I am trying to set up a multi-page document using page layout  (not a word processing document, because I'll be using lots of graphics and text boxes), with headers and footers, but no header on the first page, as this will be the title page. The layout>section pane has the 'First page is different' option  greyed out (because it's a word processor only option). Help tells me that each page is it's own section in page layout, but there is no way to have one page without a header and all the others with, as far as I can tell. Am I completely missing something or is there a way around this?
    Also, I want to do this again for additional chapters in the document (or else, I believe, be forced to manually start page numbering for each chapter in a new document).
    Cheers.

    Hi, Barry. I don't know why this solution didn't work for me :-\ Does it matter that my page numbers are in the footer and not the header? When I follow your direction, the pages do get numbered differently. My problem occurs with the last step.
    1. Open the Inspector. (Check!)
    2. Click the Layout button (second from left). (Check!)
    3. Click Section. (Check!)
    4. Make the two settings shown: (Check!)
    5. Go to Page 1 and delete the contents of the Header. (When I do this, the content for all footers is deleted...)
    I really appreciate your insight.

Maybe you are looking for

  • Setting up BitLocker missing delegate control setting

    Hi, I am setting up BitLocker in our AD. I checked the schema using ADSI edit and it looks as if the schema is already extended. I find: CN=ms-FVE-KeyPackage CN=ms-FVE-RecoveryGuid CN=ms-FVE-RecoveryInformation CN=ms-FVE-RecoveryPassword CN=ms-FVE-Vo

  • How do I get rid of the spinning pinwheel on my macbook?

    How do I get rid of the spinning pinwheel on my MacBook? I'm assuming I need to clean it up, but not sure how.

  • Oracle 11g bug for column ambigously defined error

    I have below format query running on Oracle 10g without any issues select col1 from (select col1 from (select 'A' col1 from dual) ) v1 inner join (select col1 as col2 from (select 'A' col1 from dual) ) v2 on (v1.col1=v2.col2); When I run the exact sa

  • Iphoto pics not recognized

    I take alot of pics that i download to iphoto, then transfer to friends, work, and other sites. lately my pics are not being understood by other computers, at work, the PC photo editor "cannot read file type" on another site "did not upload correctly

  • ImageIcon retrieving file name once created

    I have created an image icon and at some later point would like to retrieve the name of the file that created the icon. Is that possible? I have not found a method to do this. Thanks. -Jim