Skip to Content
Technical Articles
Author's profile photo arghadip kar

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

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

The Business Object is BUS2007

Now let us go to Transaction code PFTC

Create a New Workflow Template

Give a Proper Description as mentioned below and Save It

Workflow Template Number is generated

 

Now we are going to create a Container element

Create the Container element Referencing the Business Object which is BUS2007

 

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

Now mention the Business Object and Event accordingly

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

The Linkage configuration is saved in a Customizing Request

 

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

 

 

Now right Click on the Design and Click on Create

 

Choose Send email step as mentioned

 

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

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

Now we activate the Workflow

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

Follow the Path below to TECO an Order

 

Select the Green Tick Button

The PM Order has ben Changed/TECOd

 

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

 

The Workflow has been triggered

 

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

 

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

 

Below we have more information

 

Conclusion

This blog can be used for both SAP ECC and SAP S/4HANA

 

Below is the Video Version

 

 

 

 

 

 

 

 

 

 

 

 

Assigned Tags

      6 Comments
      You must be Logged on to comment or reply to a post.
      Author's profile photo venu gopal
      venu gopal

      Wonderfull blog..Thanks a lot for sharing.

      Author's profile photo arghadip kar
      arghadip kar
      Blog Post Author

      You are most welcome

      Author's profile photo Shri y
      Shri y

      hi arghadip kar

      I am new to workflow have similar requirement client needs email triggering in outlook when maintenance order/ Notification created through maintenance plan is due.

      Need some inputs

      1. client needs email triggering only for those persons whose task is due to alert the concern person.
      2. where to maintain user details in sap PM master data.?
      3. how to map this requirement is it possible in standard or through enhancement.?

      Thank You

      Author's profile photo Marcel Pirvu
      Marcel Pirvu

      How can we restrict this at plant level- meaning i want to activate this only for a plants - to send the e-mail only for the notifications created in 1 plant to just 1 user without touching the other plants.?

      Author's profile photo Ganesh Navale
      Ganesh Navale

      Hi,

       

      Can you share blog where ABAP class used instead of BOR to send the mail?

      Author's profile photo Ritesh Garg
      Ritesh Garg

      Dear Sir,

      Can you send same for project TECO.