cancel
Showing results for 
Search instead for 
Did you mean: 

Back ground job schedule in period time in daily

0 Kudos

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.

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

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.

Former Member
0 Kudos

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

thiru_siva
Explorer
0 Kudos