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: 

Background Job Step

Former Member
0 Kudos

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

Former Member
0 Kudos

Hi,

Check

BP_JOB_STATUS_GET

Reward if useful!

jayanthi_jayaraman
Active Contributor
0 Kudos

Hi,

Did you tried using the FM BDL_READ_JOB_STATUS?

Check table TBTCO - Job Status Overview Table

Message was edited by:

Jayanthi Jayaraman

0 Kudos

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..

0 Kudos

Hi,

Check table TBTCJSTEP - Background Job Step Overview

Former Member
0 Kudos

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