cancel
Showing results for 
Search instead for 
Did you mean: 

PCMS connection to SAP using WDTLOGU.OCX

0 Kudos

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.

Regards

SAP Basis

Accepted Solutions (0)

Answers (1)

Answers (1)

0 Kudos

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