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: 

Searching FM for checking whether a job is active or not

Former Member
0 Kudos

Hello,

i am searching fo a FM which tells me if a job is already scheduled or is running.

Does anybody know?

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Why don't you do a select single on the PLVAR field in table HRP1000 to check if the job is active or not ?

OTYPE = 'C'.

OBJID = job_number.

-Aman

3 REPLIES 3

Former Member
0 Kudos

Why don't you do a select single on the PLVAR field in table HRP1000 to check if the job is active or not ?

OTYPE = 'C'.

OBJID = job_number.

-Aman

0 Kudos

Sorry.. i misread your question.. i thought of JOB in HR.

Check this FM for BASIS JOBS.


BP_IS_JOB_ACTIVE_IN_WP
BP_JOB_CHECKSTATE
BP_JOB_CHECKSTATE_SM37B
BP_JOB_STATUS_GET
BP_JOB_READ

To explore more FMs look at FG BTCH

Aman

Former Member
0 Kudos

>

> Hello,

>

> i am searching fo a FM which tells me if a job is already scheduled or is running.

>

> Does anybody know?

Check if these FMs can help you

BP_JOB_READ

SDC_JOBINFO_SDC

Also check these db tables

TBTCO

TBTCP