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!