Custom Situation Use Cases for SAP S/4HANA
With SAP S/4HANA 2021 FPS2 you can create your own situation use cases with the extended framework for Situation Handling. The extended framework comes with three new configuration apps: Mange Situation Objects, Manage Situation Scenarios, and Manage Situation Types – Extended.
The end user gets an enhanced app, My Situations – Extended that shows all the situation details. If you want to explore how the configuration works, check out the predelivered demo cases and trigger situations using the Situation Handling Demo app. You can find the details of the demo configuration in this blog post series.
Configuration of Custom Situation Use Cases
Situation Handling is loosely coupled with business applications. This means, it requires
- no change of business applications
- no change of business processes
You can add It any time.
To create custom use cases, you start with situation objects. A situation object represents a business object that reuses application artefacts. You select the CDS view that contains the object’s data and events that trigger situations. And you choose actions and navigation targets to related apps that support the user in solving situations.
A contract, for example, is assigned with specific events such as creation, update, and expiration. Examples for end user actions are the validity extension as well as navigating to a related business app where the contract data can be maintained.
In the next step you connect situation objects in a situation scenario which covers a business scope. A scenario has one anchor object that is affected by situations and multiple trigger objects that can cause situations. All features of the objects are available in the scenario. You could combine, for instance, the contract object with the supplier object as a basis for contract situations triggered by supplier events, like a drop in the performance rating.
In a scenario, you also define the layout of the situation page of the My Situations – Extended app. You do so by selecting data from the CDS views of the anchor object and trigger object, that is relevant for solving the situation.
Finally, you create a situation type, refine the configuration for the specific use case, and transport it to the productive system to create situations.
This four-layer approach lets you configure your own use cases in a generic yet controlled way.
For more information, see:
- SAP Help Portal: Situation Handling – Extended Framework for SAP S/4HANA
- Blog post series about demo configurations for Custom Situation Cases
- SAP Community: Intelligent Situation Handling