Skip to Content

How to use .OpenConnectionByConnectionString method?

Hi, scripting specialists!
I can't understand using .OpenConnectionByConnectionString method.
The idea of using the String is simple, but I've got lots of entries in my SAP Logon, some witn different Strings
How the method can choose right connection data? I couldn't find in API manuals the way to point out connection.

May be I'm wrong with the whole idea?
Let me explain what is needed:
there is my own Logging-to-SAP script. Sometimes I need to connect to the same base with or without the String.
It would be great if the script can detect chosen connection without the String is impossible, then tries to connect with the String.
So I decided to use .OpenConnectionByConnectionString to do the task, but with no effect.


Thanks in advance!

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Posted on Jul 31, 2020 at 11:31 AM
    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.