Skip to Content
0
Former Member
Oct 21, 2017 at 09:44 PM

How I can run SAP script from Citrix?

609 Views

Hi everyone.

In the past I was running SAP scripts without problem, with my user open

Starting the script in this way:

If Not IsObject(application) Then
Set SapGuiAuto = GetObject("SAPGUI")
Set application = SapGuiAuto.GetScriptingEngine
End If
If Not IsObject(connection) Then
Set connection = application.Children(0)
End If
If Not IsObject(session) Then
Set session = connection.Children(0)
End If
If IsObject(WScript) Then
WScript.ConnectObject session, "on"
WScript.ConnectObject application, "on"
End If

Now , the IT team changed to Citrix only and my scripts not running more.

Someone can help me to obtain the correct script to run from Citrix?