167655139-exchange-infrastructure.pdf

Upload: robertofaccini64

Post on 02-Jun-2018

217 views

Category:

Documents


0 download

TRANSCRIPT

  • 8/10/2019 167655139-Exchange-Infrastructure.pdf

    1/8

    Exchange Infrastructure (XI)

    XI Scenarios

    Alert Configuration in XI

    By Suraj Kumar Pabbathi, PI Competency Lead, YASH Technologies

    Alert:

    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.

    Alerts can be used to prevent delays in the processing of critical situations, because the time

    between discovering and responding to such situations is reduced considerably.

    Now we will go through the steps required for Alert Configuration,

    1. Alert Classification

    To be able to send different types of alerts under specific conditions, different alert

    categoriesare to be defined. A category contains various properties and other

    specifications that define the alerts within that category, for example expiry date, or

    the escalation recipient.

    Alert categories can be assigned to an alert classification. If you do not want to create a

    classification on your own, you can always create categories within the default

    classification folder Unclassified. However, for a better overview, it is recommendable to

    create different alert classifications to group alert categories that belong to the same topic.

    Procedure to Create Alert Classification,

    Open the alert category/classification definition environment (transaction

    ALRTCATDEF).

    Ensure you are in change mode.

    In the group box with the alert classifications, right-click All classifications to

    open the context menu, and choose Create. Under Classification, enter a name for the classification.

    Under Description, enter a description of the classification.

    Save your entries.

    http://help.sap.com/saphelp_erp2005vp/helpdata/en/bb/f0033c128f4a7de10000000a114084/content.htmhttp://help.sap.com/saphelp_erp2005vp/helpdata/en/bb/f0033c128f4a7de10000000a114084/content.htmhttp://help.sap.com/saphelp_erp2005vp/helpdata/en/bb/f0033c128f4a7de10000000a114084/content.htmhttp://help.sap.com/saphelp_erp2005vp/helpdata/en/bb/f0033c128f4a7de10000000a114084/content.htmhttp://help.sap.com/saphelp_erp2005vp/helpdata/en/bb/f0033c128f4a7de10000000a114084/content.htm
  • 8/10/2019 167655139-Exchange-Infrastructure.pdf

    2/8

    Go to Transaction code ALRTCATDEF and make sure that you are in change mode,

    2. Alert Category

    An alert category contains various properties and other specifications that define the

    alertswithin that category. The category defines the conditions when a specific alert is

    sent to whom.

    Alert categories can be defined by applications or customers using the alert category

    definition environment, which is accessed in transaction ALRTCATDEF. You can

    define an alert category to suit your business requirements. When the critical situation

    defined in the alert category arises, the system recognizes this and sends an alert instance

    of this category to the recipients determined.

    Procedure to Create Alert Category

    Ensure that you are in change mode in the alert category definition environment(transaction ALRTCATDEF).

    Choose Create Alert Category.

    On the Propertiestab page:

    In the Descript ion field, enter a description for the alert category. Choose a description that isinformative with respect to the content of the alert category. The description is language-dependent.

    If required, you can select a classification in the Classif icat ion field. If you do not choose aspecific classification, the category is stored in the classification folder Unclassified. For moreinformation on classifications, seeAlert Classification.

    In the Max. No. of Delsfield, specify a maximum number of times that an alert of this category isto be delivered if it is not confirmed. This refers to delivery using a communication channel otherthan to the recipients display program (UWL, application-specific program, oralert inbox).

    Select Dynamic Textif the texts of the alert category cannot be defined at this stage. This refersto situations in which the texts are not known until runtime.

    http://help.sap.com/saphelp_erp2005vp/helpdata/en/45/732041c877f623e10000000a155106/content.htmhttp://help.sap.com/saphelp_erp2005vp/helpdata/en/45/732041c877f623e10000000a155106/content.htmhttp://help.sap.com/saphelp_erp2005vp/helpdata/en/45/732041c877f623e10000000a155106/content.htmhttp://help.sap.com/saphelp_erp2005vp/helpdata/en/82/f1b14000eef20fe10000000a1550b0/content.htmhttp://help.sap.com/saphelp_erp2005vp/helpdata/en/82/f1b14000eef20fe10000000a1550b0/content.htmhttp://help.sap.com/saphelp_erp2005vp/helpdata/en/82/f1b14000eef20fe10000000a1550b0/content.htmhttp://help.sap.com/saphelp_erp2005vp/helpdata/en/82/f1b14000eef20fe10000000a1550b0/content.htmhttp://help.sap.com/saphelp_erp2005vp/helpdata/en/45/732041c877f623e10000000a155106/content.htm
  • 8/10/2019 167655139-Exchange-Infrastructure.pdf

    3/8

    o No translation can be performed for alerts with dynamic text. System messages can beentered manually in several languages.

    In the Expiry Time in Min.field, you can enter a life span for alerts of this category if the alerts willno longer be relevant after a specific period of time. If the expiry time elapses, the alert is removedfrom the alert inbox and is no longer delivered using any other channel.

    Continued...

    On the Containertab page,

    Define any variables that you may want to use in the short text or long text. You can alsodefine other application-specific variables, such as company code or material number. These

    variables are then replaced at runtime with values from the application. It is therefore the

    interface between the application that triggers the alert and the central Alert Framework.

    http://saptechnical.com/Tutorials/XI/AlertConfiguration/AC2.htmhttp://saptechnical.com/Tutorials/XI/AlertConfiguration/AC2.htmhttp://saptechnical.com/Tutorials/XI/AlertConfiguration/AC2.htm
  • 8/10/2019 167655139-Exchange-Infrastructure.pdf

    4/8

    Internal Usage of the Container

    The Alert Framework uses the alert container not only for the exchange of application-

    specific variables, but also for the exchange of internal information. The following variables

    are used for this purpose.

    Name Meaning Typing

    _ALERT_RECIPIENTS Recipient list type salrttrcp

    _ALERT_ACTIVITIES Subsequent activities type table of salrtsacti

    _ALERT_EXPIRATION Expiry date/time

    (time stamp)

    type timestamp

    _ALERT_DYNAMIC_SHORTTEXT Short text type salrtdcatd (CHAR60)

    _ALERT_DYNAMIC_LONGTEXT Long text type table of CHAR255

    _EVT_OBJECT Triggering object type BORIDENT

    _ALERT_LOGICAL_SYSTEM Logical system in

    which the alert is

    triggered

    type RFCDEST

  • 8/10/2019 167655139-Exchange-Infrastructure.pdf

    5/8

    On the Short and Long Texttab 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

    &&.

  • 8/10/2019 167655139-Exchange-Infrastructure.pdf

    6/8

    Continued...

    Recipient Determination

    Alert Management must know who the recipients of alerts of a particular category are, so thatit can inform the correct parties. There are various ways of determining the recipients of

    alerts. Below you can see three ways of specifying recipients.

    A system administrator determines the recipients of a particular alert category in the

    definition environment (transaction ALRTCATDEF). The administrator can define individual

    recipients (using Fixed Recipients) or roles (using Recipients Via User Roles). If a role isspecified, all recipients who have the assigned role receive the alerts of the category in

    question.

    Define Alert Rule

    Define Alert Rule in RWB -> Alert Configuration

    Select the our own Alert Category

    http://saptechnical.com/Tutorials/XI/AlertConfiguration/AC3.htmhttp://saptechnical.com/Tutorials/XI/AlertConfiguration/AC3.htmhttp://saptechnical.com/Tutorials/XI/AlertConfiguration/AC3.htm
  • 8/10/2019 167655139-Exchange-Infrastructure.pdf

    7/8

    Click to Add Rule and activate the corresponding rule

    With the above steps we are done with the Alert Configuration. Now define any Integration

    process where after a Receive step include a Switch step/ fork where we can send alert to

    required recipient by specifying Alert Category.

    To see whether Alert has been triggered or not, Go to RWB -> ALERT INBOXand see any

    mail came to the Alert Inbox or run transaction SOSTin SAP system where you will see the

    details of all send requests.

  • 8/10/2019 167655139-Exchange-Infrastructure.pdf

    8/8