Skip to Content
One of the new distribution types for Information Broadcasting in SAP NetWeaver 2004s is exception broadcasting. (For an overview of the new features, see the blog Summary of New Features for Information Broadcasting in SAP NetWeaver 2004s.)

With “Broadcast According to Exceptions”, the system executes an exception query in the background. If an exception is found, the system generates the appropriate action (an alert, an e-mail, or a document exported to the portal) based on settings that the user selects in the SAP Business Explorer (BEx) Broadcaster. In this way, the interested party is notified automatically when a problem occurs or is imminent (“pushing” information) and is directed to the specific problem rather than having to “pull” the information by executing reports and searching for possible problem areas. Clearly, this is a much more efficient method of identifying areas that need attention and ultimately, we hope, resolving the underlying issues.

Exception broadcasting requires configuration in three different areas:

– BEx Query Designer

– Alert Management

– BEx Broadcaster

The following diagram illustrates the relationships among these functions:

image

The remaining sections of this blog describe the steps for implementing exception broadcasting.

Create an Exception Query

In the BEx Query Designer, you add an exception to your query as illustrated below. In the exception definition, you identify thresholds at which you want the query results highlighted when reached or exceeded. Exceptions can include multiple alert levels – you can highlight both favorable and unfavorable results and have several levels of severity. In this example, we have set two alert levels: critical, which are areas that require monitoring, and bad, which are areas that require immediate action.

image

For more information, see Defining Exceptions in the online help.

The figure below shows the resulting query, based on current information:

image

Configure Alert Management

Alert management is a centralized function of the SAP NetWeaver Application Server. This tool allows you to manage all of your SAP alerts, not just BI alerts, in one place.

Transaction ALRTCATDEF accesses the screen for alert category definition. Below you can see the tabs for the different alert category settings. The buttons at the top allow you to set identify the recipients for the alert communication. You can establish fixed recipients, recipients via roles or recipients with the option to subscribe to the alert (also via roles).

image

In the “Container” tab, you create container elements for the parameters that you want to pass from BI to the alert message. In this example, we want to identify the country and distribution channel where the exception is occurring.

image

In the “Long and Short Text” tab, you define the text for the alert message, including text variables if desired. As well as some pre-defined system variables, the user has the option of including variables for the container items created on the previous tab. In this way, you can include the BI parameters in the text to identify the location of the problem to the user, without requiring them to execute the exception query to determine this information.

image

The alert communication will automatically include a link to the broadcast settings that generated the alert, as well as to the underlying exception query. You can optionally identify an additional URL, for additional research perhaps, in the “Optional Subseq. Activities” tab.

For more information, see Alert Management in the online help.

Create a Broadcast Setting

In the BEx Broadcaster, you select the exception query and “Create New Setting”. This opens the Setting pane in the lower section of the window as shown below. The tabs that are displayed in the Settings pane are dependent on the distribution type and output format selections. Once you select “Broadcast According to Exceptions”, you will see a subordinate distribution type in the first tab. (The output format “Exceptions” is the only valid format for this distribution type and therefore is automatically selected.) The options for subordinate distribution type are shown below:

image

Choosing the subordinate distribution type (in this case, we are selecting “Create Alert”) generates another update to the display within the tab. Notice that one of the new fields is a second subordinate distribution type – you can create multiple distributions within the same setting.

The selection criterion dropdown list allows you to choose between “Exception” and “Exception/Alert Level”. If you choose the first, then an alert will be sent when any exception threshold is met. In this case, we only want an alert to be created when immediate action is required, therefore, we only want to generate an alert if the alert level is “Bad 3” and will choose the second option. The value dropdown to the right of the selection criterion allows you then to choose the desired alert level.

image

Just above the value dropdown is a link (“Create”) to additional parameters for this subordinate distribution type. Select this link to open a new window, as illustrated below. In the first tab, you select the alert category that you defined in Alert Management and have the option to send the alert to the recipients defined there or to different recipients, which you define here.

image

In the next tab of the parameters screen, you identify which of the parameters that you want to pass from Information Broadcasting to Alert Management. These options are automatically generated from the Container configuration that you performed for your alert category. From the associated dropdown list, you select the text variable used for each parameter. You have a choice of sending the description (e.g., Canada) or the ID (e.g., CA).

