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

How To use TOP OF PAGE event in OOPS ALV?

Dear All,

Can u please tell me,how to use TOP OF PAGE event to print a logo in OOPS ALV using a Single Custom Container?

Thanks And Regards,

Feros Khan.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Feb 08, 2005 at 03:49 PM

    The OO ALV does not invoke the TOP-OF-PAGE event. Do you want a picture above your ALV Grid? If so you can use a splitter container and put a picture control at the top and your ALV grid on the bottom.

    This posting has an example of using a splitter container:

    Changing width of a custom container dynamically

    This posting has a discussion about using TOP-OF-PAGE:

    Display Page numbers in ALV

    This posting has an example of using picture control:

    Insert picture in selection screen.

    This posting has an example of putting a picture on top of an ALV grid:

    Logo in OO ALV Grid

    Message was edited by: Charles Folwell

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Feb 08, 2005 at 07:07 PM

    Hi Feros

    There is an event 'TOP_OF_PAGE' of the ALV Grid control which gets a DD reference as the input. However, as Charles said, the event does not seem to be triggered. So, you can implement Charles' solution.

    *--Serdar

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Christian Finkbeiner

      Feros,

      As pointed out by Christian and others Top-Of-Page is only tiggered while u display GRID output as a list or u r printing the report.

      In OOPS world u have to use Event handler for class "cl_gui_alv_grid" and event name is "print_top_of_page".

      Jeet

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.