2008 Jun 18 3:30 PM
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
2008 Jun 18 3:38 PM
YOU can run your report in background(Press F9 instead of F8) instead of foreground.
It will generate a spool automatically.
Regards,
Ravi
2008 Jun 18 3:47 PM
Have you written ALV display using OO method or using Function module?
2008 Jun 18 3:49 PM
2008 Jun 19 4:21 AM
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
2008 Jun 28 9:56 AM
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