How To Fix MC126 - Job repetition period only allowed with background processing


SAP Error Message - Details

  • Message type: E = Error

  • Message class: MC - Aggregate: views, matchcodes, lock objects

  • Message number: 126

  • Message text: Job repetition period only allowed with background processing

  • Show details Hide details
  • What causes this issue?

    The parameter can only be specified for background processing.

    System Response

    Processing is cancelled.

    How to fix this error?

    Enter the parameter correctly.

    Error message extract from SAP system. Copyright SAP SE.


Smart SAP Assistant

  • What is the cause and solution for SAP error message MC126 - Job repetition period only allowed with background processing ?

    The SAP error message MC126, which states "Job repetition period only allowed with background processing," typically occurs when you are trying to set up a job in SAP that has a repetition period but is not configured to run in the background. This error is common in transaction codes related to job scheduling, such as SM36 (Define Background Job).

    Cause:

    The error arises because the system requires that jobs with a repetition period must be executed in the background. If you attempt to set a repetition period for a job that is intended to run in the foreground, the system will throw this error.

    Solution:

    To resolve this error, you need to ensure that the job is set up to run in the background. Here are the steps to do this:

    1. Access Transaction SM36: Go to transaction SM36 to define a background job.

    2. Job Definition:

      • Enter a job name and a job class.
      • Ensure that you select the option for "Background" processing.
    3. Job Steps:

      • Define the job steps as needed (e.g., specify the program or report to be executed).
    4. Set Repetition:

      • In the job definition screen, look for the "Start Condition" section.
      • Here, you can set the repetition period for the job. Make sure that the job is still configured to run in the background.
    5. Save the Job: After configuring the job with the necessary details, save it.

    6. Check Job Status: You can monitor the job status using transaction SM37 to ensure it is running as expected.

    Related Information:

    • Background Jobs: Background jobs in SAP are used to execute programs or reports without user interaction. They are scheduled to run at specific times or intervals.
    • Transaction Codes: Familiarize yourself with relevant transaction codes such as SM36 (Define Background Job), SM37 (Monitor Background Jobs), and SM21 (System Log) for troubleshooting.
    • Job Scheduling: Understanding how job scheduling works in SAP can help prevent similar issues in the future. Review SAP documentation on job scheduling and background processing.

    If you continue to experience issues or if the job needs to run in the foreground for specific reasons, consider revising the job requirements or consulting with your SAP Basis team for further assistance.

    • Do you have any question about this error?


      Upgrade now to chat with this error.


Instant HelpGet instant SAP help. Start your 7-day free trial now.


Related SAP Error Messages

Click the links below to see the following related messages:

Click on this link to search all SAP messages.


Rating
ERPlingo's SAP support assistant is amazing. Saves me countless hours trying to solve complex SAP issues myself. It's a real game changer!
Rate 1
Thomas Michael
SAP Consultant, Author & Speaker