2008 Jul 31 8:03 AM
Hi Gurus,
I have to execute one Report program as a background process.
I tried to use SM36.I entered the Program & Variant name and also scheduled it for daily basis.
Now i want to know do i need to write any code for this in my Report as there is one CheckBox is given on the Selectiuon screen for
the background processing.
One more thing can i get the output on the Spool?
Regards,
Amit
2008 Jul 31 10:48 AM
Hi Amit,
I have used SM36 transaction.Its working fine.Please use it.
Regards,
Ashutosh
Hi Amit,
I have used SM36 transaction.Its working fine.Please use it.
Regards,
Ashutosh
2008 Jul 31 8:06 AM
Hi,
the output of the program will become your spool. as you are running it as background job you don't need to write any coding or check the check box in your selection screen.
rgds,
bharat.
2008 Jul 31 8:08 AM
> I tried to use SM36.I entered the Program & Variant name and also scheduled it for daily basis.
> Now i want to know do i need to write any code for this in my Report as there is one CheckBox is given on the Selectiuon screen for
> the background processing.
You have to create a variant after checking the check for background processing use that variant in your batch scheduling
(you are already using the variant, check in s varaint the check box checked or not)
>
> One more thing can i get the output on the Spool?
yes you will get. if every thing fine with your code
2008 Jul 31 8:11 AM
Hi Amit,
U no need to make any code changes as long as ur program is not doing any front end interactions like GUI_DOWNLOAD, ALV GRID display and dialog interactins like Popups etc.
Output is stored in spool. U can get the spools in SM37. Go to Sm37, Select date range and finished jobs check box and execute. Now if ur job finished running then u can see the spool number in next screen. Click on spool button u can see the report output.
Thanks,
Vinod.
2008 Jul 31 8:19 AM
Hi Gurus,
I tried to the do same thing and the job is also created in SM37.
But i am not able to see the output which i am getting on normal execution of the report.
whenever i press the F9 key on the selection screen it goes for the Background processing but it asks for the Printer name.
Could you suggest me the printer name as it's not accepting LP01 or LOCL.
Regards,
Amit
2008 Jul 31 9:13 AM
Hi,
What happend when u gave LOCL. U may get one status message. Just ignore that and save the job. After finishing the execution check the result in spool in SM37 transaction.
U can schedule the job from SM36 as well with a variant.
Check and get back.
Thanks,
Vinod.
2008 Jul 31 8:27 AM
Hi
Good
If you have already a check box to run the report in background than check how it is working now. If you feel to write any code for this code than write otherwise not.
As far as spool is concerned you will get a spool once you run the report in background and if everything is correct than you will get the spool once the report finish running in background.
Thanks
mrutyun^
2008 Jul 31 8:32 AM
Hi mrutyun,
i am developing a new report.that's why i am asking whther i need to write any code for that or not.
Regards,
Amit
2008 Jul 31 10:48 AM
Hi Amit,
I have used SM36 transaction.Its working fine.Please use it.
Regards,
Ashutosh
2008 Jul 31 10:56 AM
Hi,
Whenever i give printer name it's giving error message "Output device LP01 is locked in the SAP system".
Please suggest what's hould i do.
It's urgent.
Regards,
Amit
2008 Jul 31 1:23 PM
| User | Count |
|---|---|
| 6 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |