Customizations for Alert Message in Lead Distribution

Hi, Experts
We have an issue here as When lead is distributed 'Manually' to other 'Employee Responsible' it should send an alert  to the same employee.
Tried resolution in following ways:
with Action profile , but here unable to select the 'Partner Function' in Schedule Condition , as only i am able to give one BP number , (But i need the mail to be send to any employee responsible who got selected with Lead Distribution)
We also tried showing the lead information which got distributed to the responsible person once he login to the web-UI screen, it did not worked, any work flow settings here.
Thanks.
omer

You can do it with action. There you can use method call in which you can call your own implementation of method TRIGGER_ALERT which send alerts. You need your own implementation, because the standard method is sending alert only to 'employees - 0005' and not to 'responsible persons - 0008'. Or you could do it also with event call. Basicaly you have to call...
  CALL FUNCTION 'SALRT_CREATE_API'
    EXPORTING
      ip_category            = lv_category
      ip_wait_on_commit      = false
    TABLES
      it_recipients          = lt_recipients
      it_container           = lt_container
    EXCEPTIONS
      alert_category_unknown = 1
      alert_no_recipients    = 2
      alert_error_unknown    = 3
      destination_undefined  = 4
      communication_failure  = 5
      system_failure         = 6
      OTHERS                 = 7.

