cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

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

former_member843044
Discoverer
0 Kudos
209
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 (1)

Answers (1)

juliborzsei
Associate
Associate
0 Kudos

Hi luxchar,

Can you please specify the product you are using in an other tag? That way an other expert can help you. SAP Emarsys Scripting language is used to create dynamic personalized content in Emarsys, and I'm just not sure if this is what you are looking for based on your question.

Thank you! 🙂