Application Development and Automation 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: 
Read only

Background Job Step

Former Member
0 Likes
802

Hi,

I have 3 steps in my job. I want to check the status of each job step and if that job step fails , send email to certain people.

How do i go abt doing abt it??

In table TBTCP -- it gives the status of each job step as 'P' ie scheduled even for the finished ones... so i cant get correct data from TBTCP.

Is der any FM implementing the same??

Its Urgent.

Answers will be rewarded,

regards,

Rohan

Hi,

I have 3 steps in my job. I want to check the status of each job step and if that job step fails , send email to certain people.

How do i go abt doing abt it??

In table TBTCP -- it gives the status of each job step as 'P' ie scheduled even for the finished ones... so i cant get correct data from TBTCP.

Is der any FM implementing the same??

Its Urgent.

Answers will be rewarded,

regards,

Rohan

5 REPLIES 5
Read only

Former Member
0 Likes
750

Hi,

Check

BP_JOB_STATUS_GET

Reward if useful!

Read only

jayanthi_jayaraman
Active Contributor
0 Likes
750

Hi,

Did you tried using the FM BDL_READ_JOB_STATUS?

Check table TBTCO - Job Status Overview Table

Message was edited by:

Jayanthi Jayaraman

Read only

0 Likes
750

hey i dnt need the info of the whole job, rather am interested in step status..(each step status)

is der any FM for the same,givin u the status of each n every job step..

Read only

0 Likes
750

Hi,

Check table TBTCJSTEP - Background Job Step Overview

Read only

Former Member
0 Likes
750

Hi Rohan,

Instead of creating the stpes, why don't you create the Job after completing the Fisrt job and for the Third Job select after completion of the Second job, so that you will get the Status in TBTCP table from there you can write the code to send the email

Regards

Sudheer