Quantcast
Channel: SCN : Discussion List - SAP Enterprise Portal : Administration and Development
Viewing all articles
Browse latest Browse all 2686

Catch RFC Exception - User Account locked

$
0
0

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


Viewing all articles
Browse latest Browse all 2686

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>