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

Close

How To Fix WZ072 - Preceding or following job cannot be updated


SAP Error Message - Details

  • Message type: E = Error

  • Message class: WZ - Workflow: Model objects

  • Message number: 072

  • Message text: Preceding or following job cannot be updated

  • 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 WZ072 - Preceding or following job cannot be updated ?

    SAP Error Message:
    WZ072 - Preceding or following job cannot be updated


    Cause:

    This error occurs when you try to change or update a job in the SAP background job scheduling system (transaction SM36 or SM37), but the system detects that the job is linked to other jobs in a chain (preceding or following jobs) and these linked jobs cannot be updated. This usually happens because:

    • The job is part of a job chain where jobs are scheduled to run sequentially.
    • The preceding or following job is in a status that does not allow changes (e.g., active, released, or already running).
    • The job dependencies or job chain links are inconsistent or locked.
    • The job is currently being processed or locked by another user or process.

    Explanation:

    In SAP, jobs can be linked so that one job starts only after the preceding job finishes successfully. When you try to update a job that is part of such a chain, SAP checks the status of the linked jobs. If the linked jobs cannot be updated (due to their status or locks), SAP throws the WZ072 error to prevent inconsistent job scheduling.


    Solution:

    To resolve the WZ072 error, you can try the following steps:

    1. Check Job Status:

      • Use transaction SM37 to check the status of the preceding and following jobs.
      • Ensure that these jobs are not currently running or active.
      • If they are running, wait until they finish.
    2. Release or Delete Jobs:

      • If the preceding or following jobs are in a released or scheduled state but need to be changed, consider deleting or releasing them first.
      • You may need to delete the entire job chain and recreate it if the dependencies are broken.
    3. Remove Job Dependencies:

      • If you want to update a job independently, remove the job chain dependencies.
      • In transaction SM36, when scheduling the job, check the "Job chain" or "After job" settings and remove or adjust them.
    4. Check for Locks:

      • Use transaction SM12 to check for any locks on the job entries.
      • If locks exist and are stale, you may need to delete them (with caution and proper authorization).
    5. Use SAP Notes:

      • Check SAP Support Portal for any relevant SAP Notes related to WZ072.
      • Sometimes, specific patches or corrections are available for job scheduling issues.
    6. System Restart (if applicable):

      • In rare cases, if jobs are stuck due to system issues, a system restart or background job server restart might be necessary.

    Related Information:

    • Transaction Codes:

      • SM36 - Define background jobs
      • SM37 - Monitor background jobs
      • SM12 - Display and delete locks
    • Job Chains:

      • Jobs can be linked so that one job starts after another finishes.
      • Changing jobs in a chain requires careful handling of dependencies.
    • SAP Notes:

      • Search for SAP Notes with keywords like "WZ072", "job chain update error", or "background job update error".
    • SAP Documentation:

      • Background job scheduling and management in SAP Basis guides.
      • SAP Help Portal sections on job scheduling.

    Summary:

    The WZ072 error indicates that a job linked in a chain cannot be updated because its preceding or following job is in a state that prevents changes. To fix it, check the status of linked jobs, remove or adjust dependencies, clear locks, and ensure no jobs are running or locked before updating.


    If you need further assistance, please provide details about the job chain setup, job statuses, and the exact operation you are trying to perform.

    • 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:

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