2017 Jan 31 8:38 PM
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.
2017 Feb 01 7:03 AM
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
2017 Jan 31 9:33 PM
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
2017 Feb 01 11:43 AM
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.
2017 Feb 01 6:59 AM
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.
2017 Feb 01 7:03 AM
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
2017 Feb 01 1:49 PM