Skip to Content
0
Former Member
Jul 13, 2006 at 11:26 PM

Catch RFC Exception - User Account locked

50 Views

Hello,

I am hoping someone knows how in the portal to catch an exception thrown by JCo indicating a users account is locked in R/3.

I would like to trap the error and display a friendly error message to contact the correct people. I do not want to see a Portal Runtime Error get presented to end users.

Here is what it looks like in the default trace:

Caused by: com.sap.mw.jco.JCO$Exception: (103) RFC_ERROR_LOGON_FAILURE: User is locked. Please notify the person responsible

at com.sap.mw.jco.MiddlewareJRfc.generateJCoException(MiddlewareJRfc.java:418)

Any docs on catching R/3 Fault exceptions is great as well.

Thank you,

Sean