Enterprise Resource Planning Blogs by Members
Gain new perspectives and knowledge about enterprise resource planning in blog posts from community members. Share your own comments and ERP insights today!
cancel
Showing results for 
Search instead for 
Did you mean: 
former_member182535
Active Contributor

Auto Mail trigger during malfunction notification and Maintenance order creation without workflow process


Explanation: - Whenever user will be creating malfunction notification, Maintenance order or generated by the system through background, system will check mail id against Equipment in custom table and mail will shoot to concern person, which is responsible for concern equipment. So, that we can easily approach from user and can take up fast action for stabilize to equipment health.

As mentioned logic can implement with help from Technical consultant, if you don’t want to use workflow process for mail trigger.

Process Logic:

  1. Firstly maintain Email id in SCOT- SAP connect Administration with help from BASIS Consultant.
  2. Create as custom table (ZZI_NO_ORD_EMAIL) with plant, equipment and user id details and defined to indicator for mail id would be use or obsolete.
  3. Define logic in Notification screen (TC: IW21) using implicit enhancement: ZI_SND_MAIL_NOTIF_CRT in function module IWOC_POST_NOTIFICATION in update task during notification creation.
  4. On the basis of Equipment No. (EQUNR) in table VIQMEL, pull last Notification no. (QMNUM), notification date (QMDAT) with description (QMTXT).
  5. After that check in custom table, pull mail id against equipment no. and send to the mail which have maintained against equipment.
  6. For maintenance order email generate (TC: IW31) using BADI: WORKORDER_UPDATE in update task during creation for order type (Preventive, Breakdown and etc.).
  7. Background order email (Preventive order) would be generating, when TC: IP10 call using BADI: WORKORDER_UPDATE during update task in order creation screen.
  8. On the basis Equipment no. (EQUNR) in table AFIH, pull last order no. (AUFNR).
  9. After that check in custom table, pull mail id against equipment no. and send to the mail which have maintained against equipment.
  10. Can design subject text and mail format according to your business requirement.
3 Comments
Labels in this area