cancel
Showing results for 
Search instead for 
Did you mean: 

Email alert for PM breakdown Notification.

Former Member
0 Kudos

Dear All,

Good Afternoon!!!

We have a requirement in implementation for PM.

When a Breakdown maintenance notification raised, then automatically Email alert should be trigged to personal mail id & SMS alert should be trigged to Mobile.

Is it possible?

If it is there, could you please provide how to do this, thanks for you advance cooperation.

Accepted Solutions (1)

Accepted Solutions (1)

jogeswararao_kavala
Active Contributor
0 Kudos

Santosh

  • Separate these two requirements. i.e., email and sms.
  • Triggering email is well within SAP purview whereas sending sms has some dependencies.
  • Let's first see the eMail part
    • This can be done using user-exit QQMA0014 where a function module SO_NEW_DOCUMENT_SEND_API1 will be used to send a mail as soon as the Breakdown Notification (say 'M2') is saved.
    • Whom to send eMail depends upon information stored in a Ztable having emailID vs Planner Group or WorkCenter etc.
    • Means, if 'M2' Notification is created the code in the exit will take the eMailId from the ztable depending upon the Planner Group used in the Notification and send the eMail with the help of the function module referred above.
    • This is not very difficult for an experienced ABAPer, so you need to work with him.
  • About SMS
    • This part has dependencies on service providers, you need to work with BASIS team.
    • In the present Smartphones era I feel SMS part is redundant, because people get the eMails to the mobiles just like sms texts.

Good luck

Regards

KJogeswaraRao

Former Member
0 Kudos

Thank you sir..

Answers (3)

Answers (3)

stephan_bantlin
Advisor
Advisor
0 Kudos

Hello

you are able to trigger emails in standard via Workflow.

There are standard workflows for Notification Order etc.

  • You have to activate the event trigering via Status .(transaction BSVZ)
  • Activate Workflow 8314 via transaction SWETYPV

So when you activate these than this will work you will create an email

For sending SMS have a look at the following

thxs

Stephan

gaurav_solanki2
Participant
0 Kudos

Hi Santhosh

I have done this using enhancement. You can create a Ztable and maintain the mail id with the combination of plant, work center etc as per your requirement. Abaper will write small code for it.

Mail can be trigger during notification creation, Put in process and also after NOCO.

Thanks

Regards

Gaurav

peter_atkin
Active Contributor
0 Kudos

Yes this is possible, provided you have the email/mobile connections to your SAP system.

It could either be done via development, or via workflow.

PeteA

Former Member
0 Kudos

Hi PeteA,

Can you elaborate it & what we have to do from PM end?

peter_atkin
Active Contributor
0 Kudos

First you would need to check that your system is capable/allowed to send email/SMS data. Without that there is no point going any further.

If your system set-up permits it, then you need a development (e.g. user-exit QQMA0014 at notification save event, or workflow task, or follow-on tasks) to determine whether/where the data is to be sent. This information could be held in Z tables as mentioned by Gaurav above, or within the notification itself e.g. in a task classification.

PeteA