image

In this example, we select an additional distribution by e-mail. In the figure below, you can see that the selection criterion is the same. You can select between an “Exception Overview” and “Exception Details” document. For this output, you can choose among different formats.

image

Once again, you will set some additional parameters that are specific to this distribution type. Click on the “Create” link and the following window is displayed, where you can define recipients and text for the e-mail.

image

Now that the settings are complete, you can execute the broadcast ad hoc to test it. The example below reflects the expected results.

image

Schedule a Broadcast Setting

For exception broadcasting, however, normally you will want to schedule the broadcast so that the exception report will be processed on a regular timeframe or based on an event, such as loading data to an InfoCube. Before you can schedule the broadcast, you must first save the setting.

image

The scheduling options are illustrated in the following figure.

image

The first section reflects event-based scheduling – this option is available if system administration has included the “Trigger Event Data Change (for Broadcaster)” process type in a process change for the relevant BI object. For more information, see Including Event Data Changes in Process Chains in the online help.

The system administrator also performs configuration that determines the options available in the second session. Background jobs define the possible broadcasting times. For more information, see Defining Times for Broadcast Scheduling in the online help.

The final section allows the user to schedule a new broadcast time and frequency.

Broadcasting Results

The “Create Alert” distribution type generates an alert to the Universal Worklist (UWL) of the recipient in the SAP NetWeaver Portal as illustrated below. (It can also be configured to generate messages via SMS, pager, e-mail or fax, as shown in the architecture figure at the beginning of this blog.) For more information on configuration of the UWL, see Universal Worklist Configuration in the online help.

image

Clicking on the alert item in the UWL opens a window with the alert details. In the example below, you can see the message, including the links to the underlying exception query and to the broadcast settings.

image

The “Broadcast E-mail” distribution type generates the following e-mail:

image

Additionally, although we did not choose this option in the scenario above, you can broadcast an exception document to Knowledge Management (KM) folders in the SAP NetWeaver Portal. The following is an example of the exception document in KM:

image

For additional information on exception broadcasting as well as general information about this process, see Information Broadcasting in the online help.

To report this post you need to login first.

10 Comments

You must be Logged on to comment or reply to a post.

  1. Karthik R
    We have a scenario in exception reporting.

    We generate report of all employees whose work permit expires in next 3 months.

    We need to send alerts ONLY to those employees whose work permit expires. So, in this case,
    the email recipients are known only during runtime.

    How do we achieve this ?

    I have posted this in reporting forum in SDN, but, no answers. We need a solution for this scenario.

    Please suggest.

    Thanks,
    Karthik

    (0) 
    1. Hi Karthik,

      This isn’t a question that I can answer. Please give me the link for your forum posting, and I will ask some of my colleagues in consulting to look at it.

      Regards,
      Katie

      (0) 
  2. Anil Bavaraju
    Very Helpful Blog!!!….
    It is mentioned that we can broadcast query to Fax as well, but i did not find any option as such. Can you please let me know where do i need to configure settings to Fax the report.
    (0) 
    1. Hi Anil,

      You don’t broadcast a query to Fax per se, but rather generate an alert via the central alert framework. Per the documentation on configuring alert processing: “If the alerts are sent from the central alert with external communication methods (e-mail, sms, or fax), the chosen external communication method must be correctly configured in SAPconnect.” You can find the documentation on SAPconnect at http://help.sap.com/saphelp_nw70/helpdata/en/2b/d925bf4b8a11d1894c0000e8323c4f/frameset.htm.

      Regards,
      Katie

      (0) 
  3. Oscar Díaz
    Thank you ….it was very well explained and clear with the screens….its a not very common functionality of BEX but one of the most impressive issue to show….

    Regards

    (0) 
  4. Ravi Sinha
    Hi,

    I am try to send mail by Broadcast according to exception but Distribution type Broadcast according to Exception and Alert are not showing in Distribution type.
    I have given all authorization for example s_rs_Adm but still it is not showing. is it required any other setting to Enable Distribution type?
    All this i am doing through RSRT Transction, is it necessary to do with portal or WAD?

    (0) 

Leave a Reply