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: 

Get background job detail

Former Member
0 Kudos
1,830

Hi All,

I have created a report and created a background job for this. In another program I want to check whether an active/scheduled job of the first report exist or not?

How to solve this problem??

Regards,

Jeetu

6 REPLIES 6

Former Member
0 Kudos
391

Hi ,

To run a report in a background, a job needs to be created with a step using the report name

and a variant for selection parameters. It is recommended to create a separate variant for each

scheduled job to produce results for specific dates (e.g. previous month) or organizational units (e.g.

company codes).

While defining the step, the spool parameters needs to be specified

(Step-> Print Specifications->Properties) to secure the output of the report and help authorized users

to find the spool request.

Sandeep_Kumar
Product and Topic Expert
Product and Topic Expert
0 Kudos
391

Use FM : BP_JOB_READ

Pass the job number and jobcount and it will return the status of the job.

Former Member
0 Kudos
391

Hi,

Use the Function module

BP_FIND_JOBS_WITH_PROGRAM

Check the output table

JOBLIST (Structure TBTCJOB)

It will have all the job details

Just pass the program name

Regards

Edited by: Rajvansh Ravi on Dec 9, 2008 7:11 AM

Former Member
0 Kudos
391

TBTCO----Job Status Overview Table.

Former Member
0 Kudos
391

Hi,

Would SM37 help you!!!

Regards,

BabuSrinath

Former Member
0 Kudos
391

try using BP_JOB_SELECT to get job id and then BP_JOB_SELECT to get the status