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: 

Background Job scheduling

former_member382811
Participant
0 Kudos

Hi Experts,

My requirement is i have two reports these two reports to be scheduled in background.But here after completion first job the second job going to be run in background.one more in sm36 spool list reciipient button is there what is use of that button.

Regards

kumar

10 REPLIES 10

Former Member
0 Kudos

hi

it generates a number for one spool request whether it has triggred or not to check this one request will be generated.

thanks

chaitanya

Former Member
0 Kudos

Hi,

SM37 will display the job. Select the 'Display' button and then the "Spool list recipient" button. This will show you who recieved the output of an already executed job. Also, You can create a Recipient List using the SO15 t-code.

Regards

kk

mithun_shetty4
Contributor
0 Kudos

You can use steps when creating a background job

when u assign the PROGRAM in sm36.u get a step list overview where another program can be added.

Spool list recipient is useful for sending notifications to the users(mails etc) if any spool is created.

u can specify email id;s in recipient fields

0 Kudos

Hi Mithun,

ya sm36 in step we assign more than one report ok. i want to one completion second job run.let me know in sm37 job start condition is there in that "or after event" what is that event and when it usefull tell me.

Regards

V.Venu

0 Kudos

In this case u dont have to use event ! creating 2 steps one ofter the other will solve your problem .events are used for different purpose.

Former Member
0 Kudos

Easy...

You can schedule one JOB with two steps to run, each step executing one of those programms that you need to run.

After that, schedule another JOB to runs the second programm, using the option that allows you run this task AFTER the first one...

Any doubts about the process, please take a look at the link below:

http://help.sap.com/saphelp_nw04/helpdata/en/c4/3a7f05505211d189550000e829fbbd/frameset.htm

Hope to be usefull...

Regards,

Alysson Dias

0 Kudos

Hi,

so shall i create two jobs?

mean 1 job-> one report

2 job->second report

But i want to run one after another.if first job execute succesfully i want to run second job.Give me Brief

Regards

V.Venu

0 Kudos

Hi,

A standard report is proposed in the standard SAP R/3 System.

o Date

You can specify a date and a time at which you would like the job to be executed. If desired, you can also initiate an automatic repetition of the background job.

o After job

You can specify the name of the job whose processing is to precede your job. You can also specify whether this "appendage" is to be status-dependent.

The indicator status-dependent means that the second job is executed only if the first one was completed successfully. This is useful if the second job depends on the first one.

Regards

kk

0 Kudos

Dear Venu,

Create only one JOB using SM36.

Then add the 2 Programs under STEP.

Program in STEP 1 (no.1) will run first and then the second program will run . u can specify many programs in STEP.

the Sequence will be based on Sl Number in STEP list overview

0 Kudos

Thnaks Mithun..