‎2007 Jun 25 8:42 AM
what is the purpose of SET HANDLER?
what is the purpose of cl_dd_document class?
what is the purpose of cl_gui_html_viewer class?
methods top_of_page for event top_of_page
of cl_gui__alv_grid
importing e_dyndoc_id ?
what it means...
‎2007 Jun 25 8:47 AM
Hi,
SET HANDLER is used to register the Event handler method of perticular event that will be raised by a perticular class.
CL_GUI_HTML_VIEWER is the class that is used to create space on your screen which can display HTML content.
Check this report for the TOP_OF_PAGE event example
BCALV_TEST_GRID_EVENTS.
Regards,
Sesh
.
‎2007 Jun 25 10:07 AM
‎2007 Jun 25 10:53 AM
Hi Selva,
Events and methods are 2 components of a class. Whenever an event is raised, it might be required to carry out some functionality. That is coded in the handler method for the event. Now whenever an event is raised, the handler method will be automatically called by system if and only if the handler method is registered to the event at runtime. This is done by the SET HANDLER statement. If you do not register the event with the handler method, the method will not be implicitly called by the system when the event is raised.
Award points if found useful.
Regards
Indrajit