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: 

difference between REUSE_ALV_COMMENTARY_WRITE and TOP_OF_PAGE

Former Member
0 Kudos

difference between REUSE_ALV_COMMENTARY_WRITE and TOP_OF_PAGE

2 REPLIES 2

Former Member
0 Kudos

reward points..

Former Member
0 Kudos

Hi,

'REUSE_ALV_COMMENTARY_WRITE' is a function module which can be used to write headers and logos on ALV output screen.

TOP_OF_PAGE is an event which can be used both in normal list processing and ALV.

If u call 'REUSE_ALV_EVENT_NAMES_GET' FM, it will retrieve all events into i_events internal table.

report has to define 3 forms to activate this events, like

DATA: slis_ev_top_of_page TYPE slis_formname VALUE ' TOP_OF_PAGE'.

now,

FORM TOP_OF_PAGE.

In this form u can call

'REUSE_ALV_COMMENTARY_WRITE' FM to print any thing in the header of the ALV.

Hope this will help u.....if there are any concerns please come back on this.

Thanks,

Kusuma.