Do you have any question about this error?
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
The parameter can only be specified for background processing.
Processing is cancelled.
Enter the parameter correctly.
Error message extract from SAP system. Copyright SAP SE.
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:
Access Transaction SM36: Go to transaction SM36 to define a background job.
Job Definition:
- Enter a job name and a job class.
- Ensure that you select the option for "Background" processing.
Job Steps:
- Define the job steps as needed (e.g., specify the program or report to be executed).
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.
Save the Job: After configuring the job with the necessary details, save it.
Check Job Status: You can monitor the job status using transaction SM37 to ensure it is running as expected.
Related Information:
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.
Get instant SAP help. Start your 7-day free trial now.
MC125
Database view & not maintained for matchcode ID &-&
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
MC124
Start of background job is in the past
What causes this issue? The start date you specified for a background job is in the past. Remember that the computer clocks might not be synchronized...
MC127
Matchcode ID &-& recreated with & records
What causes this issue? The specified number of matchcode records was generated for the defined matchcode ID.System Response The system expects the ...
MC128
Background jobs were scheduled for the MC object request
What causes this issue? You entered a search pattern for the matchcode object and requested background processing. Background jobs which carry out th...
Click on this link to search all SAP messages.