cancel
Showing results for 
Search instead for 
Did you mean: 

How to set a job ran after another job finished?

Former Member
0 Kudos

Dear Experts,

Our requirement is to have 2 JOBs defined in SAP:

JobA and JobB

The requirement is JobA will firstly ran and finished everyday.

Then JobB will start to run upon JobA finished everyday also.

-


Then what i did is set 2 jobs, and set JobB ran after with JobA. I set JobA's name in 'After Job' for JobB.

Right now, the issue is:

JobB will run after JobA, but only could run one day..

The next day after JobA finished, JobB will not run...

Please kindly help what issue here??

Thank you very much.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

You can set Job B to run daily with start cond after job A.

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi,

For JOB B, as you said make use of AFTER JOB tab and mention the JOB A name in it. Also do not set any values for JOB B under DATE/TIME tab. if this values are mentioned this will have prominence.

For JOB A, make it as peroidic by activating the Check box Periodic Job under DATE/TIME tab and also mention the start date in it.

This should rectify your problem

former_member648947
Active Participant
0 Kudos

Dear Hoo,

It is possible to follow one job after another.

For this set up please go to transaction "SM36"

fill your details and then press "Start condition" a new screen opens where you can see several tabs,

and there is one tab with "After Job" , please enter the name of Job e.g jobA.

here you can set all the conditions to start a new job.

I hope this solves your problem.

Regards,

Paresh

Former Member
0 Kudos

And i set Period values as 'Daily', is this correct??

Former Member
0 Kudos

Hoo laa,

Tell me whether JOBa & BJOB are kind of Operations or Products.

Regards

Sathya

Former Member
0 Kudos

Hi Sathya,

It is kinds of operations.

SM37/SM62...T-code in SAP.

Thanks.