Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

top-of-page for OO ALV

Former Member
0 Kudos

Hi all,

Somebody Could tell me how can I create a top-of-page for my OO ALV report?

Please help...!

Thanks in advance.

regards Marisol.

3 REPLIES 3

former_member194669
Active Contributor
0 Kudos

Hi,

Check for class CL_DD_DOCUMENT. For display HTML top-of-page in ALV

Former Member
0 Kudos

HI,

You should set the handler for the event :

SET HANDLER l_event->handle_top_of_page FOR grid.

And then call the set_table_for_first_display

CALL METHOD grid->set_table_for_first_display

EXPORTING

is_layout = gd_layout

CHANGING

it_outtab = outtab[]

it_fieldcatalog = gd_fieldcat[].

In The handle_top_of_page method you can then make some WRITE statemments.

Regards,

David Matias

0 Kudos

Have an example?