cancel
Showing results for 
Search instead for 
Did you mean: 

How to send custom mail when "Send" button clicked in Incident Management EHSM

former_member583823
Participant
0 Kudos
383

Hi All,

My requirement is to send custom mail to all manager when "Send"button is clicked on Incident management creation screen.

Please let me know steps to do the same.

Regards,

Reny Richard

Accepted Solutions (0)

Answers (3)

Answers (3)

former_member182546
Contributor
0 Kudos

Hi ,

Create a post exit in the method mapped to Send button and call the email sending function module .

With Regards ,

Sudhir S

former_member408313
Active Participant
0 Kudos

Hi

It is a standard functionality to send email notification when incident is logged. System checks for SAP EHSM Incident Manager and triggers email notification. In your case if the manager role is not assigned with Incident Manager role and you need to still trigger email notifications then modify accordingly in the workflow agent assignment. You can make changes to email layout and content in the workflow.

Thanks and Regards

Jayakumar

anjan_paul
Active Contributor
0 Kudos

Hi,

Please check if any specific event is triggered or not. If triggered, then create a workflow , add a step to send mail.

Otherwise find a suitable exit or badi and write code to send mail using cl_bcs* class.

Thanks