cancel
Showing results for 
Search instead for 
Did you mean: 

Multiple Recipients in Alerts

arun_yesodharan
Active Participant
0 Kudos

Hi All,

   I have alerts configured in EM.But need to send alerts to multiple persons based on the plant,they belong.How can this be achieved?I can configure multiple recipients using :Fixed Recipient- But this will send mail to all configured users irrespective of plant.

Can this be configured by Recipients Via User Roles?? Or Do i need to create a rule in PFAC & assign it Alert Category.

Accepted Solutions (1)

Accepted Solutions (1)

arun_yesodharan
Active Participant
0 Kudos

Hi All,

  I was able to implement an implicit enhancement in the include /SAPTRX/LAFINTEGRATIONF02 to add multiple recipients as per entries maintained in an custom table.

  And its working fine. Thanx everyone for the help.

Answers (1)

Answers (1)

former_member190756
Active Contributor
0 Kudos

Hi Arun,

if you have alerts per plant you could create an assignement per Role in ALRTCATDEF.

In EM at the moment only one email Adress is possible. But instead a single mail adress you could try a distribution list per plant.

Or you copy the alert activity and enhance it to your needs by e.g. selecting the mail adresses per plant from a Z-table.

Best regards,

Steffen

arun_yesodharan
Active Participant
0 Kudos

Hi Steffen,

   Can you help me guide how to configure the same via role.As i was not able to assign any recipients via role functionality.

former_member190756
Active Contributor
0 Kudos

Hi Arun,

in ALRTCATDEF you can define per Alert Category a role:

Then the mail is sent to all users assigned to this role.

Best regards,

Steffen

arun_yesodharan
Active Participant
0 Kudos

Hi Steffen,

  Correct me if i am wrong, in this case if i create 2 different roles:

1.USER_PLANTA

2.USER_PLANTB

Also , i assign the same alert category - DELAY_EVENT (as example) to both the roles.Upon execution of EE_MONITOR ;system identifies the plant paramter ie. either A or B.

If A - it will trigger mail to users of the plant A else to B??

Provided i have taken plant as an parameter in the authorization as below(yet to maintain):

Former Member
0 Kudos

Hi Arun,

The dynamic plant email can be achieved how we do for customer Sold to or Ship to email when we trigger the alerts.

There is a configuration in Activity Param.ID - LTL_DELIV when you can trigger email dynamically based on plant email determination (if you already captured as Parameter).

Can you check this approach?

Regards


GGOPII

arun_yesodharan
Active Participant
0 Kudos

Hi ,

   I have checked it, it fetches the mail id as per the logic in the extractor ,& returns single mail id.

In my case i require multiple mail id's as per company code.

   So i will try to get this as suggested by Steffen / Via Z-table.

Former Member
0 Kudos

Hi Arun,

If you can't achieve through other way then below:

1. Create a new custom table for user emails with plant combination.

2. Implement BADI IF_EX_ALERT_DELIVERY -> Method DECIDE and call your table.  Integrate into code and check the field for plant to determine email id's.

I haven't tried but check and let me know.

Regards


GGOPII

former_member190756
Active Contributor
0 Kudos

Hi Arun,

no with authorizations it won't work.

If you want to use fixed assignment per role you would need one alert category per role and decide in the rule set based on the plant which one you call.

The way with the Z-table should be easier in this case.

Best regards,

Steffen