Skip to Content
avatar image
Former Member

PCMS connection to SAP using WDTLOGU.OCX

We are trying to connect a third-party application (PCMS) to our SAP ECC 6.0 system. The PCMS application is often unable to re-connect to SAP after initially logging in to SAP successfully.

In order to connect to SAP, the PCMS application makes use of the same DLL files that come with the SAP GUI client (SAP Logon pad). The code in the PCMS application is written to call the SAP GUI’s “WDTLOGU.OCX” library files to establish the connection to the SAP system.

SAP Connection Object from PCMS using C:\Program Files (x86)\SAP\FrontEnd\SAPgui\WDTLOGU.OCX file, SAPLogonControl class (SAPLogonControl.newconnection)

Using this connection object, the parameters are populated from PCMS System Settings( APP Server, System Code and System Number)

This connection object also gets additional parameters for SAP user name and Password.

With all the parameters populated we call this objects Logon function invoked using the syntax SAPConnection.LogOn(0, True)

About 10-20% of the times we get this error message from the logon control - RFC_ERROR_SYSTEM_FAILURE

On the SAP side, we do not even see this re-connection attempt coming from PCMS application. Looks like the connection fails at the SAP GUI client side itself.

Can someone please tell what could be wrong.


SAP Basis

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    Dec 09, 2016 at 04:41 PM

    pcms-error.gifpcmslog20161011113315.txt Added the screenshots from PCMS

    Add comment
    10|10000 characters needed characters exceeded