on 02-19-2013 7:25 AM
Hello,
I want to schedule background job as follows:
- job has to be executed in every hour
- from 8.00 AM to 2.00 PM [6 times]
- this should be repeated in everyday
appreciate, if anyone can instruct me how to set up the parameters in SM36.
N.B. This should be achieved by scheduling only one job, and not by scheduling 6 jobs per hour.
regards,
Sisila.
Hello,
Instead of Job scheduling, try this option.
Define the job that needs to be executed at 8,9,,10.....14 hrs as Event driven chain.
Create a Event in SM62, say ZSTART_PC and specify this event in the PC.
Create an ABAP program to trigger the event using the FM BP_EVENT_RAISE.
Have input selection parameters as time.
create variants for the different times (4,5,,6.....19 hrs ) you want to execute the PC.
Schedule the ABAP program as an hourly job.
Yr program will run for every hour and chk if the time specified in the variant is equal to the System time.
If so, the event will be triggered using the FM.
As event is triggered, the PC also will be triggered.
And yr issue will be solved.
P.S : You may think that this is gonna take time, but this will surely solve yr problem
For details, refer to the link : http://scn.sap.com/thread/973125
Regards,
Mudasir.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Sisila,
The easilest wasy is to schedule 6 jobs each to run once daily, i.e one for 8am, then 9, then 10 , etc each with the periodic setting 'daily'.
Otherwise you could set up a factory calendar against which to run as part of the periodic values.
Regards,
Graham
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
use report BTCAUX10 to schedule such kind of a job.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
83 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.