Hello friends, I have an ALV grid docked together with a header (cl_dd_document).
I've added the following:
Handle the event
CALL METHOD o_alvgrid->list_processing_events
EXPORTING i_event_name = 'PRINT_TOP_OF_PAGE'.
SET HANDLER o_eventreceiver->handle_print_top_of_page FOR o_alvgrid.
SET HANDLER o_eventreceiver->handle_top_of_page FOR o_alvgrid.
In the PAI I've added:
lv_ucomm = '&RNT' .
CALL METHOD o_alvgrid->set_function_code
CHANGING c_ucomm = lv_ucomm .
The printed paper only shows the alv grid, not the header... but I need both..
I would appreciate any help.