cancel
Showing results for 
Search instead for 
Did you mean: 

PROXY Monitoring in ECC - Alert/email ?

Former Member
0 Kudos

Hi,

My Scenario is HTTP To Proxy. If proxy fails, I could see errors in SXMB_MONI of ECC.

<b>How to generate alert/email for proxy errors ?</b> Is it possible to monitor ?

Thank you for any help,

mk

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Vaas ,

Please elaborate what do you mean by " You just configure the alerts in SAP PI ".

I am having the similar requirement where we need to monitor and send mails when ever error in proxy.

I have created ALERT CAT in ECC. Before pointing to the RFC destination what are the setttings i should do in PI.

Edited by: ch_ravi_sap on Feb 2, 2012 12:37 PM

Former Member
0 Kudos

Hello MK,

Do you want to captured error raised in ABAP Proxy? You can do this by calling fuction modle SALERT_CREATE or SALERT_CREATE_LOCAL in case of error / exception. You need to pass Alert category to function module.

Let us know if you need more details.

Nilesh

Former Member
0 Kudos

Hi Nilesh,

For any application error in ABAP proxy, we are generating email. So, no issue with handling errors within Proxy.

For any bad data(DATE for example) or some other issues, proxy will not be invoked and sits in SXMB_MONI with error. How do we monitor these errors ?

Thank you,

MK

Former Member
0 Kudos

Hi MK,

In that case you can set Alertconfiguration to send alert in alert inbox.

Follow below step by step process blog by Michal..

Note : You can create different Rule in RWB for each type of error message ( By setting filter).

Let us know if you want more details.

Nilesh

Former Member
0 Kudos

For Alerts in XI, We create rules in RWB. Similarly, where do we create the rules for proxy errors in ECC ?

ALRTCATDEF in ECC is working fine to create alert category. But, where do we create rule to associate with interface ?

Former Member
0 Kudos

Ohh...I got it now..u were talking about error in proxy-queue at ECC side...

But you can take of them in message mapping itself in XI. You can validate data before passing to proxy...

..and remaining issues you can take care inside proxy. I dont think we can set any alertrule on ECC. You need to trace message in case if you do not receive at output. ( But let us know if you find anyway by which we can raised an alert if we get error on ECC side sxmb_moni.)

Nilesh

Former Member
0 Kudos

Hi Nilesh Did u ever find an answer to your question .. ?

former_member223322
Active Participant
0 Kudos

Hi Mallik,

There is no need to create any separate Alert categories or rules in ECC. You just configure the alerts in SAP PI and then you just need to point the 'RFC destination of alert server' in ECC ALRTCATDEF to your PI destination. Then using the FM SALRT_CREATE_API you can trigger the alerts from the proxy in ECC. This would call the respective alert category in PI and would trigger the alerts. Let me know if you find any difficulties on doing this.

~Vaas

Former Member
0 Kudos

Hi Mallik,

I could understand that your requirement is to monitor Technical Errors of Proxy, not the Business Data Errors.

All such errors are handled by Technical Support Team, who will definately have access to RWB, from where you can access you ERP Proxy errors by doing End to End configuration and Proxy settings.

As other experts said: You can better manage this in PI mapping itself. Where you have clear pattern of Date specified in Global Data Type (If you are using). If at all your Element data type is typical String (Which is not a good practice with respective to Proxies) then obviously you have trouble in managing such technical erros.

So before passing message to ERP try to eliminate technical errors in PI itself. In such case you don't have a case to go for Alerting at all(unless you have specific business requirement)

Other case you can easily manage using FEH Forward Error Handling. you have access to edit data and reprocess message in FEH.

-BR

Praveen K