Similar Messages

  • Customize email alert messages for Integration Engine Errors

    Hi experts,
    I've configured auto-reaction emails for alerts raised by Integration Engine in CCMS.
    The email content I got is as below:
    Subject: CCMS alerts PI1 20070319 140556
    <i>ALERT for PI1 \ IEngine_PI1_001 Integration Server \ Category MAPPING \ Message alerts by Error Codes at 20070319 060447 ( Time in UTC )
    RED CCMS alert for monitored object Message alerts by Error Codes
    Alert Text:Error code: GENERIC error text: com/sap/xi/tf/_MM_OperationPro cInfo_ODSOperationP~com.sap.ai i.utilxi.misc.api.BaseRuntimeExceptionFatal Error:
    System:PI1
    Segment:SAP_CCMS_ootspdbs02_PI1_01
    MTE:PI1\IEngine_PI1_001 Integration Server\Category MAPPING\Message alerts by Error Codes
    Client:001
    User:PIAFUSER
    Severity:       50</i>
    May I know how I can configure the contents of this message?
    I can't seem to find them in any of the CCMS alerts settings.
    Please help.
    Thanks.
    Ron

    Hi,
    Go through these links..
    /people/sap.user72/blog/2005/11/24/xi-configuring-ccms-monitoring-for-xi-part-i
    http://help.sap.com/saphelp_nw04/helpdata/en/17/550c404a435509e10000000a1550b0/content.htm
    https://websmp102.sap-ag.de/monitoring
    http://help.sap.com/saphelp_nw04/helpdata/en/2a/ae8d4243a5de54e10000000a155106/frameset.htm
    /people/sap.india5/blog/2005/12/06/xi-ccms-alert-monitoring-overview-and-features
    http://help.sap.com/saphelp_nw04/helpdata/en/25/27fb1c56ff3b41a5d6807d3174d5c7/frameset.htm
    regards
    manoj kumar

  • Multiple Receivers for Alert Messages

    Hi All,
    I have to send alert message to multiple users (SAP and Non-SAP Users) through ALRTCATDEF.
    I know there is option of creating Distribution List and assign this Distribution list.
    Would like to is there any other possible way to acheive this?
    Can we have the distribution list (SAP and Non-SAP Users) created in email exchange server (ex:- [email protected]) ,create one user in SAP and assign this user to the distribution list that is created in the email exchange. finally provide this in Fixed recipient of ALRTCATDEF.
    Anyone tried this ?
    Will this work?
    What are the advantages going this way rather than creating DL in SAP?
    Thanks,
    Sai

    Hi Sai,
    We are also did in same way.  Created DL in mail exchange server and created one user id in SAP and assigned the DL mail to that user.
    If you do it this way you can add the new members to DL in feature without any risk.
    Thanks,
    Satish.

  • Table for alert messages

    Hi All,
    Is there any table in SAP that stores message ids for which alerts are thrown.
    My requiremenst is to extract messages for which alerts are thrown.
    I found ALXMBALERT , but this does not have any entries.
    Thanks
    --Pradeep
    Edited by: pradeep nellore on Jun 25, 2009 10:14 AM
    Edited by: pradeep nellore on Jun 25, 2009 10:15 AM

    hey pradeep
    hope things must be fine at your end
    i am sending you link of sdn help "how alert works"
    this contains various method of how alert triggers and also contain some report
    hope this will help you to achieve your reuirement
    http://help.sap.com/saphelp_nw70ehp1/helpdata/en/96/f1033c128f4a7de10000000a114084/frameset.htm
    click on the tab triggering alerts under alert category
    Thanks
    sandeep sharma

  • SAP REX 3.2 - Delta for Alert messages are not sent to REX

    Hi Experts,
    I am facing issue in Alert notification for REX 3.2 application. Basically I run report /MAC/RSFM_ALERT_GEN and i populate the mandatory fileds, the alerts are sent to SMP, but the REX application does not receive automatically the alerts. The only way to see the alerts in the Application is to execute the initial sync. Is there any configuration/customizing step/table to maintain taht need to be done?
    thanks and Regards
    Pasquale

    Hi Pasquale,
    It could be that the alert is getting delayed before reaching the device. I would recommend that you send an alert and wait for a max 6 hours and cross check on the device to see if the Alert has reached. If this is the case then it could be a possible performance issue at the SUP that needs to be addressed with a PATCH.
    Regards,
    Harsha

  • Grid control notification cannot send email for alert message.

    We have grid control work fine in sending out email. But we cannot receive it lately. I followed the note 285093.1 for trouble shooting. I found that in the file <OMS HOME>/sysman/log/emoms.log or emoms.trc of the following repeated error:
    ========================================================
    2009-03-04 16:29:40,605 [DeliveryThread-EMAIL3] ERROR threadPoolManager.WorkerThread run.281 - Exception message: null
    java.lang.NullPointerException
    2009-03-04 16:29:41,097 [DeliveryThread-EMAIL6] ERROR em.notification run.595 - Delivery.run: java.sql.SQLException: ORA-01017: inva
    lid username/password; logon denied
    java.sql.SQLException: ORA-01017: invalid username/password; logon denied
    at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:137)
    at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:315)
    at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:276)
    at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:271)
    ==========================================================
    I am wondering which login of what user has the logon problem. How can I fix it?
    Thanks for any help!

    Yes, I did that in following up the metalink note 285093.1 and 356774.1. There is not broken job in the repository database for sysman. There was one before. Then I checked the emoms.trc file and saw the error ORA-01017: invalid username/password; logon denied.
    I think the problem is likely due this error, as so far I did not see any other error. On grid control, I also did repository operation => notification check and the email sending test. They are all fine without any error.
    Thanks.

  • Customize Alert messages for checking duplicate value and Success alert

    Hi All,
    I want to show two alert against the same "Submit" button to--
    1. Alert messages for checking duplicate value and show the Duplicate value found alert and
    2. Success Alert if the form is success to commit and no duplicate value found.
    I did all thing but when alert-1 shows and i pressed the ok button of the alert then the second alert also shows which i don't want to show.
    Which i can do in this issue? Have there anyone to help me!
    Arif

    Hi Manu,
    I have placed the following code
    1. against the Submit button--
    if error_code=40508 then
         commit_form;
    elsif :USERDELETION.CANCELLATION_USERID is not null then
    do_key('COMMIT_FORM');
    else null;
    end if;
    2. Code against the key-commit trigger in the form level--
    commit_form;
    DECLARE
    vAlert NUMBER;
    BEGIN
    set_alert_property('ALERT_TO_VERIFY',ALERT_MESSAGE_TEXT, 'Your Form has successfully submitted and your Reference id is '||:USERDELETION.REF_NO);
    vAlert:=SHOW_ALERT('ALERT_TO_VERIFY');
    END;
    3. Code against the on-error trigger in the form level--
    DECLARE
    vAlert NUMBER;
    BEGIN
         if ERROR_CODE = 40508 then
    set_alert_property('ERROR_ALERT',ALERT_MESSAGE_TEXT, 'This user deletion request has already submitted of the user named '||'"'||:USERDELETION.FULLNAME||'"');
    vAlert:=SHOW_ALERT('ERROR_ALERT');
    elsif
              ERROR_CODE = 40202 then
    set_alert_property('ERROR_ALERT',ALERT_MESSAGE_TEXT, 'Existing userid must be filled-up !');
    vAlert:=SHOW_ALERT('ERROR_ALERT');
    else
                   message(error_type||to_char(error_text)||': '||error_text);
    end if;
    END;
    If there have any confusion, please ask me.
    Arif

  • LMS 4 customize alert messages

    I see that some customization is possible on some alert messages subject lines but can these things be done?
    The message is sort of hard to read with all the lines running into each other.
    Also, I would like to see the device and the device and the status first and then the date.
    Make this
    Subject: 000073I ; 1.2.3.4 ; Wed 02-Feb-2011 08:56:27 EST ; Critical ; Unresponsive ; Active ;
    EVENT ID = 000073I
    TIME = Wed 02-Feb-2011 08:56:27 EST
    STATUS = Active
    SEVERITY = Critical
    MANAGED OBJECT = 1.2.3.4
    MANAGED OBJECT TYPE = Routers
    EVENT DESCRIPTION       = Unresponsive::Component=1.2.3.4;ComponentClass=IP;ComponentEventCode=1098;InterfaceType=SOFTWARELOOPBACK;InterfaceMode=NORMAL;InterfaceAdminStatus=UNKNOWN;Address=1.2.3.4;IPStatus=TIMEDOUT;InterfaceOperStatus=UNKNOWN;NetworkNumber=172.1
    CUSTOMER IDENTIFICATION = Routers
    NOTIFICATION ORIGINATOR = Fault Management Module
    Look like this:
    Subject: 1.2.3.4; Critical ; Unresponsive ; Active ; Wed 02-Feb-2011 08:56:27 EST
    EVENT ID = 000073I
    TIME = Wed 02-Feb-2011 08:56:27 EST
    STATUS = Active
    SEVERITY = Critical
    MANAGED OBJECT = 1.2.3.4
    MANAGED OBJECT TYPE = Routers
    EVENT DESCRIPTION       =
    Unresponsive::Component=1.2.3.4
    ComponentClass=IP;ComponentEventCode=1098
    InterfaceType=SOFTWARELOOPBACK
    InterfaceMode=NORMAL
    InterfaceAdminStatus=UNKNOWN
    Address=1.2.3.4
    IPStatus=TIMEDOUT
    InterfaceOperStatus=UNKNOWN;NetworkNumber=1.2
    CUSTOMER IDENTIFICATION = Routers
    NOTIFICATION ORIGINATOR = Fault Management Module
    Also make this:
    CiscoWorks HUM: Critical: Device Availability Threshold Violation: Availability (My Router)
    Look like this
    HUM: Critical: (My Router) Device Availability Threshold Violation: Availability

    No, this type of customization is not possible within LMS.  I know it's not ideal, but what about sending these notifications to a script mailbox first that parses them and converts them to your desired format.  Then that script can bounce the messages to your human mailboxes.  The messages would be easy to parse using Perl.  For the Faul notifications, you can tokenize on '=' then ';'.  For example:
    my @msg = ;my %vars;my $subject;my @order = ();foreach my $line (@msg) {    chomp $line;    if ($line =~ /^Subject: (.*)/) {        $subject = $1;        next;    }    ($name, $value) = split(/\s+=\s+/, $line);    $vars{$name} = $value;    push @order, $name;}my ($eid, $ip, $date, $severity, $name, $status) = split(/\s*;\s*/, $subject);my $new_msg = "From: [email protected]\n";$new_msg .= "To: [email protected]\n";$new_msg .= "Subject: $ip ; $severity ; $name ; $status ; $date\n\n";my @eparts = split(/\s*;\s*/, $vars{'EVENT DESCRIPTION'});$vars{'EVENT DESCRIPTION'} = "\n" . join("\n", @eparts);foreach my $key (@order) {    $new_msg .= "$key = $vars{$key}\n";}sendMail($new_msg);

  • Alert message(Query) for a Production order?

    Hi Experts,
    I want to get an alert message for the production order doucument based on the due date of it. The user must get the alert a  one day before the duedate of the document. How to write the Query for it? Urgent ,waiting for earliest reply.
    Regards ,
    Magesh.

    Create a Formatted Seach with the following Query
    SELECT T0.DocNum AS 'Document Number', T0.CreateDate AS 'Creation Date', T0.DueDate AS 'Due Date'
    FROM  [dbo].[OWOR] T0  WHERE DATEDIFF(Day,GetDate(),T0.DueDate) = 1
    Then, Create an Alert from Adminis..> Alerts Management and Give a Name, Click Open Saved Query, Select the query you saved, Tick the Int. check box against the user who gets the Alert.  Check Active. Select Frequency.
    Good luck
    Suda

  • HT1338 The Mac App Store shows an update available for iMovie but when I click "update" it gives me this message, "The product distribution file could not be verified. It may be damaged or was not signed." What can I do to update this program?

    The Mac App Store shows an update available for iMovie but when I click "update" it gives me this message, "The product distribution file could not be verified. It may be damaged or was not signed." What can I do to update this program?

    http://www.apple.com/support/mac/app-store/contact.html?form=account

  • I can't connect to the itunes store.  I've tried everything in the articles for trouble shooting and nothing works.  My library comes up, my ipod syncs, and I get no alert messages.  I'm running Vista.

    I can't connect to the itunes store.  I've tried everything in the articles for trouble shooting and nothing works.  My library comes up, my ipod syncs, and I get no alert messages.  I'm running Vista.

    I can't connect to the itunes store.  I've tried everything in the articles for trouble shooting and nothing works.  My library comes up, my ipod syncs, and I get no alert messages.  I'm running Vista.

  • How to Send Emails for failed messages without using Alert

    Hi Experts,
    In our project, we need to trigger Emails for the failed messages in SXMB_MONI / Adapter Engine without using Alert Framewrok.
    Please let me know the below :
    1. Is this really possible to avoid Alert?
    2. If possible, then can we accomplish this by creating any PI Scenario? Please provide me some knowledge.
    3. Can we do it by writing any ABAP Code? If ABAP report can make it, then please provide me the code/ tables which will be needed. If any Blog/ Wiki is there, then please let me know the URLs. 
    Thanks,
    Nabendu.

    Hi Nabendu,
       If your customer asks for mails with specific text for message failure, tell that it is not possible. Because Message will go through several engines like Adapter Engine, Integration Engine, BPE. You can not generate mails for the message failures in all these areas with out standard alert mechanism. These are pure technical alerts which only PI people can understand, not business alerts.
    Example: assume your sender channel is unable to connect FTP Server, in this case you can not generate even though you will develop adapter module to generate alerts.
                            So for message validation only you can send mails not for message failures.
    thanks,
    madhu

  • Release notes for 2.16 states that there was a fix for alerts not being modal. We are using 3.0.6 and are experiencing the same issue; was there a regression to the modal fix. What version needs to be used to make sure that alert messages are modal?

    Release notes for 2.16 states that there was a fix for alerts not being modal. We are using 3.0.6 and are experiencing the same issue; was there a regression to the modal fix. What version needs to be used to make sure that alert messages are modal?

    We are trying to determine why alert boxes are not modal
    The fix states it's for Firefox 2.0 - 3.7a1pre
    We are using 3.0.6 not the current version of 3.6.13.
    Add-on release notes 2.16.1
    https://addons.mozilla.org/en-US/firefox/addon/foxyproxy-standard/versions/
    Repeating 2.16 release notes since 2.16 was not made available for more than a couple of hours
    Fixed bug whereby some alert boxes weren't properly parented/owned. This led to some alerts not being properly modal
    with respect to the window/dialog that issued the alert.

  • Looking for a SQL query to get all the possible Alert Messages from the Rules in a Management Pack

    For reporting, I'm looking to get a SQL query of all the possible Alert Messages for Rules configured in a Management Pack (not necessarily the ones that have thrown alerts).  I can do this for Monitors, but not for Rules. 
    The configured alert messages for the Management Pack Monitors
    go like this:  ManagementPack > MonitorView> RuleModule > RuleModule.Alert Message > Localized Text
    The configured alert messages for the Management Pack Rules
    should go something like this, but there is a missing link:  ManagementPack > RuleView > RuleModule > ? Missing Link ? > Localized Text
    The Rules are tied to the Module, but I don't see a connection from the RulesModule to the Alert Message that I see in the LocalizedText. The Rule names do not always equal the Alert name. 
    Can someone provide the missing link?

    Hi,
    please try below powershell code to find the corresponding management pack for specific alert:
    $Alert = get-scomalert | where {$_.Name -like 'Agent Proxy Not Enabled*'} | select -first 1
    If ($alert.IsMonitorAlert -eq "True") {
    write-host "Ths is a monitor-generated alert"
    get-scommonitor -ID $Alert.MonitoringRuleID | select Enabled, DisplayName, ManagementPack
    else
    write-host "This is a rule-generated alert"
    get-scomrule -ID $Alert.MonitoringRuleID | select Enabled, DisplayName, ManagementPack
    In addition, please also refer to the below link:
    http://blogs.technet.com/b/mazenahmed/archive/2011/12/02/using-powershell-to-map-opsmgr-active-alert-to-its-corresponding-rule-monitor-and-management-pack-name.aspx
    Regards,
    Yan Li
    Regards, Yan Li

  • Issue with Alerts using BPM : Trigerred for Successful messages also

    Hi Everybody,
    I am working on configuring Alerts using BPM.
    I have followed the below blog by Micheal.
    /people/michal.krawczyk2/blog/2005/03/13/alerts-with-variables-from-the-messages-payload-xi--updated
    In BPM after the receive step I have used container and control steps to capture the Idoc Number as mentioned in the blog.
    I am facing an issue with it now as an Alert message is send to my Inbox even when the message is succesfully processed by the adapter.
    This is a strange behaviour when we talk about Alerts.
    Can somebody help me out in this?
    Thanks & Regards,
    Zabiulla

    Hi Zabiulla,
    Michal explained just the basic, the logic of your process is to build by yourself. Usually an alert will be raised inside of an exception branch. You can define exceptions for critical operations, f.e. send steps or transformations, the exception will be catched by jumping to the exception branch, where you can store a suitable reaction - f.e. an alert.
    Regards,
    Udo

Maybe you are looking for