Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Periodic jobs using ABAP program

0 Likes
2,221

Hell Developers,

I have a master job which has around 10 steps. And i would like to schedule this job periodically. Lets say run once for every 45 mins.

I know i can achieve this using SM36, but i would like to do it using the ABAP program.

I am using FM JOB_OPEN for job creation and JOB_SUBMIT to create 10 steps. But not sure how to run this master job periodically (for every 45) through the program.

Since i cannot transport a job to the other systems, i wanted to schedule this using an ABAP program.

I would appreciate any help here.

1 ACCEPTED SOLUTION
Read only

RaymondGiuseppi
Active Contributor
1,833

Did you (search and) read online help in Background Processing like Programming with the Background Processing System (BC-CCM-BTC), Scheduling a Job: Full-Control Method, Look at the samples for JOB_CLOSE schedule options.

Regards,
Raymond

Hell Developers,

I have a master job which has around 10 steps. And i would like to schedule this job periodically. Lets say run once for every 45 mins.

I know i can achieve this using SM36, but i would like to do it using the ABAP program.

I am using FM JOB_OPEN for job creation and JOB_SUBMIT to create 10 steps. But not sure how to run this master job periodically (for every 45) through the program.

Since i cannot transport a job to the other systems, i wanted to schedule this using an ABAP program.

I would appreciate any help here.

5 REPLIES 5
Read only

Former Member
0 Likes
1,833
Since i cannot transport a job to the other systems, i wanted to schedule this using an ABAP program.

Ram - Why can't you just create it in target system using SM36/other job scheduling tool if you have one ?

Regards,

Harish Karra

Read only

0 Likes
1,833

We will be distributing this program to our customers to install. Customers wanted an automated process that would trigger the job and process those 10 steps.

Read only

Former Member
0 Likes
1,833

Hi,

Maintain job name

give class: priority(A,BC)

Maintain Target system: job execute system

then STEP tab : maintain ABAP program and save

then START CONDITION choose your priority.

check and save.

thanks.

Read only

RaymondGiuseppi
Active Contributor
1,834

Did you (search and) read online help in Background Processing like Programming with the Background Processing System (BC-CCM-BTC), Scheduling a Job: Full-Control Method, Look at the samples for JOB_CLOSE schedule options.

Regards,
Raymond

Read only

0 Likes
1,833

JOB_CLOSE did the trick. thanks for your time.