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