02-08-2005 2:48 PM
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.
02-08-2005 3: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:
This posting has a discussion about using TOP-OF-PAGE:
This posting has an example of using picture control:
This posting has an example of putting a picture on top of an ALV grid:
Message was edited by: Charles Folwell
02-08-2005 7: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
02-09-2005 6:59 PM
to my knowledge top of page is triggered only when the output is printed and in the preview mode.
Christian
02-09-2005 7:19 PM
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