on 2005 Nov 15 5:57 AM
Hi,
Is there any FM avavilable to get status of background scheduled job. (i.e Active, released, finished etc)/...
Thnaks
Rays
Request clarification before answering.
Hi,
Try with the FM BP_JOB_STATUS_GET by giving job name.
Thanks,
KER
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Check the FM STATUS_OF_BACKGROUNDTASK.
KIndly reward points by clikcing the star on the left of reply,if it helps.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Table TBTCO(field-status) gives the status of the job i.e whether scheduled,released,active,finished,ready or terminated job.
Thnx .
Leeza.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You may try this BP_JOBLIST_STATUS_GET
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.