cancel
Showing results for 
Search instead for 
Did you mean: 

ABAP Program that Triggers an event

Former Member
0 Kudos

Hi All,

I have developed an ABAP program that triggers an event and that event starts a process chain and it works fine.

Now I want to make the program run every 1 hour. How do I do this?

Thanks,

Reddy

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

parameters: waittime type i default '3600'. "interval in seconds

wait up to waittime seconds. "wait some time

Hope it helps !

Bye,

Roberto

Former Member
0 Kudos

Hi Roberto!,

Cant I do this by process chain somewhow?

Thanks,

Reddy

former_member188975
Active Contributor
0 Kudos

Hi Reddy,

You could put your ABAP program as a process in a process chain and schedule the chain to run hourly.

Hope this helps...

Former Member
0 Kudos

As in every background process, go in SM36, F5, date/hour, check 'periodic job' and specify 'hourly'...

Former Member
0 Kudos

In the SM 36 what would be my Job name ?

Is it going to be the ABAP program itself?

Or do I have to create a job based on my program?

Thanks,

Reddy

Former Member
0 Kudos

Sorry Reddy,

if you want to run hourly your process chain (with inside it your ABAP program as a specific process/step), schedule your process chain and then you can set a desired time frequency...

in SM36 you can create a new job or, otherwise, you have to create it before !

If you want to run your program every hour (in any case), you don't need the code I give you before....SE38->program->execute->background....

Former Member
0 Kudos

Roberto,

Once again you are the MAN.

Thanks,

Reddy

Answers (0)