Dynamic alert management

hi
I want to send an alert on a button click  this happens only when the user clicks the button this alert is not a periodic alert
is it possible to achieve this with out defining the query in sap b1

Using the messaging service in the b1 i achieve this
SAPbobsCOM.CompanyService oCmpSrv;
MessagesService oMessageService;
Message oMessage;
MessageDataColumns pMessageDataColumns;
MessageDataColumn pMessageDataColumn;
MessageDataLines oLines;
MessageDataLine oLine;
RecipientCollection oRecipientCollection;
oCmpSrv = (SAPbobsCOM.CompanyService)oCompany.GetCompanyService();
oMessageService = (MessagesService)oCmpSrv.GetBusinessService(ServiceTypes.MessagesService);
oMessage = (Message)oMessageService.GetDataInterface(MessagesServiceDataInterfaces.msdiMessage);
oMessage.Subject = "My Subject";
oMessage.Text = "My Text";
oRecipientCollection = oMessage.RecipientCollection;
oRecipientCollection.Add();
oRecipientCollection.Item(0).SendInternal = BoYesNoEnum.tYES;
oRecipientCollection.Item(0).UserCode = "test";
pMessageDataColumns = oMessage.MessageDataColumns;
pMessageDataColumn = pMessageDataColumns.Add();
pMessageDataColumn.ColumnName = "My Column Name";
oLines = pMessageDataColumn.MessageDataLines;
oLine = oLines.Add();
oLine.Value = "My Value";
oMessageService.SendMessage(oMessage);

