Show TOC

Creating Alert CategoriesLocate this document in the navigation structure

Use

You create an alert category to use in alert rules .

Prerequisites

You have started the Runtime Workbench and have chosen Alert Configuration on the initial screen.

Procedure

To create an alert category, proceed as follows:

  1. 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.

  2. Enter the following values:

    • The receiver of the alert

    • The title of the alert

    • The text of the alert, including container variables that are automatically created and filled at runtime.

      Container Variable

      ABAP Dictionary Data Type

      Description

      SXMS_MSG_GUID

      SXMSMGUIDC

      Message ID

      SXMS_RULE_NAME

      SXMSDESCR

      Description of the alert rule

      SXMS_ERROR_CAT

      SXMSERRCAT

      Error category

      SXMS_ERROR_CODE

      CHAR70

      Error code

      SXMS_FROM_PARTY

      SXI_FROM_PARTY

      Sender party

      SXMS_FROM_SERVICE

      SXI_FROM_SERVICE

      Sender component

      SXMS_FROM_NAMESPACE

      SXI_FROM_ACTION_NS

      Sender namespace

      SXMS_FROM_INTERFACE

      SXI_FROM_ACTION

      Sender interface

      SXMS_TO_PARTY

      SXI_TO_PARTY

      Receiver party

      SXMS_TO_SERVICE

      SXI_TO_SERVICE

      Receiver component

      SXMS_TO_NAMESPACE

      SXI_TO_ACTION_NS

      Receiver namespace

      SXMS_TO_INTERFACE

      SXI_TO_ACTION

      Receiver interface

      Note

      You cannot use these container variables for alerts of the Business Process Engine (BPE).

      Container Element

      ABAP Dictionary Data Type

      Description

      SXMS_TO_ADAPTER_TYPE

      CHAR70

      Adapter type

      SXMS_TO_ADAPTER_ERRTXT

      CHAR70

      Error text from the Adapter Engine

      Caution

      The value of the variable SXMS_TO_ADAPTER_ERRTXT is restricted to 80 characters (truncation). In case an error text has more than 80 characters, you can use container variable SXMS_TO_ADAPTER_ERRLINES. For more information, see SAP Note 1294312 Information published on SAP site.

      Container Element

      ABAP Dictionary Data Type

      Description

      SXMS_AF_ERRPAR1 ... 15

      CHAR32

      Name of error parameters 1 to 15

      SXMS_AF_ERRVAL1 ... 15

      CHAR70

      Content of error parameters 1 to 15

    • The follow-up activity

      Specify the URL of the required follow-up activity. At runtime, the link address of message monitoring is always entered as the standard follow-up activity.

  3. Once you have created a new alert category, choose Update Table to display the category in the alert category selection table. This table lists all existing alert categories.

For more information about creating alert categories, see Defining Alert Categories .