on ‎2019 Feb 13 10:16 AM
So I have the following scenario:
I logon to SAP GRP (which has scripting disabled). From this session, I am able to open another session, EP1 (which has scripting enabled). I'm accessing EP1 THROUGH the GRP system.
Is there a way to connect the script to EP1?
using standard connection code:
Set oSapGuiAuto = GetObject("SAPGUI")
Set oGuiApplication = oSapGuiAuto.GetScriptingEngine
If oGuiApplication.Connections.Count > 0 Then
Set oConnection = oGuiApplication.Children(0)
If oConnection.Sessions.Count > 0 Then
Set Session = oConnection.Children(0)
End If
End If
is not working, since it will not find the open session to EP1.
Request clarification before answering.
| User | Count |
|---|---|
| 60 | |
| 30 | |
| 21 | |
| 11 | |
| 4 | |
| 3 | |
| 2 | |
| 2 | |
| 2 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.