Skip to Content
author's profile photo Former Member
Former Member

top-of-page

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,

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

4 Answers

  • Best Answer
    Posted on Jul 08, 2010 at 08:09 AM

    Hi,

    Refer http://wiki.sdn.sap.com/wiki/display/HOME/objectorientedProgramminginALV

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jul 08, 2010 at 06:53 AM
    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jul 08, 2010 at 06:54 AM

    Hi,

    there is a event TOP_OF_PAGE in the CL_GUI_ALV_GRID use this for top of page

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jul 08, 2010 at 07:26 AM

    I think you are looking for [this|http://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/4046] [original link is broken] [original link is broken] [original link is broken];

    Regards

    Marcin

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.