Question:
Dear,
We would to allow specific background only between 6-9 AM or PM . Is there any way to restrict it ?
Regards,
Farman Raza
Answer:
You can only control batch processing on submitted jobs. Make sure the user does not have S_BATCH_ADM and only S_BATCH_JOB and S_PROGRAM with BTCSUBMIT and SUBMIT. Then have basis set the patch processors to not allow 'C' class jobs during this time periods you do not want to have them run. Without S_BTCH_ADM the user cannot set the class of the batch job and it defaults to 'C'. Basis then has the option to control when the diffetrent job classes can run.
Other option is to have basis set the processing cycles to convert Batch proccesses to Dialog so there are no Batch proccess availabe to run jobs, downside is some workflow and/or production jobs may be scheduled to run during this time...
If by the title you wanted to stop a transaction code from executing you will have to use SM01 to lock the tcode when it is not to be used. It cannot be scheduled unless you record it and schedule a batch job to execute the BDC.
_________________
John A. Jarboe