05-11-2010 3:32 PM
I have used function module "REUSE_ALV_GRID_DISPLAY_LVC",my top_of_page event is not getting triggered .I have put a break-point in th subroutine of top-of-page.its not going to debugging mode only .i built events and then passed to it_events even then its not working,,Is this the problem of the Function Module ? Any solutions.
05-11-2010 3:46 PM
Hi,
Wt are the importing parameters you are using in the FM?
Regards,
Nilesh.
05-11-2010 3:46 PM
Hi,
Wt are the importing parameters you are using in the FM?
Regards,
Nilesh.
05-11-2010 3:50 PM
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY_LVC'
EXPORTING
* i_structure_name = 'QALS'
is_layout_lvc = gs_layout2
it_fieldcat_lvc = gt_fcat2
i_callback_top_of_page = 'TOP' ---Have Tried this
* it_events = it_event ---Have Tried this but not even getting break-point.
TABLES
t_outtab = gt_display
EXCEPTIONS
program_error = 1
OTHERS = 2.
05-11-2010 5:26 PM
How have you defined the form "TOP" ? Provide the code so that we can analyse.
05-11-2010 5:28 PM
Please pass I_CALLBACK_PROGRAM with your program name. This should solve the issue.
Regards,
Nilesh.
05-11-2010 7:13 PM
Are you using the FM REUSE_ALV_COMMENTARY_WRITE?
example:
----
FORM TOP_OF_PAGE *
----
Even TOP-OF-PAGE *
----
FORM top_of_page.
CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'
EXPORTING
it_list_commentary = header
i_logo = 'LOGO'
ENDFORM. "TOP_OF_PAGE