Hi,
I have a report, The output of the report is a container with a BSP Page, I have used 'CL_GUI_HTML_VIEWER' class to get the BSP into the container.
When I try to print this report using SAP Spool I get the print dialog for the browser. I have used the method 'execwb'.
CALL METHOD html->execwb
EXPORTING
cmd_id = html->wb_cmdid_print.
How can I send the output of the program with a BSP Container to Spool?
I have also tried to call this program from a second program using the SUBMIT TO SAP-SPOOL command below, but this does not work as well, instead it opens the program, and does not send it to spool.
submit (p_repid) with selection-table rspar
to sap-spool without spool dynpro
spool parameters mstr_print_parms
and return.
Please Help...