Application Development and Automation 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: 
Read only

Printing a container with multiple grids

Former Member
0 Likes
477

Hi gurus,

I created a fine report in abap OO. It displays not one, not two but three grids. All working fine, no problem. I can even run it in the background. The point that fails on me is, can I print all three alv-grids at once? I can print them one at the time, but I created a new button that is supposed to print them all.

Any one got ideas on this matter?

1 ACCEPTED SOLUTION
Read only

franois_henrotte
Active Contributor
0 Likes
453

you can display and print several grids at one time by using

REUSE_ALV_BLOCK_LIST_INIT

REUSE_ALV_BLOCK_LIST_APPEND

REUSE_ALV_BLOCK_LIST_DISPLAY

but this is not graphical display

so you could try to call those functions when you want to print (at least in background)

Hi gurus,

I created a fine report in abap OO. It displays not one, not two but three grids. All working fine, no problem. I can even run it in the background. The point that fails on me is, can I print all three alv-grids at once? I can print them one at the time, but I created a new button that is supposed to print them all.

Any one got ideas on this matter?

2 REPLIES 2
Read only

franois_henrotte
Active Contributor
0 Likes
454

you can display and print several grids at one time by using

REUSE_ALV_BLOCK_LIST_INIT

REUSE_ALV_BLOCK_LIST_APPEND

REUSE_ALV_BLOCK_LIST_DISPLAY

but this is not graphical display

so you could try to call those functions when you want to print (at least in background)

Read only

0 Likes
453

I solved the printing by 'dumping' the three lists to three screens. That way I could 'print' the report with three grids in the background to the spool.