cancel
Showing results for 
Search instead for 
Did you mean: 

How to use function module SALRT_CREATE_API to trigger alert in XI?

gopalkrishna_baliga
Participant
0 Kudos

Hi experts,

I have read that alert can be triggered in BPM or through a FM SALRT_CREATE_API. Now how to use this FM?

In what XI scenario I can use this FM and how?

Any example will be really appreciated.

Thanks

Gopal

Accepted Solutions (0)

Answers (5)

Answers (5)

gopalkrishna_baliga
Participant
0 Kudos

Can I call this function module from BPM? If Yes then How?

gopalkrishna_baliga
Participant
0 Kudos

Can I call this function module from BPM? If Yes then How?

bhavesh_kantilal
Active Contributor
0 Kudos

Hi Gopal,

You can directly trigger an ALERT from your BPM. Why do you want to call a function module that will trigger the alert when it can be done directly??

Regards,

Bhavesh

gopalkrishna_baliga
Participant
0 Kudos

There is limitation with that. Taht is, I cannot give multiple line message. Please note I want email alert.

So I thought I can manipulate this with FM. Am I correct?

bhavesh_kantilal
Active Contributor
0 Kudos

Hi Gopal,

I was not aware of that

Anyways, if you want to trigger an EMAIL alert, it is always possible without a BPM and without using this function module.

My first post talks exactly about that approach.

Regards,

Bhavesh

former_member91687
Active Contributor
0 Kudos

Hi,

How to go about triggering alerts by calling a function module directly is explained in the link given below:

http://help.sap.com/saphelp_nw04s/helpdata/en/d0/5e073c8e56f658e10000000a114084/content.htm

An example is also given do refer it to use it in your case.

Regards,

Chandra

Former Member
0 Kudos

Hi Gopal,

I think that SALRT_CREATE_API is used in triggering alerts rather than creating them..

Please have a look at these notes.. They talk more about the same..

/people/ginger.gatling/blog/2005/12/02/innovative-ways-to-use-alerts

http://help.sap.com/saphelp_nw04/helpdata/en/d0/5e073c8e56f658e10000000a114084/frameset.htm

cheers,

Prashanth

bhavesh_kantilal
Active Contributor
0 Kudos

Hi Gopal,

I am not sure if any function module like SALRT_CREATE_API is used to create ALERTS.

If you want to <b>create alerts</b>, just check this blog,

/people/michal.krawczyk2/blog/2005/09/09/xi-alerts--step-by-step

Next , after you have done this to <b>test your configuration</b>,

go to T code - SE38.

In the program , type RSALERTTEST and then click on EXECUTE button ( F8 ). In the next window, it will ask you for your ALERTCATEGORY. Just give the name of your ALERT CATEGORY and click EXECUTE.

If you have configured your alerts correctly, you will receive a message that tells ALERT IS GENERATED and will give the ALERT ID.

Now, go to your Run TIme workbench and then select ALERT INBOX and see if you have got the ALERT message in your ALERT INBOX.

Finally if you are on <b>SP14 or above</b> , check this note <b>913858</b>

and if <b>below SP14</b>, just check this blog,

/people/michal.krawczyk2/blog/2005/09/09/xi-alerts--troubleshooting-guide

And. to use this alerts in your BPM,

/people/michal.krawczyk2/blog/2005/03/13/alerts-with-variables-from-the-messages-payload-xi--updated

Regards,

Bhavesh

Message was edited by: Bhavesh Kantilal