How to Restart a Background Job Failed Due to l..

download How to Restart a Background Job Failed Due to l..

of 4

Transcript of How to Restart a Background Job Failed Due to l..

  • 8/10/2019 How to Restart a Background Job Failed Due to l..

    1/4

    10/25/2014 How to restart a background job failed due to l... | SCN

    http://scn.sap.com/docs/DOC-38926 1/4

    Getting Started Newsletters Store

    Products Services & Support About SCN Downloads

    Industries Training & Education Partnership Developer Center

    Lines of Business University Alliances Events & Webinars Innovation

    Log On Join UsHi, Guest Search the Community

    Activity Communications Actions

    Browse

    0 Tweet 0

    created by Sourabh Vyason Mar 12, 2013 12:01 PM, last modified by Sourabh Vyason Mar 12, 2013 12:58 PM

    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:Thisprocedure willhelp 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.

    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.

    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.

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

    How to restart a background job failed dueto lack of authorization.

    Share 3Like

    Version 1

    https://twitter.com/intent/tweet?hashtags=scn&original_referer=http%3A%2F%2Fscn.sap.com%2Fdocs%2FDOC-38926&text=How%20to%20restart%20a%20background%20job%20failed%20due%20to%20lack%20of%20authorization.&tw_p=tweetbutton&url=http%3A%2F%2Fscn.sap.com%2Fdocs%2FDOC-38926&via=SAPCommNethttp://twitter.com/search?q=http%3A%2F%2Fscn.sap.com%2Fdocs%2FDOC-38926http://twitter.com/search?q=http%3A%2F%2Fscn.sap.com%2Fdocs%2FDOC-38926https://twitter.com/intent/tweet?hashtags=scn&original_referer=http%3A%2F%2Fscn.sap.com%2Fdocs%2FDOC-38926&text=How%20to%20restart%20a%20background%20job%20failed%20due%20to%20lack%20of%20authorization.&tw_p=tweetbutton&url=http%3A%2F%2Fscn.sap.com%2Fdocs%2FDOC-38926&via=SAPCommNethttp://scn.sap.com/contenthttp://scn.sap.com/actionshttp://scn.sap.com/communicationshttp://scn.sap.com/activityhttp://scn.sap.com/login.jspahttp://scn.sap.com/docs/login.jspahttp://scn.sap.com/community/uachttp://scn.sap.com/community/developer-centerhttp://scn.sap.com/community/downloadshttp://scn.sap.com/welcomehttp://www.sapstore.com/http://scn.sap.com/community/newslettershttp://scn.sap.com/community/getting-started
  • 8/10/2019 How to Restart a Background Job Failed Due to l..

    2/4

    10/25/2014 How to restart a background job failed due to l... | SCN

    http://scn.sap.com/docs/DOC-38926 2/4

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

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

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

    8) Then click on step.

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

    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.

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

  • 8/10/2019 How to Restart a Background Job Failed Due to l..

    3/4

    10/25/2014 How to restart a background job failed due to l... | SCN

    http://scn.sap.com/docs/DOC-38926 3/4

    Average User Rating

    (3 ratings)

    12) Then go back and click on start condition.

    13) Click on immediate and then save.

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

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

    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.

    928 Views Topics: enterprise_data_warehousing/business_warehouse, business_intelligence

  • 8/10/2019 How to Restart a Background Job Failed Due to l..

    4/4

    10/25/2014 How to restart a background job failed due to l... | SCN

    http://scn.sap.com/docs/DOC-38926 4/4

    Follow SCNSite Index Contact Us SAP Help Portal

    Privacy Terms of Use Legal Disclosure Copyright

    0 Tweet 0Share 3Like

    5Comments

    Like (0)

    Vijeta SamalaJan 10, 2014 12:26 PM

    Thanks for sharing the document, this is helpful

    Like (0)

    kodanda pani KVJan 10, 2014 12:31 PM

    Hi Vijetha,

    Thanks for sharing.

    Like (0)

    venu gopalJul 29, 2014 5:00 AM (in response to kodanda pani KV)

    Hi ,, Thanks a lot For sharing

    Like (0)

    SAP BIJul 29, 2014 9:28 AM

    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

    Like (1)

    Sourabh VyasJul 29, 2014 9:27 AM

    Thanks Aparajit,

    I have Managed the authorization in correct way now.

    Rgds

    Sourabh

    http://twitter.com/search?q=http%3A%2F%2Fscn.sap.com%2Fdocs%2FDOC-38926https://twitter.com/intent/tweet?hashtags=scn&original_referer=http%3A%2F%2Fscn.sap.com%2Fdocs%2FDOC-38926&text=How%20to%20restart%20a%20background%20job%20failed%20due%20to%20lack%20of%20authorization.&tw_p=tweetbutton&url=http%3A%2F%2Fscn.sap.com%2Fdocs%2FDOC-38926&via=SAPCommNethttp://www.sap.com/corporate-en/our-company/legal/copyright/index.epxhttp://www.sap.com/corporate-en/our-company/legal/impressum.epxhttp://www.sdn.sap.com/irj/scn/policyhttp://www.sdn.sap.com/irj/scn/policy?view=PPhttp://help.sap.com/http://scn.sap.com/docs/DOC-18476http://scn.sap.com/docs/DOC-19361http://spr.ly/SCNgoogleplushttp://bit.ly/SCNLnIhttp://bit.ly/SCNyouThttp://bit.ly/SCNFBhttp://bit.ly/SCNTwR