Getting job name to notification e-mail when monitoring runtime limits
Hello,
In CPS version M33.49-55614 the requirement is to notify users via e-mail when a certain job exceedes the defined maximum runtime limit.
We have defined the limit in "Runtime Limits" tab of Job definition and have defined an event to be raised in the same tab.
The event is used as an Wait event for a Job chain consisting of 1 step only with System_Mail_Send. The mail Subject text is using an expression '=waitEvents.<event_name>.raiserComment'.
After this we are receiving notification e-mails with Subject: Maximum Runtime Limit breached. Raising an event for job 1460806.
But the Job name is not passed through the '=waitEvents.<event_name>.raiserComment' expression.
We use the same scenario for notification e-mails for Error or Killed jobs, and in these cases the same expression '=waitEvents.<event_name>.raiserComment' results to notification e-mail subject: Event raised by Job:1460826 (JOBNAME) going to status Killed.
The question is how to get the JOBNAME also to e-mail notification for exceeded maximum runtime?
2 attempts did not help:
- Add the $ substitution variable to Event Raise comment
- use =waitEvents.<event_name>.raiserJobName in notification mail Subject
Thanks and Regards,
Ernest Liczki
Hi Biswarup,
From the official documentation http://help.sap.com/saphelp_nw04s/helpdata/en/e8/a9a76828b8dc469969ff450ec81ced/content.htm this definitely should work out of the box.
Anyhow, what kind of subscription do you have chosen, immediate subscription or regular (daily, weekly, ...)?! If you are talking about an immediate subscription, try to alter this to a regular subscription. <i>Maybe</i> the change event which triggeres immediate subscriptions isn't thrown correctly by the TBP.
But even in this case, please open an OSS message, as this should be considered as a bug (or at least as a lack of documentation on help.sap.com).
Hope it helps
Detlev
Similar Messages
-
When I try using FaceTime it doesn't seem to work. When someone face times me all I get is a missed notification. An when I try to FaceTime someone it tells me to connect to wifi please help.
Alright, when you are attempting to FaceTime someone, are you connected to WiFi? With the iPhone 4, it does not support using FaceTime over the cellular network, you will need to be connected to Wi-fi.
-
Why do i get a copy of an e-mail when i reply to all using the iPhone?
why do i get a copy of an e-mail when i reply to all using the iPhone? I don't want to be included on the e-mail that I am sending out.
iOS: Unable to send or receive email
http://support.apple.com/kb/TS3899
Can’t Send Emails on iPad – Troubleshooting Steps
http://ipadhelp.com/ipad-help/ipad-cant-send-emails-troubleshooting-steps/
iPad Mail
http://www.apple.com/support/ipad/mail/
Cheers, Tom -
Get job name within submitted report
Hi,
in my report ZREPORT_1 i do:
SUBMIT ZREPORT_2
WITH SELECTION-TABLE rspar_tab
VIA JOB name NUMBER number
AND RETURN.
within submitted program ZREPORT_2,
¿is it possible to get the job name/number?, if so ¿How?
Best regards.Hi,
you can get it.
SUBMIT ZREPORT_2
WITH SELECTION-TABLE rspar_tab
with p_name eq gv_jobnam
with p_number eq gv_jobnumber
VIA JOB name NUMBER number
AND RETURN.
Pass P_name and P_number in your submit program as paramteres and NO-display.
Edited by: AD on May 6, 2009 8:46 AM -
CDDB in itunes is not bringing up the name of songs on CDs when importing into itunes. This has been going on for a couple of weeks. Any help?
I have, a couple different pairs, unfortunately, and still no change. TBH, the headphones don't bug me nearly as bad as the fact that I can't plug my iPod into a radio or speaker with an audio cable and hear my latest purchases. Drives me crazy that I can't listen to my tunes!
-
How to get Resource Name in the Repository Service when Publish evt trigger
Hi ,
I have created a repository service in which I have registered the
StatemanagementEvent.PUBLISH
My requirement is I need to know which resource rather resource name triggered this event.
This is the code which
public class ApprovProcs extends AbstractRepositoryService implements IReconfigurable, IResourceEventReceiver
private static final String TYPE = "ApprovProcs";
private Collection repositoryManagers;
public ApprovProcs()
super();
// Do not add code here. Add it to startUpImpl() instead
public String getServiceType()
return ApprovProcs.TYPE;
protected void startUpImpl(Collection repositoryManagers) throws ConfigurationException, StartupException
// implement this method as follows:
// - Verify configuration data
// - Get references to other needed (global) services
// - Check whether other repository services (this service depends on) are also assigned to the repository managers
// - Usually the service registers itself for certain events at all repository managers
this.repositoryManagers = repositoryManagers;
Iterator it = repositoryManagers.iterator();
while (it.hasNext())
try
addRepositoryAssignment( (IRepositoryManager) it.next());
catch (ServiceNotAvailableException e)
e.printStackTrace();
protected void shutDownImpl()
Iterator it = repositoryManagers.iterator();
while (it.hasNext())
try
removeRepositoryAssignment( (IRepositoryManager) it.next());
catch (WcmException e)
e.printStackTrace();
protected void addRepositoryAssignment(IRepositoryManager mgr) throws ServiceNotAvailableException
// Implement this method: Usually the service registers itself for certain events at the repository manager.
try
// capture all the respurce which are published
mgr.getEventBroker().register( this, new StatemanagementEvent( StatemanagementEvent.PUBLISH, null ));
catch(WcmException e)
protected void removeRepositoryAssignment(IRepositoryManager mgr) throws WcmException
// Implement this method: Usually the service must unregister itself as an event handler.
//mgr.getEventBroker().unregister(this, new ResourceEvent(ResourceEvent.CREATE_COLLECTION, null));
mgr.getEventBroker().unregister( this, new StatemanagementEvent( StatemanagementEvent.PUBLISH, null ));
public void reconfigure(IConfiguration config) throws ConfigurationException
this.stateHandler.preReconfigure();
// check the new configuration data
try {
catch (ConfigurationException ex) {
this.stateHandler.postReconfigure(ex);
throw ex;
this.config = config;
this.stateHandler.postReconfigure();
public void received(IEvent event)
System.err.println( "----rid --42354543--- " );
IResource rsrPublished = (IResource)event.getParameter();
if( rsrPublished != null )
System.err.println( "----rid --42354543--- rsrPublished.getDescription() --- " + rsrPublished.getDescription() );
else
System.err.println( "Resource Does not exist -----" ) ;
In the log file I am getting Null Pointer Exception
Can any one please help me in this as where I am going wrong
thanks
pkHi Romano & Detlev ,
Thanks for the reply .
This is what I was looking
Detlev:
About the NPE ... in the above code I am not getting that.
Thats my mistake
Earlier I tried with
IResource rsrPublished = (IResource)event.getParameter();
String rid = rsrPublished.getRID().toString();
In the second line of code I was getting the NPE
after that I used to if condition to debug it
Sorry for the confusion...
One more thing
which is the event triggered for approval or how to capture the Approval Event when a content is approved by the Approver
thanks
pk -
Getting user name or password incorrect message when trying to access email
I keep getting an incorrect user name or password message whenever I try to get into my mail. Also, my mail has not been updating anything since Thursday. I have the 1st edition iPad
iOS: Unable to send or receive email
http://support.apple.com/kb/TS3899
Can’t Send Emails on iPad – Troubleshooting Steps
http://ipadhelp.com/ipad-help/ipad-cant-send-emails-troubleshooting-steps/
iPad Mail
http://www.apple.com/support/ipad/mail/
Try this: Delete the account in Mail and then set it up again.
Cheers, Tom -
Why do I get a window opening regarding aol mail when I do not have an active aol account?
When I open mail this window opens:
My Mail does not include any aol mail; my me.com mail, and two gmail accounts are all that l use.
How do I prevent this window from opening every time I go to my Mail?
Thanks in advanceHave you created an iCloud account? This is not the account or ID you use for iTunes. And where exactly are you turning on notes? In what area within settings of your devices?
-
How can I get a new password to iCloud mail when I have forgot the old one?
I have forgotten my password to Icloud mail. How can I get a new one?
Welcome to the Apple Community.
iForgot.com -
Where does InDesign CS4 get the name for the .icml file when using "Add to Assignment"?
I'm trying to figure out a larger problem with InDesign and InCopy files and was curious about where the names comes from. When I add a story to an assignment it doesn't ask me for a name. It seems it is using a name from sometime in the document's past.
Found it...
${bindings.XXXXXX.path}Found it when trying out LOV's... The messageLovInput node uses it to populate it's id.
Regards,
Robert -
Not getting notification e-mail in case of time based publication
Hi,
We are working with subscription service.
We have one document subscribed by some users.
Users are getting notification mail whenever there is any modification in that particular document.
But when I am setting the lifetime property of the document.
Users are not getting notification e-mail when that document get published or get expired.
We checked in the Subscription Service.In the Allowed Admin Notification field we have to mention the proper event.
But we don't know which event name to mention.
It will be very helpful if any one let me know about it.
We are using EP 7.0.
Regards,
BiswarupHi Biswarup,
From the official documentation http://help.sap.com/saphelp_nw04s/helpdata/en/e8/a9a76828b8dc469969ff450ec81ced/content.htm this definitely should work out of the box.
Anyhow, what kind of subscription do you have chosen, immediate subscription or regular (daily, weekly, ...)?! If you are talking about an immediate subscription, try to alter this to a regular subscription. <i>Maybe</i> the change event which triggeres immediate subscriptions isn't thrown correctly by the TBP.
But even in this case, please open an OSS message, as this should be considered as a bug (or at least as a lack of documentation on help.sap.com).
Hope it helps
Detlev -
How can I get my name on my e-mail address. I share the computer. My partner is the "owner" and i have a separate log-in. His name shows on my e-mail.
Log into your account, launch Mail, and select Preferences from the Mail menubar option->Accounts and delete his and add yours.
27" i7 iMac (Mid 2011) refurb, OS X Mavericks (10.9.4), ML & SL, G4 450 MP w/Leopard, 9.2.2 -
Require Job name in SM37 while executing call transaction in background
Hi all,
I am executing a report program, which contains Call transaction.
I have recorded properly. The recording contains background job screen also ( means a separate popup came and i gave the job name and i gave immediately )
When i execute in this program in foreground its creating job,its showing the job in sm37.
But when i execute this program in background, it does not showing the job name in sm37.
Anyone kindly help this out?
AnandhabHi,
The job will be created by the step level user.
Try searching again with jobname and * for username.
Regards,
Jovito -
Getting the name of the member on mouse up
Hi everyone!
I am having images as members in my frame.What i want is to
get the name of the member (image) when i click the image.
I want to write a script on mouseup event of that image and
should get the name of the image i have clicked,
Thankson mouseUp me
put sprite(me.spriteNum).member.name
end -
Need to send a mail when job window time is over
Hi ,
select * from v$version;
Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64bit Production
PL/SQL Release 11.2.0.2.0 - Production
CORE 11.2.0.2.0 Production
TNS for Linux: Version 11.2.0.2.0 - Production
NLSRTL Version 11.2.0.2.0 - Production
========
I have created a job using dbms_scheduler.create_job with a 1 hour window ( created using dbms_scheduler.create_window ) .
My job triggers a stored procedure . Now I have a send_mail code at the end of the stored procedure which sends a mail with plsql log as an attachment . When my job runs more than 1 hour the stored proc is getting stopped and not triggering the mail though I put the same code in exception block ( exception when others ) .
CREATE OR REPLACE PROCEDURE my_sp
AS
BEGIN
-- some code ---
begin
-- send mail --
end
EXCEPTION
WHEN OTHERS
THEN
send mail ( Can I get this piece when window time is over )
END;
Is there any other way I can run the last piece of the proc (send_mail) .
Thanks ,
MaheshMahesh wrote:
Folllowing below note .
http://download.oracle.com/docs/cd/E14072_01/server.112/e10595/scheduse008.htm
but need to attach a file .
SQL> desc utl_mail
PROCEDURE SEND
Argument Name Type In/Out Default?
SENDER VARCHAR2 IN
RECIPIENTS VARCHAR2 IN
CC VARCHAR2 IN DEFAULT
BCC VARCHAR2 IN DEFAULT
SUBJECT VARCHAR2 IN DEFAULT
MESSAGE VARCHAR2 IN DEFAULT
MIME_TYPE VARCHAR2 IN DEFAULT
PRIORITY BINARY_INTEGER IN DEFAULT
REPLYTO VARCHAR2 IN DEFAULT
PROCEDURE SEND_ATTACH_RAW
Argument Name Type In/Out Default?
SENDER VARCHAR2 IN
RECIPIENTS VARCHAR2 IN
CC VARCHAR2 IN DEFAULT
BCC VARCHAR2 IN DEFAULT
SUBJECT VARCHAR2 IN DEFAULT
MESSAGE VARCHAR2 IN DEFAULT
MIME_TYPE VARCHAR2 IN DEFAULT
PRIORITY BINARY_INTEGER IN DEFAULT
ATTACHMENT RAW IN
ATT_INLINE BOOLEAN IN DEFAULT
ATT_MIME_TYPE VARCHAR2 IN DEFAULT
ATT_FILENAME VARCHAR2 IN DEFAULT
REPLYTO VARCHAR2 IN DEFAULT
PROCEDURE SEND_ATTACH_VARCHAR2
Argument Name Type In/Out Default?
SENDER VARCHAR2 IN
RECIPIENTS VARCHAR2 IN
CC VARCHAR2 IN DEFAULT
BCC VARCHAR2 IN DEFAULT
SUBJECT VARCHAR2 IN DEFAULT
MESSAGE VARCHAR2 IN DEFAULT
MIME_TYPE VARCHAR2 IN DEFAULT
PRIORITY BINARY_INTEGER IN DEFAULT
ATTACHMENT VARCHAR2 IN
ATT_INLINE BOOLEAN IN DEFAULT
ATT_MIME_TYPE VARCHAR2 IN DEFAULT
ATT_FILENAME VARCHAR2 IN DEFAULT
REPLYTO VARCHAR2 IN DEFAULT
Maybe you are looking for
-
Configuration Issue while Installing 10g
Hi, I am trying to install 10g (10.3.1.0) But while in configuration step am getting error ERROR : Failed at "Could not get DeploymentManager". This is typically the result of an invalid deployer URI format being supplied, the target server not being
-
Can't Import Catalog - Unknown Error
Is this still a known bug without a solution? I have LR3 on a MacBook Pro Snow Leopard and on a PC Desktiop Win XP Pro SP3. I exported a catalog from the laptop to an external hard drive and then attempted to import it to the desktop and kept gettin
-
Why do I keep getting asked to update to Firfox 6.0?
Every day I get asked to update to Firefox 6.0. THREE TIMES I have downloaded the update, and done the update and restarted it, only to find that I still have Firefox 5.0. In other words, the update is not working.
-
There are some security vunerabilities with existing Java plugins (which came with Mac OS 10.5 Java Update 10) Pls refer http://www.oracle.com/technetwork/topics/security/javacpufeb2012-366318.html for more info... Java in Snow Leopard and Lion were
-
Partition greater that 1 Tb on an Intel MacPro 3.1
I have a 2 TB drive in this computer. I tried to partition it into a 1.5 Tb partition and a 0.5 Tb partition (approximately). Disk utility would not let me create a partition greater than 1 Tb. Is there any way to create these partitions? Using ML 10