cancel
Showing results for 
Search instead for 
Did you mean: 

How to get background job status

Former Member
0 Kudos
3,383

Hi,

Is there any FM avavilable to get status of background scheduled job. (i.e Active, released, finished etc)/...

Thnaks

Rays

Accepted Solutions (0)

Answers (7)

Answers (7)

Former Member
0 Kudos

Hi,

Try with the FM BP_JOB_STATUS_GET by giving job name.

Thanks,

KER

Former Member
0 Kudos

Hi Rays,

you could also do that very easily with the new Job Scheduling capabilities of SAP NetWeaver. You can find more information about this on SAP Service Marketplace under the quick-link job-scheduling.

Kind regards,

Edwin Esser

jayanthi_jayaraman
Active Contributor
0 Kudos

Hi,

Check the FM STATUS_OF_BACKGROUNDTASK.

KIndly reward points by clikcing the star on the left of reply,if it helps.

Former Member
0 Kudos

Hi,

Table TBTCO(field-status) gives the status of the job i.e whether scheduled,released,active,finished,ready or terminated job.

Thnx .

Leeza.

Former Member
0 Kudos

hi,

see this fm it asks job name and username

CATT_BACKGROUND_JOB_FINISHED

this is the table which maintains Job Status Overview Table:TBTCO

regards,

manohar

Former Member
0 Kudos

You may try this BP_JOBLIST_STATUS_GET

Former Member
0 Kudos

Hi,

U can go and check the same in <b>SM35</b>.

Also see this FM <b>BP_JOB_SELECT</b>

Refer this weblog

/people/claudio.ciardelli2/blog/2005/09/01/launching-an-apd-analysis-process-from-an-abap-program

Also see this

Transactions used for Background JOBS:

SM36 - Define Background Jobs

SM37 - Background Jobs Overview

How to define Periodic Jobs

1.Execute transaction SM36

2.Define Job name, Job class, Target server

3.Click on 'START CONDITION' button

4.Click on 'Date/Time' button

5.Enter Scheduled start DATE & TIME. Check mark 'Periodic Job' field. Click on 'Period values' button and select 'Hourly' or 'Dialy' or 'Weekly' or 'Monthly' or Other period and SAVE. Go back to main screen.

6.Click on 'STEPS' button and enter Program name and Variant under box 'ABAP Program'. Click on 'Print Specification' button and enter Printer name under 'Output device' and SAVE

7.Click on SAVE button until you get message on bottom of the screen that describes 'Job XYZ saved with status: Scheduled'.

8.Click on 'Job overview' button or execute SM37 transaction.

9.Select the appropriate 'Job name', 'User name', 'Job Status' & Schedule date under 'Job start condition' and click on 'Execute' button or press F8.

10.You will now see all your scheduled JOBS.

Reward points and close the thread if ur problem got solved.

Message was edited by: Judith Jessie Selvi