on 06-12-2015 7:05 AM
we want to suspend all BCH-Jobs for a specific period (some hours during backup),
then (after a while) release all BCH-Jobs again.
i already know, for this option, there are 2 abap-reports BTCTRNS1 + BTCTRNS2.
but is it possible to submit both reports for repeat execution (periodic execution daily),
e.g.
Z_BCH_SUSPEND => BTCTRNS1
Z_BCH_RELEASE => BTCTRNS2
but running report BTCTRNS1 suspend all other BCH except the BTCTRNS2-job (Z_BCH_RELEASE)?
any idea?
Christoph
Hello Christoph,
maybe a alternate idea would be, to organize your job management via Redwood or the free of charge version of SAP => Central Process Scheduler (CPS).
You are able to define queues and assign the job to these queues.
Via process chains you can stop queue and release them after your backup programm is finished.
It might also work with CPS/Redwood to run BTCTRNS1/2 as CPS/Redwood connects over RFC/API.
Best regards
Carlos Behlau
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi, Carlos,
thanks for your answer:
In this case it is the SAP-SolutionManager system itself with enabled E2E-Monitoring who is executing several BCH-Jobs during backup-time.
yes, we have that "free of charge version of SAP" => Central Process Scheduler (CPS) running,
but not yet for all Batchjobs in all SAP-systems,
and the issue is, that in SAP-Systems there are a lot of situations and a lot of posibilities where BCH-Jobs are initiated, e.g. several BCH-Jobs were evoked via installation-assistent-jobs or by pressing some buttons or via TCOLL table or evoked by events.
So it is very hard to controll all BCH-Jobs via CPS.
but, of course, we could submit these 2 mentioned reports via CPS at the desired time,
that is right.
Z_BCH_SUSPEND => BTCTRNS1
Z_BCH_RELEASE => BTCTRNS2
Thanks,
Christoph
Christoph,
I got an idea.
1. Create your custom suspend and release jobs in SM37 as "event trigger" based.
2. Create two EVENT in SAP, one for suspend, the other for release.
3. Write shell scripts or batches (depends on your platform) to use sapevt program to send event out.
You might need two scripts
4. Use cron or Windows task manager to schedule the scripts/batches.
I haven't done this before but it should work in theory. Hope you can make it true and share to us.
Check the usage of sapevt.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Christoph
For this you have to create the Z program from BRCTRNS1 with variables selection. in our production environment we are suspending the all the BG jobs (except release jobs) during the peak times. after that its will release with help of BTCTRNS2
BR
SS
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
91 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.