5

Custom Situation Cases: Configure a Simple Use Case (4/6)

 2 years ago
source link: https://blogs.sap.com/2022/03/16/custom-situation-cases-configure-a-simple-use-case-4-6/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
March 16, 2022 4 minute read

Custom Situation Cases: Configure a Simple Use Case (4/6)

With SAP S/4HANA Cloud 2202 you can now create your own situation use cases. In this blog post series, I’d like to introduce the new configuration apps based on demo cases. In the third part of this blog series, you learned how to create a situation scenario. Now let’s create the first template for a use case and derive a productive situation type to trigger situation instances.

New%20apps

New apps for the extended framework for Situation Handling

Demo Cases

To illustrate how you can create situation use cases from scratch, the extended framework comes with demo cases you can trigger with the Situation Handling Demo app. The app is based on a simplified booking portal that uses SFlight demo data. The configuration comprises two objects (Flight and Booking), one scenario (Flight Profitability), and three demo templates (Ecological Footprint, Sales Rate, and Booking Rate). See also: Situation Handling – Extended Framework.

Create a Situation Template

A situation template serves as a blueprint for a situation type that is used productively and creates situation instances. With the template you define the basic configuration. Let’s start with the simple demo case Ecological Footprint. It monitors the eco index of flights. The threshold defined in the condition section is the basis for creating situations.

Situation Instances

The standard settings for the instance behavior are unchanged. Each trigger creates a single situation instance and, after closing a situation, it remains in the system. The situations are displayed in the Instance List of the corresponding situation type in the Manage Situation Types – Extended app.

MST_1_SitInstances.png

General Actions

There is no one-click action for solving such an issue. That’s why a navigation option to a related app is used. The action is configured as a general action because it relates to the anchor object. It is automatically available for any anchor-trigger combination and displayed in the trigger details section as a navigation action.

MST_1_GeneralActions.png

Situation Triggers

The eco index only needs to be checked from time to time because it’s erratic. Also, numerous flights might be affected, which could lead to information overflow for the end user if each and every change is signaled directly. Therefore, the batch-based trigger Periodical Flight Check is used.

MST_1_SitTrigger.png

Trigger Details

You use the trigger details to define the conditions that determine if and when users will be notified about situations.

Conditions

To create situations, only one condition is necessary. The filters limit the monitoring to flights with an eco index above 80 % and departing within the next fourteen days.

Since no further conditions have been configured, all situations need to be closed manually.

MST_1_Conditions.png

Situation Display

Two different texts are defined for the situation display. One is shown in the My Situations – Extended app and the other in the notification on SAP Fiori launchpad. The situation text describes a single instance while the notification aggregates situations referring to the same airline, for instance: Critical Eco Index for LH. There are 5 LH flights with a critical eco index.

MST_1_SitDisplay.png

Notification Behavior

For notifications a standard behavior is selected.  It informs all users responsible when a situation has been created. If someone is already working on a situation, they also get a notification after updates occur.

MST_1_Notif.png

Navigation Actions

The general Display Airline action is automatically displayed in the Trigger Details section.

Batch Job Scheduling

The batch jobs are scheduled every Monday morning at eight o’clock.

MST_1_BatchJob.png

Recipients

Recipient determination works in the way you’re familiar with from the standard framework of Situation Handling.

Create a Situation Type

To trigger situation instances let’s create and enable a situation type called Critical Eco Index. The configuration of the template can be used right away for a productive situation type. We want to change the recipients and inform only the manager about critical eco indexes. Therefore, we’ll set the filter in the Member Functions to Manager.

MST_1_Recipients.png

The settings in the Manage Teams and Responsibilities app needs to reflect the roles in the Team Members section.

RM_TeamMembers.png

Informing End Users

The users responsible get a notification that aggregates the situation per airline.

MySIT_EXT_1_Notif.png

Selecting the notification takes you to the My Situations – Extended app. The situation page displays the detailed information as configured in the situation scenario, including the navigation option to a related app as configured in the situation type.

MySIT-EXT_1_SitPage.png

The next blog post illustrates how to configure an escalation case in which situation instances can be closed and reopened according to changing data.

Let me point you to further information:


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK