Stop googling SAP errors. Use our Free Essentials plan instead - no credit card needed. Start Now

Close

How To Fix WZ066 - You do not have authorization to delete job &1 &2


SAP Error Message - Details

  • Message type: E = Error

  • Message class: WZ - Workflow: Model objects

  • Message number: 066

  • Message text: You do not have authorization to delete job &1 &2

  • Show details Hide details


  • Self-Explanatory Message

    Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of messages in the SAP system have a message text, however this is frequently insufficient to comprehend or resolve the problem.

    To make things easier, more detailed information is frequently added to describe the issue, how to fix it, and the necessary steps or configuration modifications.

    Unfortunately, there isn't any extra information in this error notice.



    What else can you do?

    First, use our AnswerBot below to get a possible cause and solution (requires a premium subscription).

    Also, review the in-depth Common Questions & Answers listed below; you could discover a solution there or be able to connect with others who have faced similar challenges.

    You can also try searching the SAP support portal (support.sap.com) but you need a special user ID to access it. It is possible that an SAP support note exists that provides additional details about the mistake or even steps for fixing it.


Smart SAP Assistant

  • What is the cause and solution for SAP error message WZ066 - You do not have authorization to delete job &1 &2 ?

    Certainly! Here's detailed information about the SAP error message WZ066:


    SAP Error Message: WZ066

    Message Text:
    You do not have authorization to delete job &1 &2


    Cause

    This error occurs when a user attempts to delete a background job in SAP but lacks the necessary authorization to perform this action. Specifically, the user does not have the required authorization object or the correct values within that object to delete the specified job.


    Explanation

    • Background jobs in SAP are managed via transaction codes like SM37 (Job Monitoring).
    • Deleting a job requires specific authorizations.
    • The authorization object typically involved is S_BTCH_JOB.
    • The user must have the Delete activity (activity 02) for the job name or job class they are trying to delete.
    • If the user tries to delete a job without this authorization, SAP throws the WZ066 error.

    Solution

    1. Check User Authorizations:

      • Verify the user's roles and authorizations.
      • Use transaction SU53 immediately after the error occurs to see which authorization check failed.
      • Look for missing authorizations related to S_BTCH_JOB.
    2. Grant Required Authorization:

      • The user needs authorization for the object S_BTCH_JOB with:
        • Activity = 02 (Delete)
        • Job Name or Job Class matching the job(s) they want to delete.
      • This is usually done by the SAP Security team or Basis administrator.
    3. Adjust Roles:

      • Add or adjust the role(s) assigned to the user to include the necessary authorization.
      • Transport the updated role to the relevant system.
    4. Verify and Test:

      • After authorization changes, have the user try deleting the job again.
      • Confirm that the error no longer appears.

    Related Information

    • Authorization Object: S_BTCH_JOB

      • Fields: JOBNAME, JOBCLASS, ACTVT (Activity)
      • Activity 02 = Delete job
    • Transaction Codes:

      • SM37 - Job Monitoring (view, delete jobs)
      • SU53 - Display authorization check (to diagnose missing authorizations)
      • PFCG - Role maintenance (to assign authorizations)
    • SAP Notes:

      • Check SAP Notes related to job authorizations if the problem persists.
      • Sometimes, custom authorization checks or enhancements might affect job deletion.

    Summary

    Aspect Details
    Error WZ066 - No authorization to delete job
    Cause Missing authorization for deleting jobs
    Authorization Object S_BTCH_JOB (Activity 02)
    Solution Grant delete authorization for job(s)
    Tools SU53, SM37, PFCG

    If you need help with the exact authorization values or role adjustments, please provide the job name and user details, and I can assist further.

    • Do you have any question about this error?


      Upgrade now to chat with this error.


Instant HelpGet instant SAP help. Sign up for our Free Essentials Plan.


Related SAP Error Messages

Click the links below to see the following related messages:
  • WZ065 Job &1 &2 already running
    Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...

  • WZ064 Specify the job number
    Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...

  • WZ067 Job &1 &2 cannot be deleted
    Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...

  • WZ068 The steps of job &1 &2 cannot be deleted
    Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...

Click on this link to search all SAP messages.


Rating
The AI Support Assistant is great. It provides comprehensive assistance even on the most difficult issues. I highly recommend this service.
Rate 1
John Jordan
SAP Consultant & Author