01-04-2006 10:33 AM
Hi !
I created a background report,running via a job in background. I need to display the output of the background report via two channels : a printer and an e
mail. I created the output of the report by using the command Write, and the output is printed to screen. However this solution is good for an online report and not for background report ? and my question is how to send the background report output to a printer in background .
Thanks
Moshe
01-04-2006 10:38 AM
Hi
You can run your report in background mode: press F9.
After you can send the spool via e-mail.
Max
01-04-2006 10:40 AM
Hi,
If you are using JOB_OPEN, JOB_SUBMIT & JOB_CLOSE to execute the program in background, then in the FM JOB_SUBMIT you have a parameter PRIPARAMS for which you need to pass a value.
Before that get all the Print Parameters using FM GET_PRINT_PARAMETERS. Then pass the same to PRIPARAMS.
This would solve the problem.
Best regards,
Prashant
01-04-2006 10:45 AM
Hi,
If you are executing the background program through SM36 transaction, then while defining STEP, there is an option at the bottom ( After you provide Program name & variant , on the same screen at bottom side ) PRINT SPECIFICATIONS. Provide the printer name here.
This would solve the problem.
Best regards,
Prashant