Skip to Content


HI SAP Folks,

I want to configure mailing process for the preventive maintenance.User want to get the mail of notification that this notification is due for this month as per the maintenance plan.

Please share your experience how I can do it.



Gaurav Solanki

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

4 Answers

  • Best Answer
    Aug 13, 2015 at 10:52 AM

    Hello Gaurav,

    Though I will not be able detail the proposed solution, I'm sure you'd pick-up with the following outline idea:

    The solution will be through a background run Program using

    - A ztable having mail-ID vs a parameter in Plan item (say planner group)

    - A function module to trigger emails as per the due dates / call dates.

    - The main source of information about dates you will get from MHIO, MPLA, MPOS, MHIS table.



    Add comment
    10|10000 characters needed characters exceeded

  • Aug 14, 2015 at 10:31 AM

    Hi Gaurav ,

    If Prev Maintenance are created based on background job.

    You can set background job of t-code IW28/W38 using SA38 for spool layout for newly created

    notification /orders with Specific Noti/ord type based on work center, plant (layout) after running Preventive Maintenance background job.

    Check below links for spool mail id folder and background job with your basis person.

    How to email output from Background Jobs

    How to add multiple recipient in the spool list - background jobs

    similarly you can check for pending notifications.

    Warm Regards.

    Ashu 😊

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Aug 17, 2015 at 08:12 AM

    Dear Gaurav,

    I think you wants email to be sent to concern user after Notification create or close event.

    As discussed earlier, create Ztable against Planning plant Planner group combination.

    Use SAP workflow, using Bus object BUS2038.

    In Workflow method, please mention The email address fetching logic.

    Prerequisites, Planner group must be maintained in maintenance plan.

    If you want to send the list of PM notification or order to resposible person create Zreport for notification or order using status tracking logic.

    There is other alternative setting the Email distribution using SO23 transaction for standard report.



    Add comment
    10|10000 characters needed characters exceeded

  • Aug 14, 2015 at 08:58 AM

    Gaurav Solanki,

    This could result in a lot of emails being generated - are you sure this is what you want?

    Should the email be sent before, or after the notifications have been created?


    Add comment
    10|10000 characters needed characters exceeded

    • That part needs some research and synergy of a Functional and an ABAPer. You need to study which date you want to catch, to which table and field it belongs etc., by verifying field values of Plan/Schedule screens to the contents of the table. Though not very easy-one, surely achievable.