cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Alerts not triggered for TRA scenarios

Former Member
0 Kudos
378


Hi,

We are currently testing the alert management scenario but somehow its not working.Somehow none of the FM's-/SAPTRX/CREATE_ALERT

are getting triggered both for event check & alert create.The logs in SLG1 shows that the activities are performed.But in simulate mode the debug mode does not gets triggered.

Below enclosed are the settings done:

a) Define alert categories-and create or select the existing classification.


Fill up the details of properties tab page and also check if container tab page is filled up properly with data element and ABAP dict.Also fill up the message details under long and short text tab page.



b) Then choose Event Management-Reactions to Event Messages- Define Alert Framework Connection- Define Alert Framework Integration to SAP Event Management.

Here specify the proper communication method which is internet email address and specify the communication data which is an EM parameter.Also activity parameter ID needs to be there.

c) To trigger and send an alert message, you must call the Alert framework. To do so, add the activity ALERT_CREATE to the corresponding rule set and reference the activity parameter ID with the parameter Activity. ID  that you created in Customizing activity Define Alert Framework Integration to SAP Event Management.

d) establish the connection to your communication system in Customizing for SAP Event Management under- Reactions to Event Messages  Define Alert Framework Connection-  Define SAPconnect Administration  .

e) Define the RFC connection from SAP Event Management to the Alert Framework in Customizing for SAP Event Management under   Reactions to Event Messages  Define Alert Framework Connection - Define RFC Connection to Central Alert Server  .

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

Did you mention alert category for the activity ALERT_CREATE in the ruleset..

If so, are you getting any error in the SM58.

Regards,

Ratnakar

Former Member
0 Kudos

There is no error in SM58 and rule set is correctly maintained

Former Member
0 Kudos

Could you activate log for Alert Framework in ALRTCATDEF

-> Settings -> Configuration -> Write log

and also enter here a user that has in SU01 an email Address assigned.

Afterwards run your process again and post the SLG1 log for Object: Alert here.

Best regards,

Steffen

Former Member
0 Kudos

Hi,

Since mail id was not getting populated in the control parameters,so did some changes & finally the mails are triggering & visible in  SCOT.But still in simulate mode the debugger is not getting called.

Can you kindly have a look here

Former Member
0 Kudos

Hi Dipak,

1. Go to IMG -> Event Management->Reactions to Event Messages->Define Alert Framework Connection-> Define Alert Framework Integration to SAP Event Management-> Assign Alert Categories -> Give communication address directly your email id and check.

2. Also, Map Event Management appropriately too.

3. You do not need an RFC connection if you run your SAP EM and the Alert Framework on the same system and in the same client. Enter NONE in the field in transaction SALRT1.


4. Check you have assigned activity id which you configured in "1" in ruleset multitask activities.


Check and let me know.

Regards


GGOPII

Former Member
0 Kudos

Hi,

what do you mean with simulate mode?

If you want to debug into CALL FUNCTION 'SALRT_CREATE_API'

you have to set in the activity the following parameter for sync call:


Best regards,

Steffen

Former Member
0 Kudos

Maybe somewhere simulate mode flag from activity interface is checked:

Normally you would not send emails in simulation mode.

Best regards,

Steffen

Former Member
0 Kudos

Hi,

Can you kindly provide me the config path as where to maintain the check box for simulation.Is it under rule sets-activities?

Former Member
0 Kudos

I only know the possibility to run in /SAPTRX/EH_LIST a simulation for the rule set processing.

In activities you can then check in the coding if an activity should be processed in case of simulation mode. There is no customizing for it.

Best regards,

Steffen

Answers (0)