Quantcast
Channel: SCN : Unanswered Discussions - SAP GUI
Viewing all articles
Browse latest Browse all 2552

SAP GUI Scripting - Opening a Session with Connections Grouped on SAP GUI

$
0
0

Hi there,

 

I have done lots of SAP Scripting in my previous job combined with Excel VBA, where the SAP GUI just showed an extensive list of Boxes/Clients when you clicked on "Connections". I moved to another company, and they actually group the connections under folders like this:

 

Connection List.PNG

 

Each group (01 Global BW HANA, 04 Global ERP, etc) has a different set of connections. I am trying to open the "07 PR1 - Prd ERP SSO" Box in the "04 Global ERP" group, however it fails at this line (I do tested that sBox actually contained "07 PR1 - Prd ERP SSO"):

 

Error Line.PNG

 

And the error message Excel shows is the following:

 

Error Message.PNG

 

So it seems to me that the string of text I have to pass to the .OpenConnection method is different when the Boxes are grouped in folders. Has someone else run into this issue and got it solved?

 

I know that SAP GUI Scripting is enabled on the server, because I am able to run Scripts from the SAP GUI itself. We are on SAP GUI 7.3.


Viewing all articles
Browse latest Browse all 2552

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>