Skip to Content
0
Former Member
Jul 08, 2010 at 06:20 AM

top-of-page

21 Views

Hi , generally i call top-of-page as below

 call function 'REUSE_ALV_GRID_DISPLAY'
      exporting
        i_callback_program       = sy-repid
        i_callback_top_of_page   = 'TOP-OF-PAGE'
        is_layout                = alv_layout
        i_callback_pf_status_set = d_pf_status
        it_fieldcat              = alv_fieldcat
        i_save                   = it_save
        it_events                = it_event[]
        i_grid_settings          = l_settings
      tables
        t_outtab                 = it_zcrm_r3.

but now i am using OOPS with ALV as below

 call method r_alv_grid->set_table_for_first_display
    exporting
      i_structure_name              = 'ZCCPC_REPORT'
    changing
      it_outtab                     = it_zcrm_r3
      it_fieldcatalog               = field_catalog
    exceptions
      invalid_parameter_combination = 1
      program_error                 = 2
      too_many_lines                = 3
      others                        = 4.

so i want to know how to call top-of-page in "set_table_for_first_display" ???

Regards,