Sunday, 29 November 2020

How to Generate a Email Notification when PM Order/Workorder is Technical completed?

Introduction

This blog will cover the condition where you can generate a Notification to Appropriate Authority which can be a Buyer/Procurement Department , Accounts Payable Department/ Finance Department etc, that a Plant Maintenance Order/Workorder has been Technically Completed(TECO).

Solution

First we Login to SAP and Go to Transaction Code IW33. Display a PM Order

SAP HANA Tutorial and Material, SAP HANA Learning, SAP HANA Guides, SAP HANA Certification, SAP HANA Exam Prep

Now go to the following path and Check the Business Object Associated with PM Order.

SAP HANA Tutorial and Material, SAP HANA Learning, SAP HANA Guides, SAP HANA Certification, SAP HANA Exam Prep

The Business Object is BUS2007

SAP HANA Tutorial and Material, SAP HANA Learning, SAP HANA Guides, SAP HANA Certification, SAP HANA Exam Prep

Now let us go to Transaction code PFTC

SAP HANA Tutorial and Material, SAP HANA Learning, SAP HANA Guides, SAP HANA Certification, SAP HANA Exam Prep

Create a New Workflow Template

SAP HANA Tutorial and Material, SAP HANA Learning, SAP HANA Guides, SAP HANA Certification, SAP HANA Exam Prep

Give a Proper Description as mentioned below and Save It

SAP HANA Tutorial and Material, SAP HANA Learning, SAP HANA Guides, SAP HANA Certification, SAP HANA Exam Prep

Workflow Template Number is generated

SAP HANA Tutorial and Material, SAP HANA Learning, SAP HANA Guides, SAP HANA Certification, SAP HANA Exam Prep

Now we are going to create a Container element

SAP HANA Tutorial and Material, SAP HANA Learning, SAP HANA Guides, SAP HANA Certification, SAP HANA Exam Prep

Create the Container element Referencing the Business Object which is BUS2007

SAP HANA Tutorial and Material, SAP HANA Learning, SAP HANA Guides, SAP HANA Certification, SAP HANA Exam Prep

Make sure you make the Container Element Properties both Import and Export

SAP HANA Tutorial and Material, SAP HANA Learning, SAP HANA Guides, SAP HANA Certification, SAP HANA Exam Prep

Now mention the Business Object and Event accordingly

SAP HANA Tutorial and Material, SAP HANA Learning, SAP HANA Guides, SAP HANA Certification, SAP HANA Exam Prep

Select the Linkage button to Activate the Linkage between Event and Workflow

SAP HANA Tutorial and Material, SAP HANA Learning, SAP HANA Guides, SAP HANA Certification, SAP HANA Exam Prep

The Linkage configuration is saved in a Customizing Request

SAP HANA Tutorial and Material, SAP HANA Learning, SAP HANA Guides, SAP HANA Certification, SAP HANA Exam Prep

Now we click on Worlflow Builder to build our Workflow Steps.

SAP HANA Tutorial and Material, SAP HANA Learning, SAP HANA Guides, SAP HANA Certification, SAP HANA Exam Prep

Now right Click on the Design and Click on Create

SAP HANA Tutorial and Material, SAP HANA Learning, SAP HANA Guides, SAP HANA Certification, SAP HANA Exam Prep

Choose Send email step as mentioned

SAP HANA Tutorial and Material, SAP HANA Learning, SAP HANA Guides, SAP HANA Certification, SAP HANA Exam Prep

Now provide the below information that will appear in the notification email and hit Enter or green Tick

SAP HANA Tutorial and Material, SAP HANA Learning, SAP HANA Guides, SAP HANA Certification, SAP HANA Exam Prep

Create the email task as mentioned below or based on your naming convention

SAP HANA Tutorial and Material, SAP HANA Learning, SAP HANA Guides, SAP HANA Certification, SAP HANA Exam Prep

Now we activate the Workflow

SAP HANA Tutorial and Material, SAP HANA Learning, SAP HANA Guides, SAP HANA Certification, SAP HANA Exam Prep

Now let us Go to Transaction Code IW32 to test the Workflow

SAP HANA Tutorial and Material, SAP HANA Learning, SAP HANA Guides, SAP HANA Certification, SAP HANA Exam Prep

Follow the Path below to TECO an Order

SAP HANA Tutorial and Material, SAP HANA Learning, SAP HANA Guides, SAP HANA Certification, SAP HANA Exam Prep

Select the Green Tick Button

SAP HANA Tutorial and Material, SAP HANA Learning, SAP HANA Guides, SAP HANA Certification, SAP HANA Exam Prep

The PM Order has ben Changed/TECOd

SAP HANA Tutorial and Material, SAP HANA Learning, SAP HANA Guides, SAP HANA Certification, SAP HANA Exam Prep

Now let us go to Display Transaction Code IW33 and check Workflow Log

SAP HANA Tutorial and Material, SAP HANA Learning, SAP HANA Guides, SAP HANA Certification, SAP HANA Exam Prep

The Workflow has been triggered

SAP HANA Tutorial and Material, SAP HANA Learning, SAP HANA Guides, SAP HANA Certification, SAP HANA Exam Prep

Now let us go to SOST Transaction code to Check the Outgoing email in SAP

SAP HANA Tutorial and Material, SAP HANA Learning, SAP HANA Guides, SAP HANA Certification, SAP HANA Exam Prep

Here is our Email Notification that got generated from Workflow we designed.Select the Entry and click on Display

SAP HANA Tutorial and Material, SAP HANA Learning, SAP HANA Guides, SAP HANA Certification, SAP HANA Exam Prep

Below we have more information

SAP HANA Tutorial and Material, SAP HANA Learning, SAP HANA Guides, SAP HANA Certification, SAP HANA Exam Prep

No comments:

Post a Comment