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: 

Printing of top of page using OO in ALV

Former Member
0 Kudos

Hi,

can you please let me know how to print the top of page in OO ALV in foreground and background.

If possible plz post some examples on this...

Thanks in advance.

4 REPLIES 4

Former Member
0 Kudos

This message was moderated.

0 Kudos

Hi,

I had already tested this program..

it will not printing the top of page in foreground..

please check it and suggest me about this

Former Member
0 Kudos

Check this blog.. It gives a simple explanation with code.

[https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/4046] [original link is broken] [original link is broken] [original link is broken];

Regards

Sathar

former_member188685
Active Contributor
0 Kudos

Check this weblog for TOP-OF-PAGE

and for the PRINT_TOP_OF_PAGE

add the method in the local events handler class.

print_top_of_page    for event print_top_of_page
                         of cl_gui_alv_grid

method print_top_of_page.
   "Here you can use write statements
   "This event triggers during the Print preview or Print mode
  endmethod.                    "print_top_of_page

set the handler for print_top_of_page similar to top_of_page event.