Start of Content Area

Function documentation Send Alerts for Process Chains  Locate the document in its SAP Library structure

Use

You can send alerts if errors occur while processing processes or in the background processing for a process chain. Process chain maintenance uses alert management for this purpose.

The alert is sent to the user who scheduled the process chain. You can assign additional recipients by assigning roles or specifying individual users in alert category maintenance (transaction ALRTCATDEF).

The recipient's display program displays the alerts. The display program can be the Universal Worklist (UWL) in the portal, the alert inbox (transaction ALRTINBOX) or an application that calls alerts using API. You can also send alerts by E-Mail, fax or SMS. This is dependent on the configuration.

Features

If you have set the indicator in attribute maintenance for the process chain, an alert is sent by default for each process that has errors.

Before the system can trigger and send alerts, alert categories have to be assigned to the process types. The recipient, texts, priorities, escalation options, and so on can be determined in an alert category. The system determines the alert category as follows:

·        Errors in background processing

Alert category BWAC_PROCESS_CHAIN_FRAMEWORK is used for errors in background processing. For this category, fixed alert texts are delivered. These can be sent to the recipients if an alert occurs.

·        Errors in the process

The system searches table RSPC_ALERT_CAT for an entry for the process type (process chain maintenance  Settings  Maintain Alert Categories). You can change the entries in this table. It is locked against changes through SAP deliveries. This means that additional entries that are delivered can be transferred, but the existing entries are not overwritten.

Maintain the table in two ways:

¡        Assign a customer-defined alert category to a process type

¡        Assign a class, which implements interface IF_RSPC_EVENT_RESOLUTION. Method if_rspc_event_resolution~get_category receives process variants and instances and determines the alert category dynamically.

Since this class does not have to be identical to the class that implements the other process chain interfaces for this type, you can also implement alert triggers for SAP process types, without modification.

You can include instances of alerting where the exception DONT_RAISE is triggered. 

If you do not enter a customer-specific alert category in the table, the system uses the alert category delivered for this process type.

You can exclude a process type from alerting by selecting No Alert for the process type in table RCPC_ALERT_CAT.

If table RSPC_ALERT_CAT does not contain entries for a process type, the system uses category BWAC_PROCESS_CHAIN_ERROR. This category uses the generic information on the process for the dynamic texts. This is also used when the system sends messages. Unlike sending messages using process chain maintenance, you can create an individual text for each process.

See also:

Alert Management 

Defining Alert Categories

 

End of Content Area