cancel
Showing results for 
Search instead for 
Did you mean: 

** File to RFC - Throw Alert

jegathees_waran
Active Participant
0 Kudos

Hi

We are doing File to RFC scenario. Z RFC is about updating material master data in R/3 side. If any problem in update, we throw exception in RFC. But, our requirement is we have to create alert in the user inbox if any problem in comes while update.

Usually, we create alert category in XI system, and assing the user to whom we send alerts. But, here RFC is in back-end system. User is in XI system. How do we send alerts to the user in XI when the problem comes in R/3 side. (If we create alert category in back-end system, the XI user we are not able to select).

So, how do we solve this problem, friends?

Kind Regards,

Jeg P.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

SInce you have File to RFC scneario. I assume that you are using the BPM.

You can catch the exception message from Send step and trigger an alert to administrator or any other user.

Gaurav Jain

Answers (3)

Answers (3)

jegathees_waran
Active Participant
0 Kudos

Hi friends,

We are not using BPM or Proxy since this is a simple scenario. And also no response is mapped from RFC in mapping. Since this is scenario, is it possible to create alert ?

Former Member
0 Kudos

Hi Jegatheeswaran,

From your description I understood you were not using bpm. I'd say that wrapping your RFC would solve your problem and would increase your scenario performance. Of course you'd have to configure the proxy settings but those are trivial. 5 minutes today, huge saved time tomorrow

Former Member
0 Kudos

Jegatheeswaran,

In SXI_MONITOR and Runtime workbanch --> Adapter Engine monitoring is it showing red or green?

If you are getting the error message from SAP or atleast acknowledgement error then you can go and configure alert rules in XI and try

Gaurav Jain

GabrielSagaya
Active Contributor
0 Kudos

Hi

just see the below blog which explains how to trigger alerts from UDF using RFC

/people/bhavesh.kantilal/blog/2006/07/25/triggering-xi-alerts-from-a-user-defined-function

also have a look at the following links to see how to define alert category, alert rule etc properly

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

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

http://help.sap.com/saphelp_nw04/helpdata/en/d0/d4b54020c6792ae10000000a155106/content.htm

To test if your Alerts have been defined correctly, go to SE38. type RSALERTTEST and then click on execute it will ask you for your ALERTCATEGORY, give the name of your ALERT CATEGORY and click execute.

If you configured alerts properly you will get a message that tells "alert is generated" and will give the ALERT ID.Now, go to RWB open ALERT INBOX and see if you have got the alert message in your ALERT INBOX.

Former Member
0 Kudos

Hi Jegatheeswaran,

Why don't you wrap the RFC using ABAP proxy. In this case you would be able to control your faults and exceptions.

/people/vijaya.kumari2/blog/2006/01/26/how-do-you-activate-abap-proxies - Activate Proxy

/people/siva.maranani/blog/2005/04/03/abap-server-proxies - ABAP Server Proxy

/people/ravikumar.allampallam/blog/2005/03/14/abap-proxies-in-xiclient-proxy - ABAP Client Proxy

Excellent blog for understanding what to choose!!!

/people/ravikumar.allampallam/blog/2005/08/14/choose-the-right-adapter-to-integrate-with-sap-systems

Hope it helps.