Skip to Content
0
Former Member
Mar 24, 2009 at 07:01 AM

problem in oops ALV top_of_page

39 Views

Hi all,

Iam using oops ALV to display by using custom controls.

We need to display selection screen parameters on top of page.

Iam using the method top_of_page and creating the instance in PBO module of the screen as shown.

MODULE status_0600 OUTPUT.
  SET PF-STATUS 'PF-001'.
  SET TITLEBAR  'ZTITLEBAR_836'.

*Create object of the event class and setting handler for double click
  CREATE OBJECT event_receiver.
  SET HANDLER event_receiver->handle_double_click FOR cl_alv_grid.
*Create object of the event class and setting handler for top of page
  CREATE OBJECT event_receiver.
  SET HANDLER event_receiver->handle_top_of_page FOR cl_alv_grid.
*display top of the page
  CREATE OBJECT event_receiver.
  SET HANDLER event_receiver->display_top_of_page FOR cl_alv_grid.
ENDMODULE.                 " STATUS_0600  OUTPUT

in method iam writing required details by 'REUSE_ALV_COMMENTARY_WRITE'

it is not showing any affect on the output screen.

Regards,

Anil.

A suggestion can make a difference.