cancel
Showing results for 
Search instead for 
Did you mean: 

How to customize E-Mail Alerts to show the failed Step/Job names in SAP CPS?

Former Member
0 Kudos

Hi Expert,

I am using Advanced E-Mail Customization using Job Definition to send out Email alerts from CPS and it's  a copy of Definition System_Mail_Send  created as Job Type Mail.

I am receiving E-Mail Alerts with attachments but how do I get a Job Chain/Step Names in the E-Mail Body ?

The Scenario is, Job Chain (JC1) has two steps. Step 1 has 2 jobs (Job 1 & Job 2) and Step 2 has Job 3 to send email alert.

The Parameter ${jobname}:{jobid} is returning the name of Job 3 (The Job which triggered the notification) but we want to see the name of either Job 1 or Job 2 or Step 1 names.

If it's possible to define using parameters, please let me know the Constraint Data filed value.

Any help would be highly appreciated.

Thanks,

Shiva

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Can someone help me with this? kind of urgent!!!!

Thanks,

Shiva

gmblom
Active Contributor
0 Kudos

Hello,

You can indeed do custom parameters here, but fetching arbitrary step names is not so straightforward, I would suggest a training on that topic.

Regards Gerben

Former Member
0 Kudos

Hi,

Check the below links if they can be useful to you.

http://scn.sap.com/thread/3673186

http://scn.sap.com/thread/3481903

http://scn.sap.com/thread/3554697

Thanks,

Chandu