2007 Feb 02 9:12 AM
hi experts,
I have scheduled my report program in background.My requirement is that it should print automatically at the scheduled time.
A spool request is being created but i have to manually give the print from transaction sp02.
When i run in the foreground, the printing is done aautomatically on the press of F8.
Let me kno how i can achieve this ?
2007 Feb 02 11:06 AM
Hi,
what kind of printer do you have?. As I know, background printing is not possible for front-end printers. Please check this in transaction SPAD for your printer an choose one with hostpool l or s or u.
Regards,
Christian
2007 Feb 02 11:18 AM
Hi,
You need to write JOB_OPEN, JOB_SUBMIT, and JOB_CLOSE function modules to perform a Job at scheduled time. If you want to print then use the Function moduel GET_PRINT_PARAMETERS to get the print parameters and after that NEW-PAGE PRINT on WITH PARAMS.
Regards
Sudheer