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

ALV on SPOOL

Former Member
0 Likes
1,016

Hi gurus.

I've a FM that shows an ALV; but I need to print this ALV on SPOOL.

Using 'is_print' parameters on REUSE_ALV_LIST_DISPLAY function; I can do this; but a window with print params appears. I need to write the list on SPOOL directly, without any windows params.

Could yo send me some help?

Thanks in advance

Hi gurus.

I've a FM that shows an ALV; but I need to print this ALV on SPOOL.

Using 'is_print' parameters on REUSE_ALV_LIST_DISPLAY function; I can do this; but a window with print params appears. I need to write the list on SPOOL directly, without any windows params.

Could yo send me some help?

Thanks in advance

5 REPLIES 5
Read only

Former Member
0 Likes
877

YOU can run your report in background(Press F9 instead of F8) instead of foreground.

It will generate a spool automatically.

Regards,

Ravi

Read only

Former Member
0 Likes
877

Have you written ALV display using OO method or using Function module?

Read only

Former Member
0 Likes
877

Hi, I am using FM to launch de list.

Read only

0 Likes
877

hi,

to pass the print parameter with additional field (NO_PRINT_SELINFOS = X).

hope it will solve your req.

Reward if found helpful.

Regards,

Boobalan Suburaj

Read only

Former Member
0 Likes
877

Hi,

In the FM REUSE_ALV_LIST_DISPLAY,

we can set the Print parameters init using IS PRINT this of type SLIS_PRINT_ALV.

Declare a variable with this type and populate the required fields.

Dbclik on that SLIS_PRINT_ALV- internalyy it is of type -

types: begin of slis_print_alv.

include type alv_s_prnt.

include type slis_print_alv1.

types: end of slis_print_alv.

click on that include and pass the parameters accordingly.

Reward if helpful.

Best Wishes,

Chandralekha