Skip to Content

Introduction:

In Some cases background jobs in SM37 gets canceled due to lack of authorization in our User ID – Background jobs created like for Attribute/Hierarchy Change Run, Activation of a DSO request, Create Index etc. In this case the background job gets cancelled in SM37 with the error log “You do not have authorization for the BW object”. 

So in this scenario we can re-execute the failed job with the user ALEREMOTE which is a standard SAP user which is used to run background jobs.

In order to achieve this process I have documented few steps below with screen shots which are self explanatory & will provide clear understanding of the process.

Note: The process has some security concerns which I have mentioned at the end of the article.

Step by step procedure to re-execute the failed job due to lack of authorization:

This procedure will help you to resolve such kind of cases in which the jobs gets canceled due to authorization issue. Here we are taking the example of Attribute change run job.

1) For executing Attribute change run, Go to the option Apply Hierarchy/Attribute Change run in Tools & check whether we have any infoobject/hierarchy pending for change run. Here we have 0customer. Select the object & click on save button.

Untitled.jpg

2) Then execute it, a background job will get started. Monitor the job from SM37 & if the job gets cancelled due to insufficient authorization, follow the below steps.

Untitled.jpg

3) If the job gets cancelled go to the job log of the failed job it will show the message “You do not have authorization for the BW object”.

Untitled.jpg

4) Then select the cancelled job and click on copy from the menu bar.

Untitled.png

5) Then just change the last two alphabet of the job name and then click on copy.

Untitled.png

6) Now go back to the selection screen and select all scheduled jobs with your id and you will see the new job.

Untitled.png

Untitled.png

7) Now select the new job and click on change.

Untitled.png

8) Then click on step.

Untitled.png

9) You will get this screen. Select the job name and then click on change.

Untitled.png

10) Then you will get a screen where user is mentioned. Replace the user ID with “ALEREMOTE”  and then click on the save button at the bottom of the screen.

Untitled.png

11) Now in the below screen you can see the user is changed to ALEREMOTE.

Untitled.png

12) Then go back and click on start condition.

Untitled.png

13) Click on immediate and then save.

Untitled.png

14) Then save again and go back. Then refresh and you will see the new job running.

Untitled.png

Untitled.png

15) Now this new job will get finished successfully and change run will be done.

Untitled.png

Untitled4.png

Hence, we can perform change run even if we do not have the access by using User – ALEREMOTE. We can also use the same procedure for all jobs which get cancelled due to insufficient authorization.

Note: 

However from security perspective it is advisable to give the authorization to copy or change a background job to a particular set of super users or BI experts to avoid misuse of the process like only peoples of some cadre are responsible to execute this job but from this process anyone can exeute the failed job.

The process is usefull at the instant where delay is a major concern over security.

1)

To report this post you need to login first.

5 Comments

You must be Logged on to comment or reply to a post.

  1. Aparajit Banik

    Hi Phani,
    I suppose you have created the doc and shared with us.
    So why did you keep authorization for others to modify it. Take a look its showing that some one has modified it. Please maintain the authorization so that no one can edit or delete this doc.
    But Thanks for sharing!! Its a wonderful one!

    -Regards, Aparajit

    (0) 

Leave a Reply