Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

no spool generated for some users

Former Member
0 Likes
4,322

Hi All,

I have a program that when run in background generates a spool for some users but to others don't (SM37).

i have used the same test data in executing the program, had copied the user profile parameter of the working user account but nothing works.

It also sometimes generate spool in SP01 but this is not for always.

Hope you could help me with this.

Edited by: navi on Jun 23, 2010 1:21 PM

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
3,042

Hi ,

are you hardcoding the user name value in Spool generation. Just get user name from SYST structure and populate that in spool generation.It should resolve the problem.

Regards,

Uma Dave

16 REPLIES 16
Read only

Former Member
0 Likes
3,043

Hi ,

are you hardcoding the user name value in Spool generation. Just get user name from SYST structure and populate that in spool generation.It should resolve the problem.

Regards,

Uma Dave

Read only

0 Likes
3,042

Nope. We just use F9 when executing the program in background. No coding on our end.

Read only

0 Likes
3,042

Okey ,

then can you check out the setting done for this JOB In sm36 , have you specified the user there.

Regards,

Uma Dave

Read only

0 Likes
3,042

yes, i have specified it.

Read only

0 Likes
3,042

what is that user , is it the one for which your job gets spool generated ? if thatz the case then it straight forward that it is as good as you are hard coding the user.

See what you have specified under Spool list recipient.

Hope you understand.

Regards,

Uma Dave

Edited by: UmaDave on Jun 23, 2010 8:16 AM

Read only

0 Likes
3,042

there's no spool list specified for our job.

Read only

0 Likes
3,042

Hi ,

There needs to be proper settings done for Background Job scheduling and remotely I cant see them.

Kindly refer this link below and see if you can reconfigure your Job if something is missing

http://help.sap.com/saphelp_bw30b/helpdata/en/c4/3a7f87505211d189550000e829fbbd/content.htm

I hope it will help you.

Regards,

Uma Dave

Read only

0 Likes
3,042

Hi navi,

Have youc hecked the spool setting for the following users..?

hav they been set tp print immediately..?

Best Regards,

Navin Fernandes

Read only

0 Likes
3,042

how to check the user's spool settings?

Read only

0 Likes
3,042

You can go to SU01 and go to tab DEFAULTS. If you do not have authorization to use this transaction, go to table USR01.

Read only

0 Likes
3,042

what is meant if it is not set to print immediately?

Read only

0 Likes
3,042

It not print immediately, goes to spool. If printed immediately, your user would have to set switch to also retain spool.

Before printing, this can be set in "properties" , "output options"... right after user presses print when running online...when running in background, can be set same way right after selection of execute in background or execute and print. They probably need to turn that delete immediately off...try it you'll figure out what to tell them to do.

Read only

0 Likes
3,042

Hi Navin,

You're answer had solved my issue.

Thanks!

Navi

Read only

Former Member
0 Likes
3,042

This is probably due to authorization. After you do F9 and schedule the job, execute SU53 transaction and check if there is any authorization failure.

If you don't see any, ask your SAP security to start a security trace for the user. Then, perform the F9 and background scheduling. As soon as the job is complete, ask the SAP security to stop the security trace, and then check the trace. If this is an authorization issue, the authorization failure should show up in the trace.

If there is no authorization failure, it can be because of the application server where the job runs (you can have multiple application servers for the same system). Possibly, those users are routed to a specific application server while others are routed to a different one. So, the jobs may be running in different application server and the spool are not getting generated for some application servers. If this is the case, check with Basis why this is happening. Until the problem is resolved, you can temporarily make settings in the load balancer to route those users to the app server that can generate spool.

Read only

0 Likes
3,042

Also, just checked with my Basis teammate. If the problem is not authorization, you can use the below method to check if the problem is with the application server. Go to sm51. It will list all your application servers on that system. Double click on the one that your users are being routed to. You can see all the processes in that app server. There should be a process with type "SPO". If that process is not there, no spools will be generated from that app server.

Also, just FYI. The application server may be chosen for a user by the load balancer based on the user group. Check with Basis on the settings of your application server.

Read only

0 Likes
3,042

Hi Silai,

Thanks for this info.