Hey,
I want to call my SAP Test System from my WebDynpro Application via RFC Bapi - Call.
This worked fine but then suddenly I can't make any connection to the SLD anymore. The error message in the browser says:
<i>The initial exception that caused the request to fail, was:
com.sap.lcr.api.cimclient.LcrException: com.sap.lcr.api.cimclient.UnauthorizedUserException: User credentials are invalid or user is denied access
at com.sap.lcr.api.sapmodel.SAP_J2EEEngineClusterAccessor.getInstance(SAP_J2EEEngineClusterAccessor.java:99)
at com.sap.lcr.api.sapmodel.SAP_J2EEEngineClusterAccessor.getInstance(SAP_J2EEEngineClusterAccessor.java:78)
at com.sap.tc.webdynpro.serverimpl.wdc.sl.JCOClientConnection.readJCODestinationFromSLD(JCOClientConnection.java:520)
at com.sap.tc.webdynpro.serverimpl.wdc.sl.JCOClientConnection.resolveConnectionParameter(JCOClientConnection.java:454)
at com.sap.tc.webdynpro.serverimpl.core.sl.AbstractJCOClientConnection.init(AbstractJCOClientConnection.java:248)
</i>
My permissions at the sld are fine if I connect directly to the sld...
Some ideas ?
Thanx a lot in advance...
Kind Regards
Christof Kohler
Hi,
From the exception,
"com.sap.lcr.api.cimclient.LcrException: com.sap.lcr.api.cimclient.UnauthorizedUserException: User credentials are invalid or user is denied access" it is clear that the necessary user authentication to SLD is missing.
As a first step, go to Visual Administrator->SLD supplier and check whether CIM Client Generation status is 'Successful'.
Then, in the Visual Administrator->Security Provider, check whether the user has been assigned the relevant Role->Lcr.... file. The other way to do this is through UME.
Hope this helps.
Regards,
Srinivasan T
<b>Helpful answer=>points</b>
Hi Christof,
You can configure the SLD in your system for the JCO connection.
use this link
http://help.sap.com/saphelp_nw2004s/helpdata/en/43/01ea90ab24235de10000000a1553f7/frameset.htm
http://help.sap.com/saphelp_nw2004s/helpdata/en/75/c9df3dffadd95ee10000000a114084/frameset.htm
Kind Regards,
Mukesh
Add a comment