I am using VB6 to connect to ECC 6.0 using RFC. The code works fine but only using non single sign on. I can't work out how to use it with SSO.
Has anyone ever managed to create a silent connection with SSO in VB?
This is the code that I am using for non-SSO logon:
Dim R3 As Object
Set R3 = CreateObject("SAP.Functions")
R3.Connection.User = "XXXX"
R3.Connection.Password = "XXXXX"
R3.Connection.Client = "900"
R3.Connection.ApplicationServer = "10.68.48.80"
R3.Connection.Language = "EN"
If R3.Connection.logon(0, True) <> True Then
Msgbox "ERROR - logon to SAP Failed"