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: 

ALV Footer at the end problem (END_OF_LIST/HTM_END_OF_LIST)

abhijitzope
Active Participant
0 Kudos

Hello Friends,

I am using TOP_OF_PAGE and END_OF_LIST event to write the header and footer at end in ALV but in output contents of TOP_OF_PAGE is overwritten by END_OF_PAGE but if we see the print previw output is ok.

if i use the TOP_OF_PAGE and HTML_END_OF_LIST event the out is fine but in print privew will not able to see the footer part

Regards,

Abhi

1 REPLY 1

abhijitzope
Active Participant
0 Kudos

to display the top_of_page use

CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'

EXPORTING

it_list_commentary = it_header

i_end_of_list_grid = space.

to display the end of page

CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'

EXPORTING

it_list_commentary = it_header

i_end_of_list_grid = 'X'.