cancel
Showing results for 
Search instead for 
Did you mean: 

MAIL CONFIGURATION & PROCESS FOR PREVENTIVE MAINTENANCE

gaurav_solanki2
Participant
0 Kudos

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.

Thanks

Regards

Gaurav Solanki

0 Kudos

Dear Gaurav Solanki,

Did you get any solution to your request, as i am too landing in similar kind of requirement

former_member34
Product and Topic Expert
Product and Topic Expert

Hi there,

You have a question and need help by the community? Instead of posting into an old question thread, it is more helpful for you, if you create your own question. Here is how to get started:

  1. Learn about asking and answering questions in SAP Community with this tutorial: https://developers.sap.com/tutorials/community-qa.html
  2. Ask your detailed question here: https://answers.sap.com/questions/ask.html
  3. Wait for a response.

That's it. Thank you!

Best regards

Your SAP Community moderator

Accepted Solutions (1)

Accepted Solutions (1)

jogeswararao_kavala
Active Contributor
0 Kudos

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.

Regards

KJogeswaraRao

gaurav_solanki2
Participant
0 Kudos

Thanks for reply sir,

Is there any link about this type of discussion.

Rgd

Gaurav

jogeswararao_kavala
Active Contributor
0 Kudos

I haven't come across. By nature of the query, I guess you won't find any.

Answers (3)

Answers (3)

Former Member
0 Kudos

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.

Regards

Santosh

former_member223866
Participant
0 Kudos

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.

similarly you can check for pending notifications.

Warm Regards.

Ashu

peter_atkin
Active Contributor
0 Kudos

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?

PeteA

gaurav_solanki2
Participant
0 Kudos

Hi Pete sir,

The email should be sent after the notification have been created and closed the notification , and I also ticked the completion requirement in plan.

Thanks

Rgd

Gaurav Solanki

sebastian_lenartowicz
Active Contributor
0 Kudos

Greetings Gaurav,

Consider a quick an easy solution by specifying a spool recipient when you are scheduling the RISTRA20 report as a batch job. This way the recipient of the e-mail will know which Plans and preventive Orders have been scheduled.

peter_atkin
Active Contributor
0 Kudos

Gaurav Solanki

How will you know which notifications are to be sent to which email addresses?

PeteA

gaurav_solanki2
Participant
0 Kudos

Hi Pete,

We can make a table for email addresses.

Rgd

Gaurav

jogeswararao_kavala
Active Contributor
0 Kudos

Yes, That's what the purpose of Ztable mentioned in my very first post. Hope you understood that. A Planner group wise or Work center-wise email-ID table will be supporting this.

gaurav_solanki2
Participant
0 Kudos

Yes rao sir,

You r right no doubt we can make a table of email addresses with combination of work center . But the problem is that how we can call the notification and calculation of date.

Thanks

Rgd

Gaurav Solanki

jogeswararao_kavala
Active Contributor
0 Kudos

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.