Hi,
i've got a problem. we use an autoit script for automating the login process (user + password are securily saved on smartcard). the script worked fine for gui 6.20 and 7.10. now in version 7.20 it works no longer. i'm using this command:
$sap.openConnectionByConnectionString($connection_string, TRUE)
this normaly opened a sap gui window connected to the right server. Now the gui only pop's up very short and disappears again.
this is the error i get:
X:\AutoIt_Scripts\sso\Neu AutoIt v3 Script.au3 (61) : ==> The requested action with this object has failed.:
$sap.openConnectionByConnectionString($connection_string, TRUE)
$sap.openConnectionByConnectionString($connection_string, TRUE)^ ERROR
also in the sap gui scripting (SAP GUI Scripting API 7.10) help, which was in the sap gui 7.20 package the syntax hasn't been changed.
Public Function OpenConnectionByConnectionString( _
ByVal ConnectString As String, _
Optional ByVal Sync As Variant, _
Optional ByVal Raise As Variant _
) As GuiConnection
can someone explain me why this happens?
greets