cancel
Showing results for 
Search instead for 
Did you mean: 

I can't select an SAP server in my script and connect to it

former_member843044
Discoverer
0 Kudos
406

Good morning,

I've been having a hard time for several days figuring out how to make a script that connects to a server using SNC from the SAP Logon start page. After that i think i will use the GUI script recording option to complete my script.

I couldn't find any official documentation on it so i refered myself on forum posts but none have been helpful so far.

I managed to launch the application via a VB script and attempt a connection with OpenConnectionByConnectionString() but it won't go through and tells me after a minute that the "Sapgui component could not be instantiated" with an error code 800A025D.

Here is my code that is inspired by another post on this forum;

https://codesandbox.io/s/romantic-david-eemexs?file=/code.vbs

Thanks in advance,

Luc

Accepted Solutions (0)

Answers (0)