2005 Oct 08 12:21 AM
I am not able to see the spool when i run my program in background.
I run it by executing the program in se38 choosing the option as execute in background. I am of the idea that SAP creates a spool on its own when i run any program that has a list output without me having to code anythin explicitly for it.
please suggest me some ways of checking why is it happening !! this is urgent !!
Thanks.
Shiv
I am not able to see the spool when i run my program in background.
I run it by executing the program in se38 choosing the option as execute in background. I am of the idea that SAP creates a spool on its own when i run any program that has a list output without me having to code anythin explicitly for it.
please suggest me some ways of checking why is it happening !! this is urgent !!
Thanks.
Shiv
2005 Oct 08 1:00 AM
Try t-code SP01 now. And search for your output.
2005 Oct 08 1:36 AM
Ya, I did that and didnt find any spools in SP01 too.
My question is why didnt it create a spool on the first place?
2005 Oct 08 1:43 AM
2005 Oct 08 1:44 AM
2005 Oct 08 1:44 AM
Next question... when you run the program in the foreground, does output appear on the screen? Need to confirm that the code is, in fact, producing any output.
2005 Oct 08 1:53 AM
No print outs, but I wil check the print paramters also. How can i configure it to just keep the output in spool and not print it in program itself !!
Since I wont be able to ask the customer to change the configuration settings in the pop up eveytime.
2005 Oct 08 2:11 AM
You could write a wrapper program that does a submit.
Do F1 help to see the extensions of this statement, you can set the print parameters there.
SUBMIT <program> to SAP-SPOOL.
You can also set these parameters if you were to schedule this in a job via SM36.
You can also set these defaults in your user profile, but this would make it so for ALL reports that you run. Maybe not such a good idea.
Also you must verify that you are actually generating ouput. Do you get the list running in dialog mode?
Regards,
Rich Heilman
2005 Oct 08 2:16 AM
ya,
I am getting the list in dialog mode. When i tried using submit <report name> to sap-spool. it gave a dump saying spool conversion not possible.
2005 Oct 08 2:21 AM
2005 Oct 08 2:22 AM
2005 Oct 08 2:34 AM
When you do execute the program in background from SE38 , you cannot set the spool parameters and in this case it is taken from user master . You can always the check the job so created in SM37 and see if it has completed or aborted . If complete you can see if valid list was generated . This will give you more idea.
If you schedule a job in SM36 you have the options to set spool parameters like "print immediately ". Why not schedule a job thru SM36 and later check in SM37.
Cheers
2005 Oct 08 2:41 AM
When I execute in background in se38, I have the option of saying print immediately, delete after output or new spool request. I tried printing it out and it did.
Actually I am able to do it on my colleagues machine and it shows the the spool and also prints it if I desire. On my machine it doesnt show the spool. I think then the problem lies in the configuration of my profile in print parameters. Is there any parameter because of which I may not begetting the spool or the spool is not gettng generated.
Thanks for your help guys. I really appreciate it.
2005 Oct 08 2:53 AM
Please check your user profile defaults and make sure that you have a printer assign and that the print parameters are the way that you want them. You can do this by clicking System-->Own Data(I think that this is the menu path) or changing via SU01.
Please remember to award points for any helpful answers. Thanks.
Regards,
Rich Heilman