Skip to Content
author's profile photo Former Member
Former Member

trigered topofpage

Hi Experts,

i have developed year wise lease report in that the report will display each and every year top of page. can anybody explain me.

Thanks

rajesh

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Feb 15, 2010 at 08:54 AM

    Hello,

    You can use New-Page command to create new page.

    Top-of-page.

    write : year.

    statrt-of-selection.

    loop........

    write info of 1st year.

    at new year.

    pass year = second year

    New-page.

    endloop.

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      hi rajesh,

      you can call new page with command

      NEW-PAGE.

      but new page command have some checks.

      with new page you cannot create empty pages also event end-of-selection is not triggered and top-of page is called before new-page command.take F1 help for new-page it will be more clear and whenever new page is called top of page will be called where you can write year.

      hope this will solves your query.

      thanks,

      tanmaya

  • author's profile photo Former Member
    Former Member
    Posted on Feb 16, 2010 at 05:23 AM

    Hi Rajesh,

    top of page and end of page are the events in classical report programming.

    Top of Page is called whenever new page is called and end of page is called every time list reaches its footer area of a particular page,some space is reserved for both the events.

    what you can do is call a new page according to your requirement and then you can use write command to write year.

    Top of Page.

    write: year.

    as defined in earlier posts.

    hope this post helps you in understanding the event top of page.

    Thanks,

    Tanmaya

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Feb 15, 2010 at 02:07 PM

    Hi rajesh,

    What type of report you have used. Function module ALV, OOPS ALV or normal Writre statement report.

    Thanks,

    Padmakar

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.