cancel
Showing results for 
Search instead for 
Did you mean: 

401 Unauthorized error handling

markbernabe
Active Participant
0 Kudos

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

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

Hi Mark,

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

Regards,

Jannus Botha

markbernabe
Active Participant
0 Kudos

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

markbernabe
Active Participant
0 Kudos

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?

Former Member
0 Kudos

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

markbernabe
Active Participant
0 Kudos

Hi Can, It only happened once but we'd like to be notified in case it happens again.

Former Member
0 Kudos

Ok, then, if you face it again, apply this note: https://websmp130.sap-ag.de/sap/support/notes/1945745 And create an alert in ALRTCATDEF in order to send you a mail when this interface fails. Regards.