Similar Messages

  • Dynamic alert messages

    Hi All,
    I have got alert categories created by client,I have to use alert categories and dynamic alert message in BPM.i am not authorized for transaction ALRTCATDEF.Can you tell me where i can see dynamic alert messages for alert categories created.Is there any transaction or I can check in RWB in alert configuration
    Best Regards,
    Harleen Kaur Chadha

    Alert Configuration:- You use alert configuration to have the system informed you about the errors that occurs during message processing.
    *Used for alerts that occurs at IE.
    Alert Management: When you define the integration process you can specify that if a particular situation occurs at runtime a alert has to be thrown using alert management.
    *Used to handle business specific errors.
    For example if the stock falls below certain level an alert has to be thorwn to the specified user using the integration process in this case you have to follow steps defined in alert management
    Defining Alert Categories
    During alert category definition, you specify the alert text, expiry time, escalation, and all other conditions related to the sending of this kind of alert.
    1. Ensure that you are in change mode in the alert category definition environment (transaction ALRTCATDEF).
    2. Choose Create Alert Category.
    3. In the Alert Category column, enter a technical key. Choose a key that describes the situation that triggers the alert, such as CUSTCANC for a category responding to a customer cancellation. This key is language-independent and identifies the alert category. The standard namespace convention applies to the key, this means keys Z* und Y* belong to the customer name space.
    4. On the Properties tab page:
    a. In the Description field, enter a description for the alert category. Choose a description that is informative with respect to the content of the alert category. The description is language-dependent.
    b. If required, you can select a classification in the Classification field. If you do not choose a specific classification, the category is stored in the classification folder Unclassified. For more information on classifications, see Alert Classification.
    c. In the Max. No. of Dels field, specify a maximum number of times that an alert of this category is to be delivered if it is not confirmed. This refers to delivery using a communication channel other than to the recipientu2019s display program (UWL, application-specific program, or alert inbox).
    d. Select Dynamic Text if the texts of the alert category cannot be defined at this stage. This refers to situations in which the texts are not known until runtime, for example when CCMS Alerts are forwarded to ALM.
    No translation can be performed for alerts with dynamic text. System messages can be entered manually in several languages.
    e. In the Expiry Time in Min. field, you can enter a life span for alerts of this category if the alerts will no longer be relevant after a specific period of time. If the expiry time elapses, the alert is removed from the alert inbox and is no longer delivered using any other channel.
    Expiry times can be derived from various sources. Priority is given first to the data provided by the triggering application, second to the BAdI ALERT_EXP_DATE, and third to this field in the alert category definition. If none is found in any of these sources, the default expiry of 31.12.2099 applies.
    f. If you wish to specify an escalation recipient, select Escalation Active and enter the escalation recipient. Also specify a tolerance time in minutes. When escalation is active for an alert category, an alert is escalated if none of the alert recipients has confirmed the alert after this tolerance time. The escalation recipient is also informed that he or she has received the alert because of an escalation.
    The escalation functionality is based on the administrator report RSALERTPROC. This report has to be scheduled as a regular job. For information on this report.
    5. On the Container tab page, define any variables that you may want to use in the short text or long text. You can also define other application-specific variables, such as company code or material number. These variables are then replaced at runtime with values from the application. For more information, .
    6. On the Short and Long Text tab page, enter texts for the alert category. You can include text variables referring to elements of the alert container or system symbols. In the case of a container element, the variable must be defined in the alert container. The entry in the text must be in the form &<ElementName>&.
    The title is used as mail title, fax subject, and alert title in the inbox. The long text is used as mail/fax body and the long text view in the inbox. The short text is used for pager and SMS.
    7. On the Optional Subsequent Activities tab page, you can enter URLs for subsequent activities. If you trigger your alerts by calling a function module, you can also specify dynamic subsequent activities. For more information, see Triggering by Calling a Function Module Directly in Triggering Alerts.
    8. Save your entries.
    You create an alert category to use in alert rules.
    Basic alert configuration
    The specified item was not found.
    The specified item was not found.
    Trigerring alerts from UDF
    Triggering XI Alerts from a User Defined Function
    Alert Configuration
    http://help.sap.com/saphelp_nw04/helpdata/en/80/942f3ffed33d67e10000000a114084/frameset.htm
    Alert Inbox
    http://help.sap.com/saphelp_nw04/helpdata/en/80/942f3ffed33d67e10000000a114084/frameset.htm
    Alert Notification Step-by-Step
    http://help.sap.com/saphelp_nw04/helpdata/en/49/cbfb40f17af66fe10000000a1550b0/frameset.htm
    Defining Alert Classifications
    http://help.sap.com/saphelp_nw04/helpdata/en/49/cbfb40f17af66fe10000000a1550b0/frameset.htm
    Triggering Alerts
    http://help.sap.com/saphelp_nw04/helpdata/en/49/cbfb40f17af66fe10000000a1550b0/frameset.htm
    Setting up alerts
    Setting up alerts in RZ20
    Alert Management
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/e04141e8-0f11-2a10-adaa-9d97b062c2df
    Alert Notification
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/90f449a8-a6db-2910-a386-d2b5999f5751
    ALRTCATDEF Editing Alert Categories
    ALRTCATDEF_SEL Define Alert Category
    ALRTDISP Display Alerts
    ALRTINBOX Alert Inbox
    ALRTMON Alert Monitor
    ALRTPERS Personalize Alert Delivery
    ALRTPROC Process Alerts
    ALRTSUBSCR Subscribe to Alert Categories
    The Alert Framework provides an interface from the Basis (Web AS) Alert Framework. You use
    transaction ALRTCATDEF to define the text, the priority, number of delivery, etc. for the alert.
    ?? To configure your alerts, proceed as follows:
    ?? To define an alert category, choose Create Alert Category.
    ?? You can also create the alert category directly by calling transaction ALRTCATDEF. In both
    cases you require the authorizations of the role SAP_XI_ADMINISTRATOR.
    Triggering XI Alerts from a User Defined Function
    The specified item was not found.
    The specified item was not found. - Alert Configuration
    The specified item was not found. - Trouble shoot alert config
    Configuring scenario specific E-mail alerts in XI-CCMS: Part  - 1 -- ccms alerts ? 1
    Configuring scenario specific E-mail alerts in XI-CCMS: Part-2 -- ccms alerts ? 2
    Configuring scenario specific E-mail alerts in XI-CCMS: Part 3 -- ccms alerts --- 3
    Alerts with variables from the messages payload (XI) - UPDATED -
    The specified item was not found.
    http://help.sap.com/saphelp_nw04/helpdata/en/49/cbfb40f17af66fe10000000a1550b0/frameset.htm
    From HelpFile
    When alerts r not displayed in inbox ?
    Then check the following
    Tcode - ALRTCATDEF_SEL
    Report - RSALERTDISP and RSALERTPROC , SXMSALERT_LOGREADER
    Did you run the report SXMSALERT_LOGREADER in SE38... If you run it, please post the corresponding logs here. If not, try to run the report giving corresponding message id and post the logs here. We will try to figure it out

  • Alert management with custom mail subject

    Hello,
    I defined a business process, with a control step that throws an alert with a specific message "Error in &MessageTypeFound& " ( &MessageTypeFound& being a container element filled in in a previous step ).
    When I look at the e-mail that the alert manager sent, I can see the alert, with the variable properly filled in, so the result in the mail-body is: "Error in WMMBXY".
    Now, as a mail subject, I want the same message. In the Alert Category Definitions, I need to fill in the title and this will be used as mail subject.
    To be able to use variables in this title, I need to define container elements in the alert category definition. How can I pass the Business Process variable ( &MessageTypeFound& ) to this container for the alert definition ? (So I can use this container element for my dynamic variable in the subject of the alert mail)
    Any ideas are welcome !
    Thanks

    Hi Frederik,
    Unfortunately the functionality you want is simply not available ... or well it is but its not implemented very good by SAP.
    The workflow step that generates an alert does has a container element 'SHORTTEXT' which can hold placeholders and which is translated into the title of the alert message/mail.
    However, the field is defaulted with the text 'Process &_WORKITEM.WORKITEMID&' when being executed via BPM ...
    I tried to overwrite it by setting my own 'SHORTTEXT'container element within the BPM but that does not work ...
    Regards,
    Steven
    ( Tried everything on SP14 ... maybe something changed in SP15 ... )

  • Alert management - Define subsequent activities as hyperlinks/URLs

    Hi.
    Can anyone please provide me with info how and for what purposes are used subsequent activities in alerts (spro>crm>basic functions>alert management>define alert categories).
    I know how to use container and texts but don't know how excecly can be used subsiquent activities on alerts: Ifyou create new one the fild for URL is activated but I don't know if I have to put anything in ther and what functionality it provides.
    Thanks in advance.

    Hi Robert,
    I think it just gives you the possibility to add URLs to your alerts. Can also be defined dynamically if you trigger the alert via a function module.
    Here is a quote from SAP documentation:
    "When triggering using the function module, it is also possible to define dynamic subsequent
    activities. These could be used in a situation where a subsequent activity is to refer to a
    document that is not added to the alert until runtime, for example. You pass these activities to
    the function module by filling an internal table of the structure SALRTSACT and passing this
    table to the module as table parameter IT_ACTIVITIES. The structure SALRTSACT contains
    a name for the activity in the field ACTTEXT, and the URL that refers to the subsequent
    activity in the field ACTURL."
    A use case could be to have a subsequent activity called "Order spare parts" and then have a link to a relevant web shop.
    /Anders

  • How to Configure Windows NT Mail on Alert Manager - System - Option

    Hi
    This is Regarding Oracle Financial Application.
    In 11i, Alert Manager, there is an option to configure Windows NT Mail to Send and Recieve Mails (Oracle Alerts-Message).
    Anybody knows, what is the configuration?
    Our Company Mail Server is Window NT.
    But, Our Oracle Application Server is Solaris Machine.
    We want to configure the Mail settings .. while sending Oracle Alert from Oracle application, it should reach our NT Mail server.
    In Unix settings Alert is working fine.
    But, How to do the Windows NT Mail settings on this Application ?
    Please reply on the following mail id : [email protected]
    It's very urgent.
    Thanks,
    Sheeja.

    Hi
    This is Regarding Oracle Financial Application.
    In 11i, Alert Manager, there is an option to configure Windows NT Mail to Send and Recieve Mails (Oracle Alerts-Message).
    Anybody knows, what is the configuration?
    Our Company Mail Server is Window NT.
    But, Our Oracle Application Server is Solaris Machine.
    We want to configure the Mail settings .. while sending Oracle Alert from Oracle application, it should reach our NT Mail server.
    In Unix settings Alert is working fine.
    But, How to do the Windows NT Mail settings on this Application ?
    Please reply on the following mail id : [email protected]
    It's very urgent.
    Thanks,
    Sheeja.

  • Dynamic alert messages in BPM control step not getting created

    Hi All,
    in transaction ALRTCATDEF, i have specified dynamic text for my alert category...........
    in my BPM there are 3 control steps.....and i am using this alert category in all of my BPM 3 control steps..... but the alert messages in my 3 control steps are different.........But these alert messages(which i am giving in BPM) is not coming in the alert mail in alert inbox but it gives the common message in long text(which i gave in long text while defining the alert category)......
    <b>So can anybody suggest me why my BPM alert message is not coming in the alert generated by BPM control step in the alert inbox of runtime workbench.</b>
    Thanks,
    Rajeev Gupta

    Hi Rajeev,
    Please check if you have done the following steps:-
    check the dynamic text box available in alrtcatdef transaction, while creating the alert.
    In the bpm, create a variable of simple type in a container
    Included the container operation and the control step.
    For the container operation - give the right simple type variable container
    For the control step, specify the correct alert category (this should be the one for which the dynamic text is enabled)
    The alert message that you specify here should have text which will be seen when the alert raised
    *To capture the dynamic alert in the alert message, which is caught by the container step in the bpm....you will have to give the name of the simple type variable
    between two ampersands(&).
    "But these alert messages(which i am giving in BPM) is not coming in the alert mail in alert inbox but it gives the common message in long text(which i gave in long text while defining the alert category)......"
    On checking the dynamic text option in the alert category defined, you will not have the option of giving a message in the long text. So, there is no way that the long text can be seen - 'cuz you are not defining it in the first place! Hence, either you have given the wrong alert category in the bpm or have not cheked the dynamic text option.
    Regards,
    Sushumna

  • Sending mail by alert management

    Dear All,
    I've scenario as below
    In one of our customer ,MD(Director of Company) wants Purchase Order and Sales Order Details daily by e-mail
    I've successfully configured email setting and I am Able to send e mail (Externally)
    I've created the simple query and mapped with alert management
    but ,from alert e-mail is not sending to recipient
    observation:
    Time interval I've set it to 8 pm every day
    user is not logged in to SAP at that time
    Is there any steps I've missed out ?
    any work around suggestion would be appreciable.
    Thanks & Regards
    M G

    Hi
    I've followed steps you have suggested
    and
    getting following error
    Looking for first schedule to be executed before/on 20140815 19:33
    Handling schedule
    StatusBar Success Message: This use of the software is subject to the End User License Agreement (EULA)
    Starting Scheduled Report: Query
    StatusBar Error Message: No printer device found
    Error #-10 encountered
    Executing XSLT transformation
    XML Input is Empty
      adding: BusinessOneAuditLoggerPid8668_20140815193332.Pid8668 (124 bytes security) (deflated 72%)
      adding: BusinessOneb1loggerPid8668_20140815193318.Pid8668 (124 bytes security) (deflated 83%)
    SAP Business One Client return code:0
    Unable to extract HTML report output to file C:\Windows\TEMP\Report.html Error code:-2028
    Unable to extract PDF report output to file C:\Windows\TEMP\Report.pdf Error code:-2028
    Unable to extract XML report output to file C:\Windows\TEMP\Report.xml Error code:-2028
    No HTML body found nor attachments - there is nothing to send
    An error occured while distributing results
    SAP B1 client did not update new scheduyle date and time! Deactivating the schedule to prevent infinite loop.
    An error occured while creating report by SAP B1 Client
    Schedule processed

  • What is ALERT Management.how to use it?

    what is ALERT Management. what is it's use.how to do ALERT Management?

    HI
    Alerts within XI give us a simple way to monitor only those errors that we want to and send alert messages to different people depending on the alert category.
    Alert configuration is used to have the system inform you of errors during message processing.
    By using the Alert Framework, central monitoring can be provided with all errors reported during message processing in ABAP and Java. This enables an improved reaction to such errors in both the ABAP runtime and the Java-based Adapter Engine. For this purpose, the Alert Framework is provided with rules based on certain events and on information from the header of the message protocol. These rules determine whether alerts are send or not.
    Alert Configuration:
    1) An Alert is a notification informing its recipients that a critical or very important situation has arisen. The
    situation is as severe that an action must be taken immediately in order to resolve the situation. The
    system recognizes the situation and sends the Alert.
    2) We use the Alert Configuration to have the system inform you of errors during message processing. we
    can receive the Alert by e-mail, fax, or SMS.
    3) To configure your Alerts, proceed as follows:
    a) Create the Alert Categories that we want to use in our Alert Rules.
    b) Create the Alert Rules in which we want to use our Alert Categories
    4) An Alert is an instance of an Alert Category
    5) Alert Categories can be defined by applications or customers using the Alert Category definition
    environment, which is accessed in Transaction Code ALRTCATDEF
    6) The Structure of Alert Category is defiened by the following
    a) Technical key (language-independent) for identification purposes
    b) Description (language-dependent)
    c) Classification
    d) Priority
    e) Maximum number of deliveries. (This applies to delivery to a destination other than the alert
    inbox.)
    f) Expiry time (in minutes) after which the alert is deleted
    g) Escalation recipient to whom the alert is sent if it is not confirmed by any of its recipients
    h) Tolerance time before escalation
    i) Short text, long text, and title
    The title is used as mail title, fax subject, and alert title in the inbox. The long text is used as
    mail/fax body and the long text view in the inbox. The short text is used for pager and SMS.
    j) Container for variable definition if variables are to be used in the texts, or for other application-
    specific attributes
    k) Subsequent activities in the form of URLs
    pleae refer the following links for furtehr infromation
    http://help.sap.com/saphelp_nw04/helpdata/en/49/cbfb40f17af66fe10000000a1550b0/frameset.htm -
    Alert
    /people/bhavesh.kantilal/blog/2006/07/25/triggering-xi-alerts-from-a-user-defined-function
    /people/michal.krawczyk2/blog/2007/04/26/xipi-throwing-generic-exceptions-from-any-type-of-mapping
    /people/michal.krawczyk2/blog/2005/09/09/xi-alerts--step-by-step - Alert Configuration
    /people/michal.krawczyk2/blog/2005/09/09/xi-alerts--troubleshooting-guide - Trouble shoot alert config
    /people/aravindh.prasanna/blog/2005/12/23/configuring-scenario-specific-e-mail-alerts-in-xi-ccms-part--1 -- ccms alerts u2013 1
    /people/aravindh.prasanna/blog/2005/12/24/configuring-scenario-specific-e-mail-alerts-in-xi-ccms-part-2 -- ccms alerts u2013 2
    /people/aravindh.prasanna/blog/2006/02/20/configuring-scenario-specific-e-mail-alerts-in-xi-ccms-part-3 -- ccms alerts --- 3
    Alerts with variables from the messages payload (XI) - UPDATED -
    /people/michal.krawczyk2/blog/2005/03/13/alerts-with-variables-from-the-messages-payload-xi--updated
    http://help.sap.com/saphelp_nw04/helpdata/en/49/cbfb40f17af66fe10000000a1550b0/frameset.htm
    /people/michal.krawczyk2/blog/2005/09/09/xi-alerts--step-by-step - Alert Configuration by Micheal
    /people/bhavesh.kantilal/blog/2006/07/25/triggering-xi-alerts-from-a-user-defined-function
    /people/michal.krawczyk2/blog/2007/04/26/xipi-throwing-generic-exceptions-from-any-type-of-mapping
    I hope at the end of this you may get some knowledge on Alerts.
    /people/michal.krawczyk2/blog/2005/09/09/xi-alerts--step-by-step XI:Alerts step-by-step. (fundamental Basic)
    /people/sap.user72/blog/2005/11/24/xi-configuring-ccms-monitoring-for-xi-part-i CCMS Monitoring for XI. (CCMS monitoring for XI is enough later
    we configure to Adapter Engine).
    /people/aravindh.prasanna/blog/2005/12/23/configuring-scenario-specific-e-mail-alerts-in-xi-ccms-part--1 Configuring scenario specific E-mail alerts in XI-CCMS: Part-1
    (This is Important)
    /people/aravindh.prasanna/blog/2005/12/24/configuring-scenario-specific-e-mail-alerts-in-xi-ccms-part-2 Configuring scenario specific E-mail alerts in XI-CCMS: Part-2
    /people/aravindh.prasanna/blog/2006/02/20/configuring-scenario-specific-e-mail-alerts-in-xi-ccms-part-3 Configuring scenario specific E-mail alerts in XI-CCMS: Part 3
    /people/federico.babelis2/blog/2006/05/03/solution-manager-cen-and-alerting-configuration-guide-for-dummies Solution Manager CEN and Alerting configuration (Advanced)
    /people/michal.krawczyk2/blog/2005/09/09/xi-alerts--troubleshooting-guide - Trouble shoot alert config
    Alerts with variables from the messages payload (XI) - UPDATED -
    Alert configuration
    http://help.sap.com/saphelp_nw04/helpdata/en/80/942f3ffed33d67e10000000a114084/frameset.htm
    /people/michal.krawczyk2/blog/2005/09/09/xi-alerts--step-by-step
    /people/michal.krawczyk2/blog/2005/09/09/xi-alerts--troubleshooting-guide
    Calling alerts from UDF
    /people/bhavesh.kantilal/blog/2006/07/25/triggering-xi-alerts-from-a-user-defined-function
    Email Alerts
    /people/aravindh.prasanna/blog/2005/12/23/configuring-scenario-specific-e-mail-alerts-in-xi-ccms-part--1
    Alert Delivery
    /people/matt.kangas/blog/2006/06/27/personalized-alert-delivery
    Transport the alerts
    http://help.sap.com/saphelp_nw04/helpdata/en/a6/5a94413aaad960e10000000a1550b0/frameset.htm
    XI: Alerts - Step by step
    /people/michal.krawczyk2/blog/2005/09/09/xi-alerts--step-by-step
    http://help.sap.com/saphelp_nw04s/helpdata/en/d0/d4b54020c6792ae10000000a155106/frameset.htm
    Triggering by Calling a Function Module Directly.
    /people/bhavesh.kantilal/blog/2006/07/25/triggering-xi-alerts-from-a-user-defined-function
    Alerts with variables from the messages payload (XI) u2013 UPDATED
    /people/michal.krawczyk2/blog/2005/03/13/alerts-with-variables-from-the-messages-payload-xi--updated
    Simple Steps to Get Descriptive Alerts from BPM in XI
    /people/community.user/blog/2006/10/16/simple-steps-to-get-descriptive-alerts-from-bpm-in-xi
    Triggering XI Alerts from a User Defined Function
    /people/bhavesh.kantilal/blog/2006/07/25/triggering-xi-alerts-from-a-user-defined-function
    Throwing Smart Exceptions in XI Graphical Mapping
    /people/alessandro.guarneri/blog/2006/01/26/throwing-smart-exceptions-in-xi-graphical-mapping
    cheers
    reward poins if found useful

  • Process monitoring (PMI, Alert Management, Acknowledgments, ...)

    Hi, at the moment I face an interesting monitoring requirement. See below. I hope you experts can help me out? Many thanks for all your feedback
    REQUIREMENT
    <u>Users want to view the status of the message as it flows through the Sender, Hub(s) and Receiver(s).</u>
         Preferably without opening any other applications (nice-to-have)
                     1 central (monitoring) application
         Drill-down to the state of the message in the process pipeline (nice-to-have)
         Preferably near realtime (nice-to-have)
         Solution must be as generic and cheap/easy as possible, meaning costs:benefits effective. Pretty obvious, we don't want huge developments...
    BACKGROUND
    <u>SAP and non-SAP applications are involved in message exchange.
    Only SOAP, IDoc and XI Adapters are used.
    SAP PI, version 7.00, is the message Hub (1 Integration Server + Central AE).</u>
    POSSIBLE SOLUTIONS
    <u>PMI (end-2-end monitoring in RWB, package SPI) seems the most promising (http://help.sap.com/saphelp_nw2004s/helpdata/en/a8/a81b0b6473cb49bc34effad6eab13b/content.htm) .
    </u>
         Only covers PMI-enabled SAP-components (IE, ALE, AF, Java?),
         <i>What about non-SAP applications?</i> It looks complicated, and there is no documented API.
         User-unfriendly GUI (via the RWB), although it is centrally located
         <i>Is drilling down into a message possible?</i> For example going to an IDoc in a backend system as with BD87.
         Not really realtime (a lot of jobs required: agents, aggregation)
    <u>Alert Management (http://help.sap.com/saphelp_nw2004s/helpdata/en/3f/81023cfa699508e10000000a11402f/content.htm )</u>
         Usually reserved for error situations.
         Alerts can be raised easily by other applications (especially ABAP)
              ccBPM can be used (only for the XI part of the message exchange)
              OR the pipeline definition can be enhanced. <i>Has anyone experience with this?</i> Implementing a ZCL_PLSRV* class plus modifying the SXMSPIPEEL, SXMSPLSRV, etc. tables.
         Aggregating Alerts that all refer to 1 message exchange (“1 process”) is difficult.          <i>Has anyone experience with this?</i>     
    Drill down to the actual message not possible, must use other tools
    <u>Acknowledgements (especially application ack’s)</u>     SOAP (and other AF) Adapters can’t handle app ack’s.
              This might be bypassed by providing a generic (web)service that accepts messages that can be routed via the <pipeline>_BACK to the original message (comparable to the ALEAUD IDoc). <i>Has anyone done this before?</i>          For Senders using the SOAP Adapter the message header could be enhanced to request app ack’s (pos/neg). <i>Can this be done via a Java Module?</i> Or the IS pipeline definition could be enhanced later on. <i>Has anyone experience with this?</i> Implementing a ZCL_PLSRV* class plus modifying the SXMSPIPEEL, SXMSPLSRV, etc. tables.
         Standard ack’s are linked to the sending message, but usually don’t give very helpful information.     <i>Where can this be enhanced?</i> For ALEAUD we can modify the IDoc processing (outbound/inbound).
         <i>When are ack’s (application and system, positive and negative) actually raised? Can this be configured/adapted anywhere?</i>
         Not 1 place wherefrom the message exchanges can be monitored, but in multiple Senders.
              Too bad, but it was a nice-to-have.
         Drill down only possible in Sender (probably), must use other tools
    <u>CCMS</u>
         I don’t see that CCMS can be enhanced to cover this requirement. <i>Anyone who has a different idea?</i> Feel free to post all your opinions, how exotic these may sound (initially).
    <u>… Other ...</u>
         Maybe I took a wrong turn somewhere. If you have a very elegant but different solution, please point me in that direction. I’m quite curious…

    Hi,
    as explined above Alerts are not only from ccBPM,
    Actually alerts from SAP Alert management.
    See the below links
    Triggering XI Alerts from a User Defined Function - /people/bhavesh.kantilal/blog/2006/07/25/triggering-xi-alerts-from-a-user-defined-function
    blogs for alerts
    https://www.sdn.sap.com/irj/sdn/advancedsearch?query=alerts&cat=sdn_weblog
    http://help.sap.com/saphelp_nw2004s/helpdata/en/2b/d925bf4b8a11d1894c0000e8323c4f/content.htm
    http://help.sap.com/saphelp_nw2004s/helpdata/en/9c/34193cb4f5131de10000000a11405a/content.htm
    http://help.sap.com/saphelp_nw2004s/helpdata/en/8a/3e2d4105f8d92be10000000a1550b0/content.htm
    /people/michal.krawczyk2/blog/2005/09/09/xi-alerts--step-by-step - Alert Configuration
    /people/michal.krawczyk2/blog/2005/09/09/xi-alerts--troubleshooting-guide - Trouble shoot alert config
    /people/aravindh.prasanna/blog/2005/12/23/configuring-scenario-specific-e-mail-alerts-in-xi-ccms-part--1 -- ccms alerts - 1
    /people/aravindh.prasanna/blog/2005/12/24/configuring-scenario-specific-e-mail-alerts-in-xi-ccms-part-2 -- ccms alerts -- 2
    /people/aravindh.prasanna/blog/2006/02/20/configuring-scenario-specific-e-mail-alerts-in-xi-ccms-part-3 -- ccms alerts --- 3
    Regards
    Chilla

  • Alert Management for RFC Communication Channel

    Hi All,
    I want to send notification to user using Alert Management in case of System Error in RFC Adapter.
    I tried with defining rule in RWB with * . But still I am not able to find notification in Inbox or Mail Inbox.
    Thanks.

    Infact it is working fine for JDBC CC.
    But in case of RFC Receiver CC it is niether apperas in Alert Inbox nor in Mail Inbox.
    Then there needs no more setting to be done. Are you sure that an error has been reported by the RFC channel (red symbol) and there is no restriction in Alert Configuration....like the interface name/ adapter type etc.
    Uncheck the option Suppress Multiple Alerts of this Rule option

  • Alert Manager Validation for sending Email

    Hi All,
    I am planning to use Alert Manager for sending out email in case if there is any locks in the database. I am not able to find a way to send a mail only when there is a lock in the database.
    Is there any way to do a validation on Oracle Alert manager before sending the mail ?
    Regards
    Sridhar M

    I am planning to use Alert Manager for sending out email in case if there is any locks in the database. I am not able to find a way to send a mail only when there is a lock in the database.
    Is there any way to do a validation on Oracle Alert manager before sending the mail ?Please see the docs referenced in old threads, it should be helpful.
    https://forums.oracle.com/forums/search.jspa?threadID=&q=Alert+AND+Manager&objID=c3&dateRange=all&userID=&numResults=15&rankBy=10001
    https://forums.oracle.com/forums/search.jspa?threadID=&q=Alert+AND+Diagnostics&objID=c3&dateRange=all&userID=&numResults=15&rankBy=10001
    https://forums.oracle.com/forums/search.jspa?threadID=&q=Alert+AND+Workflow&objID=c3&dateRange=all&userID=&numResults=15&rankBy=10001
    Thanks,
    Hussein

  • Deviation From Budget in Alert management

    Hi,
    I set Budget Amount INR.10000 and Document  is Purchase Order i set alert through email ,int.when i add purchase document the PO value is exceed INR10000 (Ex:20000) .But Alert Message not triggered.
    Thank u
    sridhar

    Hi Gordon Du,
    I set Predefined alert for Buget deviation amount INR.10000, selected document is Purchase Order and send alert Receipt To manager user,email check box is selected in alert management . When i enter PO Above the deviation amount (Example INR.15000) mail should trigger to appropraite email id. And Additional information in buget setting  are -General setting-Buget Tab- selected Block  deviation from budget ,selected monthly budget and all chec box is selected Ex:PO,GRPOand Account.
    thank you
    sridhar.

  • Alert management mail with attachment

    I have to send an email from a custommer application, what I realize by a new alert category in tr. ALRTCATDEF. I trigger an email using F.M. SALRT_CREATE_API.
    However, I have to send an email with an attachment. Is there any possibility to add an attachment for email that is generated from alert management framework ?
    Please, advise.

    hi
    good
    This program will allowed you to send email with attachment.
    First, specify the attachment file from your local hardisk and execute.
    Next, specify the sender email address and click the send button.
    report y_cr17_mail.
    data method1 like sy-ucomm.
    data g_user like soudnamei1.
    data g_user_data like soudatai1.
    data g_owner like soud-usrnam.
    data g_receipients like soos1 occurs 0 with header line.
    data g_document like sood4 .
    data g_header like sood2.
    data g_folmam like sofm2.
    data g_objcnt like soli occurs 0 with header line.
    data g_objhead like soli occurs 0 with header line.
    data g_objpara  like selc occurs 0 with header line.
    data g_objparb  like soop1 occurs 0 with header line.
    data g_attachments like sood5 occurs 0 with header line.
    data g_references like soxrl occurs 0 with header line.
    data g_authority like sofa-usracc.
    data g_ref_document like sood4.
    data g_new_parent like soodk.
    data: begin of g_files occurs 10 ,
      text(4096) type c,
       end of g_files.
    data : fold_number(12) type c,
           fold_yr(2) type c,
           fold_type(3) type c.
    parameters ws_file(4096) type c default 'c:\debugger.txt'.
    Can me any file fromyour pc ....either xls or word or ppt etc ...
    g_user-sapname = sy-uname.
    call function 'SO_USER_READ_API1'
    exporting
       user                            = g_user
       PREPARE_FOR_FOLDER_ACCESS       = ' '
    importing
       user_data                       = g_user_data
    EXCEPTIONS
       USER_NOT_EXIST                  = 1
       PARAMETER_ERROR                 = 2
       X_ERROR                         = 3
       OTHERS                          = 4
    if sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    endif.
    fold_type = g_user_data-outboxfol+0(3).
    fold_yr = g_user_data-outboxfol+3(2).
    fold_number =  g_user_data-outboxfol+5(12).
    clear g_files.
    refresh : g_objcnt,
      g_objhead,
      g_objpara,
      g_objparb,
      g_receipients,
      g_attachments,
      g_references,
      g_files.
    method1 = 'SAVE'.
    g_document-foltp  = fold_type.
    g_document-folyr   = fold_yr.
    g_document-folno   = fold_number.
    g_document-objtp   = g_user_data-object_typ.
    *g_document-OBJYR   = '27'.
    *g_document-OBJNO   = '000000002365'.
    *g_document-OBJNAM = 'MESSAGE'.
    g_document-objdes   = 'sap-img.com testing by program'.
    g_document-folrg   = 'O'.
    *g_document-okcode   = 'CHNG'.
    g_document-objlen = '0'.
    g_document-file_ext = 'TXT'.
    g_header-objdes =  'sap-img.com testing by program'.
    g_header-file_ext = 'TXT'.
    call function 'SO_DOCUMENT_REPOSITORY_MANAGER'
      exporting
        method             = method1
       office_user        = sy-uname
       ref_document       = g_ref_document
       new_parent         =  g_new_parent
    importing
       authority          =  g_authority
    tables
       objcont            = g_objcnt
       objhead            = g_objhead
       objpara            = g_objpara
       objparb            = g_objparb
       recipients         = g_receipients
       attachments        = g_attachments
       references         = g_references
       files              = g_files
      changing
        document           = g_document
       header_data        = g_header
      FOLMEM_DATA        =
      RECEIVE_DATA       =
    File from the pc to send...
    method1 = 'ATTCREATEFROMPC'.
    g_files-text = ws_file.
    append g_files.
    call function 'SO_DOCUMENT_REPOSITORY_MANAGER'
      exporting
        method             = method1
       office_user        = g_owner
       ref_document       = g_ref_document
       new_parent         =  g_new_parent
    importing
       authority          =  g_authority
    tables
       objcont            = g_objcnt
       objhead            = g_objhead
       objpara            = g_objpara
       objparb            = g_objparb
       recipients         = g_receipients
       attachments        = g_attachments
       references         = g_references
       files              = g_files
      changing
        document           = g_document
       header_data        = g_header
    method1 = 'SEND'.
    g_receipients-recnam = 'MK085'.
    g_receipients-recesc = 'B'.
    g_receipients-sndex = 'X'.
    append  g_receipients.
    call function 'SO_DOCUMENT_REPOSITORY_MANAGER'
      exporting
        method             = method1
       office_user        = g_owner
       ref_document       = g_ref_document
       new_parent         =  g_new_parent
    importing
       authority          =  g_authority
    tables
       objcont            = g_objcnt
       objhead            = g_objhead
       objpara            = g_objpara
       objparb            = g_objparb
       recipients         = g_receipients
       attachments        = g_attachments
       references         = g_references
       files              = g_files
      changing
        document           = g_document
       header_data        = g_header.
    *-- End of Program
    thanks
    mrutyun^

  • SRM Contract alert management Workflow - WS10400022 Agents determination

    Hi Experts,
      I am trying to implement Alert management for SRM Contracts that are expired/ or the threshold is exceeded.
    All the necessary configs are done and the event linkage is also done for the workflow Template WS10400022.
    The task used in this workflow TS10407926, for agent determination, used the expression &Agents_0001.Agents&
    This container value is neither passed from the event linkage binding.
    Can anyone explain how this agent determination is done for this workflow?
    Your replies are very much appreciated
    Cheers,
    Prem.

    Hello,
    OK, i did not see the event linkage between event and workflow...
    Currently, &Agents_0001.Agents& is not populated with data coming from the event:
    Event is managed by BBP_EV_API_EVENTS_SAVE function modul, and inside this FM by CL_BBP_EVENTS class.
    Maybe you should open an OSS message and check all OSS notes dealing with BBP_CONTRACT_CHECK report.
    Regards.
    Laurent.

  • Alert management in SRM

    Hi,
    We are trying to configure alert management in SRM.
    Our requirement is to send an alert when ever a PO is approved/rejected/changed.
    We have maintained the Event Schema in the transaction type.
    Maintained the Event Schema for the events "Created" and "Sent" with Event deadline as "Zero".
    Under define recipients of notifications, "Approver" is set for "Approve Purchase Order" scenario.
    But still when we check for the alert inbox, there are no alerts present when the PO is approved.
    Is there any configurations missing?
    Please help!!!
    BR,
    Navin

    Hello Naveen,
    To define recipient of notifications, see below thread:
    [When PO rejected no message in inbox|When PO rejected no message in inbox;
    Regards.
    Laurent.

Maybe you are looking for

  • I want to send a photo in iPhoto11 but the from bar has an incorrect email address.  I tried to click on it to correct it, but it won't let me.

    I am trying t send a photo in iPhoto11 and cannot because the "From" box has the incorrect email address.  I tried to click on the "From" box but it won't budge.  How can I correct the incorrect email address?

  • Generate Excel file via code

    Hi, I know the user can export an Excel file once the report viewer is loaded, but I was wondering if it's possible to generate an Excel file via code (no viewer loaded)? thanks, Ron

  • 5520 does not print properly

    I replaced the black cartridge with a  new HP cartridge.   Now it won't rpint what is requested of it, butonly a page, nearly blank, but with some blue text.  (Appears to come from Yahoo mail:  has my yahoo mail address, and soem symbols at side to p

  • X6 -00 8gb folders dont open

    My partner went to open his contacts folder this evening on his X6 8gb and it doesnt respond and now some others wont respond and open either. Also he cant do check in on Ovi Maps and there is no 'Check In' Symbol, which only started tonight as well.

  • STRANGE TRANSFORMATION ERROR

    Hi Experts, I would try to explain my problem because I think it is so strange. I have a datasource and a ODS. I assign all the fields that I want (1to1) but when I save the transformation, automatic it assign one source field to two target fields. W