Skip to Content

401 Unauthorized error handling

Hello Experts,

We have ECC Client Proxy -> PI -> File async interface. We want to catch 401 Unauthorized HTTP_RESP_STATUS_CODE_NOT_OK system error.

As seen from SXI_MONITOR of ECC:


We're able to replicate the error (by using invalid credentials in RFC destination SM59) but we're not catching it. Now, I'm having doubts if this error can really be caught with CX_AI_SYSTEM_FAULT. If not, what's the right way to catch and handle this so we can trigger an email alert in case this comes out again?

Appreciate your inputs regarding this. Thank you so much!

Mark

Capture.JPG (72.7 kB)
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

4 Answers

  • avatar image
    Former Member
    Jun 12, 2014 at 08:49 AM

    Hi Mark,     When are you facing this issue? always? randomly? when you have a lot of traffic?

    Add comment
    10|10000 characters needed characters exceeded

  • Jun 12, 2014 at 02:04 PM

    Thanks Can! I've already setup the alerts via ALRTCATDEF and in RWB before but no email is getting sent out. Will it trigger an alert even if the error is in SXI_MONITOR of ECC?

    Add comment
    10|10000 characters needed characters exceeded

  • Jun 19, 2014 at 03:11 AM

    Hi, We've just used Acknowledgements for Asynchronous in our client proxy to capture system errors in ECC such as this. http://help.sap.com/saphelp_nw70/helpdata/en/f4/8620c6b58c422c960c53f3ed71b432/content.htm

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jun 19, 2014 at 06:48 AM

    Hi Mark,

    Found this link online. Some good information. Might also help you.

    SAP FEH Mail Alerts for ABAP Proxy(Inbound) in ECC

    Regards,

    Jannus Botha

    Add comment
    10|10000 characters needed characters exceeded