Hi all,
I am generating Dynamaic ALV by using object oriented concepts.
i tried lot of possibilities, but could not find the way to put yop of page to my dynamaic ALV.
in the top of page i have display the heading and under that i have to display system date and time.
does any one has code, please help me.
IN PBO
i am using
IF gv_container IS INITIAL.
CREATE OBJECT gv_container
EXPORTING
container_name = gc_container.
CREATE OBJECT gv_grid
EXPORTING
i_parent = gv_container.
CREATE OBJECT g_handler.
SET HANDLER g_handler->top_of_page FOR gv_grid.
CALL METHOD gv_grid->set_table_for_first_display
EXPORTING i_save = gc_save
is_layout = gv_layout
is_print = gv_print
is_variant = gv_variant
CHANGING it_fieldcatalog = gt_fieldcat[]
it_outtab = <gt_table>.
endif.
Thanks in advance
Nirmala.