Auth error in background job

Question: Hi All

I have a user that is running a background job copied from somebody else no longer employed at the company. The job is running under this persons username but the 'Step' is still under the original username. When we changed the 'Step' to be under her username(1403298) auth errors appeared saying she is not authorised to:

1. Step 001 started (program RKCDE512, variant ZAP1316STF2004, username 1403298)
No data record selected due to lack of authorization

What does this mean? Looks to me like the program started successfully but was unable to actually select the data. How can I find out how it goes about selecting the data to add the appropriate auths?

2. Step 005 started (program AQA1EI==========GL-ACC-PER-BAL, variant 14.2004-BS GSB, user name 1403298)
You have no authorization to read table SKAT

How does the background job try to access this table? For eg. what Tcode must be added in order to resolve this problem? Any ideas?

Hope I explained the problems sufficiently

Any help much appreciated, Thanks
Jaynick

Answer:
You can run a trace ST01 on any program to see what auths it checks.

For background jobs it's probably best to schedule them using a background user id, maybe per dept so users only see spool results that are relevant. You can give the user a lot of access so you don't need to worry about sorting out auths.

You also don't have to worry about jobs failing when users are locked etc.

Answer:
As far as I recall, a user needs authorisations not only to start a job but to also do what is done by the job.
You mention that the job has been taken over from a previous user, if you've still got the Roles of the previous user you might compare their authoristions with the current user - after you've done a trace as previously suggested.

Answer:
Thanks for the replies! The previous user had pretty wide auths which is why its not really possible to look at his access. Need to keep things as tight as possible
I have done the trace and will see what I can figure out from there.

Jaynick
_________________
SAP Rules!!!
Copyright ?2007 - 2008 www.jt77.com