10-17-2007 10:31 AM
Hi, I want to connect to sap from excel without it shows the logon screen. I use the following sentence:
If <b>R3.Connection.logon(0, True</b>) <> True Then
If the value of parameter is <b>False</b>, shows logon to me and works well, with <b>True</b> it gives error and it does not connect.
The object R3 has been created as
Set R3 = <b>CreateObject("SAP.Functions")</b>
Thanks
10-17-2007 11:51 AM
I have solved part of the problem. To skip the screen of logon, is necessary to fill up all these values
R3.Connection.System = "system"
R3.Connection.Systemnumber = "01"
R3.Connection.Client = "999"
R3.Connection.User = "user"
R3.Connection.Password = "pass"
R3.Connection.Language = "EN"
R3.Connection.Destination = "destination"
R3.Connection.hostname = "hostname"
R3.Connection.autologon = True
<b>But my problem now is that the system r3 to that I want to connect is through citrix, and this way it causes error.</b>
Thanks.