Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8372

Re: SAP.Functions and VBA connectivity fail

$
0
0

Hello Ekaterina,

 

you are right. The behavior of the SAP Logon Control or Classic RFC library between SAP GUI version 7.30 and 7.40 is different. I monitored the complete activities of the script, and I can't find any file access to SAPlogon.ini. All SAPlogon accesses are only in the registry.

 

Anyway, if you open the OSS note and you get a result, please let us know. It is very a interesting topic.

 

Thanks and cheers

Stefan

 

 

 

P.S. Here my test script:

 

'-Begin-------------------------------------------------


  Set oFunc = CreateObject("SAP.Functions")

  Set oCon = oFunc.Connection

 

  oCon.ApplicationServer = "localhost"

  oCon.SystemNumber = "00"

  oCon.Client = "001"

  oCon.Language = "EN"

  oCon.User = "BCUSER"

  oCon.Password = "minisap"

 

  If oCon.Logon(0, True) = False Then

    MsgBox "R/3 connection failed"

  Else

    MsgBox "R/3 connection successful"

    oCon.LogOff

  End If

 

  Set oCon = Nothing

  Set oFunc = Nothing

 

'-End---------------------------------------------------



Viewing all articles
Browse latest Browse all 8372

Trending Articles



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