40

Email notification for Flexible workflow – Purchase Order

 2 years ago
source link: https://blogs.sap.com/2022/06/06/email-notification-for-flexible-workflow-purchase-order/
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.
neoserver,ios ssh client
June 6, 2022 3 minute read

Email notification for Flexible workflow – Purchase Order

Introduction:

The purpose of this blog is to provide an overview on how ‘Maintain Email Template’ app can be used to notify approver once PO is created and creator once PO is approved/rejected via email notification. This functionality is available in both on premise and cloud version of S/4HANA.

Pre-requisite:

  • Flexible workflow for Purchase Orders should have been configured.
  • External mail sent (SCOT) setting should be in place.

Set up:

Open Maintain Email Template app.

Picture1-39.png

Part A) Settings to inform approver about newly assigned task via email.

  • Go to Predelivered section and select the template ‘SWF_CRT_NOTIFY_RECIPIENTS’ and click on Copy button.
Picture2-40.png
  • Provide the Email Template name in the ‘YY1_Scenarioid_CRT_ACTIVITY_NODEID’ or ‘YY1_Scenarioid_CRT_ALL’ format and click on Copy button.

Picture3-28.png

  • Navigate to the copied template and provide the email subject, body and click on Save button. SAP has provided multiple variable data fields which can be used to pass the required values from SAP in email content
Picture4-28.png
Picture5-22.png

Part B) Settings to inform approver once the purchase order is approved/rejected.

  • Select the template ‘SWF_CRT_NOTIFY_RECIPIENTS’ and click on Copy button.
Picture6-27.png
  • Provide the Email Template name in the ‘YY1_Scenarioid_COMPLETE_POSITIVE’ or ‘YY1_Scenarioid_COMPLETE_NEGATIVE’ format and click on Copy button.

Picture7-23.png

  • Navigate to the copied template and provide the email subject, body and click on Save button.
Picture8-20.png
  • In the same way, create a custom template for negative scenario as well which will be triggered if PO is rejected by approver.
  • All the three templates can be seen in Custom Section. This completes our setting in ‘Maintain Email Template’ app.
Picture9-13.png

Execution:

  • Create a PO
Picture10-14.png
  • Verify Email triggered to PO approver in SOST

Picture11-13.png

Picture12-12.png
  • Approve PO in My Inbox app
Picture13-12.png
  • Verify Email triggered to PO creator once the PO is approved

Picture14-9.png

Picture15-7.png

Conclusion:

This article will help consultants to understand how email notification can be activated using ‘Maintain Email Template’ app if they are using Flexible workflow for PO approval.

Useful link and OSS notes:

https://fioriappslibrary.hana.ondemand.com/sap/fix/externalViewer/#/detail/Apps(‘F1306’)/S23OP

SAP note 2578976 : No Business Catalog Available in Fiori Launchpad Designer

SAP note 3193319 : Cannot save the workflow email templates with the expected pattern in the Maintain Email Templates app

Any feedback or thoughts in the comment section is highly appreciable.


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK