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:
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"):
And the error message Excel shows is the following:
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.