Skip to Content
author's profile photo Former Member
Former Member

No Connection SLD -

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

Add comment
10|10000 characters needed characters exceeded

3 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Jul 18, 2006 at 08:02 AM

    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>

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hello Srinivasan,

      I also have the same exception throwing when accessing the ESS iviews from the portal, My exception says:

      <b>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)

      ... 57 more</b>

      As per your suggestions to the earlier post, I did log into the visual administrator and then I tried testing the CIM connection. I got a message that it failed to connect.

      Could you please suggest how this can be corrected?

      ~As always, points always galore for the right and helpful answer.

      Thanks,

      ~LB

  • author's profile photo Former Member
    Former Member
    Posted on Jul 17, 2006 at 01:25 PM

    Hi Christof,

    webdynpro-callable-object---rfc-model might help.

    Regards,

    Satyajit.

    Add comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jul 17, 2006 at 01:34 PM
    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Your're kidding, don't you?

      😉)))

      I have an user in R/3.

      I repeat myself: Everything used to work fine. This is not my first RFC Connection.

      KR

      Christof