Application Development 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: 

Background Jobs gets start but fails due to missing Auth

Former Member
0 Kudos

Hello All,

User is able to run a Job in Foreground and gets a desired result, but when same user runs the same job in Background, the jobs gets started but also it gets failed due to missing Auth.

My Question is when the same user is able to run a Job in Foreground and gets the desired result, then why the job gets failed due to missing Auth running it in Background?

Kinldy advise on this.

Regards,

VS

2 REPLIES 2

shivraj_singh2
Active Participant
0 Kudos

VS,

Usual tracing for user should be to point out the missing authorization.

Please go through the following link for details.

Roles & Authorizations for Background Processing

Regards,

Shivraj

Former Member
0 Kudos

You need to give us more infos...

What does the job log say?

It is possible (what is your SP level?) that the S_DEVELOP actvt 16 check on object type PROG kicked in (there is a SAP note which corrects that, unless you changed the program being submitted..?)

If it is application authorizations in the job itself, then you must look for field sy-batch. Some programs are not intended to run in the background. Also check ST22 for dumps (dynpro_send_in_background...).

Please give more infos, otherwise we can only guess...

Cheers,

Julius