Application Development 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: 

Periodic jobs using ABAP program

0 Kudos

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

raymond_giuseppi
Active Contributor

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

5 REPLIES 5

Former Member
0 Kudos
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

0 Kudos

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.

Former Member
0 Kudos

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.

raymond_giuseppi
Active Contributor

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

0 Kudos

JOB_CLOSE did the trick. thanks for your time.