Unlocking the Future of AI Agents with Large Language Models
GU_SAP S4 HANA CLOUD_How to Set Up the Email Notification for Flexible Workflow in SAP S4HANA Cloud.docx
1. Mickaël QUESNOT https://www.linkedin.com/in/mickaelquesnot/
Twitter @mistersharesap
1 | P a g e
How to Set Up the Email Notification for Flexible Workflow in SAP S/4HANA public
Cloud
Background
SAP has provided a Standard Solution to notify the users about new work items
generated by flexible workflow and displayed in the ‘My Inbox’ app.
Introduction
The default notification in SAP S/4HANA public Cloud is through alerts that are
displayed in the SAP Fiori Launchpad, but it is also possible to configure the system to
notify users via email about new work items in their inbox.
Moreover, it is possible to configure the system to send notification for approval or
rejection of requests.
In this doc the steps to set up the email notification for the Release of Purchase
order will be shown.
Pre-requisites
The Flexible workflow has been already configured.
2. Mickaël QUESNOT https://www.linkedin.com/in/mickaelquesnot/
Twitter @mistersharesap
2 | P a g e
Sender email address must be setup in the system.
How to set up the email notification
For the setup of the email notification and customising of the email workflow messages,
we will use the “Maintain Email Templates” app:
4. Mickaël QUESNOT https://www.linkedin.com/in/mickaelquesnot/
Twitter @mistersharesap
4 | P a g e
Create a copy of the template following the pattern specified in the standard email
description <YY1>_<Scenario_id>_CRT_ALL or <YY1>_<Scenario_id>_
For the notification about the approval or rejection we will use the pre-delivered
template SWF_WORKFLOW_COMPLETE_NOTIFY with the following pattern:
12. Mickaël QUESNOT https://www.linkedin.com/in/mickaelquesnot/
Twitter @mistersharesap
12 | P a g e
Can be used to send notification mail to the recipients of the work item. The custom
templates has to follow the pattern: <YY1>_<ScenarioId>_<CRT>_<ACTIVITY_NODEID>
or <YY1>_<ScenarioId>_CRT_ALL
13. Mickaël QUESNOT https://www.linkedin.com/in/mickaelquesnot/
Twitter @mistersharesap
13 | P a g e
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta content="HTML Tidy for SAP R/3 (vers 25 March 2009), see www.w3.org"
name="generator" />
<title></title>
</head>
<body data-bodyexists="true">
14. Mickaël QUESNOT https://www.linkedin.com/in/mickaelquesnot/
Twitter @mistersharesap
14 | P a g e
<p>L’instance de tâche ayant l’ID interne « {{WorkflowTaskInternalID}} »
et le nom « {{TaskName}} » a été créée pour vous. Veuillez vérifier votre
boîte de réception e-mail.</p>
</body>
</html>
We can customise the email subject and the body. In our case, we also added the URL to
navigate to the work item. The receiver will click on the link that will open the related
work item directly in the ‘My Inbox’ app.