Message type: E = Error
Message class:  MI_BADI - Messages for the IMG (BADI) 
Message number: 018
Message text: Job cannot be scheduled; batch-user not allowed
The flag for using the handler in background has not been set.
The system cannot create the background job.
Call transaction "<LB>MEREP_PD</>" and set <LS>Batch-User May Differ
from Sync User</> on the <LS>Runtime Component</> tab page.
The system issues an error message and will not allow you to continue with this transaction until the error is resolved.
Error message extract from SAP system. Copyright SAP SE.
The SAP error message MI_BADI018 indicates that a job cannot be scheduled because the batch user does not have the necessary authorizations. This typically occurs in the context of background processing in SAP, where certain jobs are scheduled to run without user interaction.
Cause: The error is primarily caused by one of the following reasons: Authorization Issues: The batch user (the user under which the job is scheduled) does not have the required authorizations to execute the job or access the necessary resources. User Profile Restrictions: The user profile assigned to the batch user may have restrictions that prevent job scheduling. Job Configuration: The job may be configured incorrectly, or the parameters set for the job may not be valid for the batch user.
Solution: To resolve the MI_BADI018 error, you can take the following steps: Check User Authorizations: Go to transaction code SU01 and enter the batch user ID. Check the authorizations assigned to the user. Ensure that the
 Get instant SAP help. Sign up for our Free Essentials Plan.
Get instant SAP help. Sign up for our Free Essentials Plan. 
MI_BADI017 Periodical value for job is missing
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
MI_BADI016 Error occurred when closing the job; error code = &1
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
MI_BADI019 Start date not defined
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
MI_BADI020 Start time not defined
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.