on 03-09-2017 6:01 PM - last edited on 02-03-2024 10:34 PM by postmig_api_4
Hi everybody.
First of all sorry for my english 🙂
I've a problem trying to login to SAP with a vb.net script.
The script works well with the default ini file, but I need to launch the logon specifying a secondary ini file. I've read many post about it, one of them suggested to add the line of the custom ini to the default one. The problem is that my company default ini file is on a server and I cannot modify it.
Is there a way to get around it ? I've tried everything without success...
The script I use is the following:
SapApp = CreateObject("Sapgui.ScriptingCtrl.1")
SapGui = GetObject("SAPGUI")
SapApp = SapGui.GetScriptingEngine
SapConn = SapApp.OpenConnection("Area Mercato", True)
SapSession = SapConn.children(0)
The script fail to open the connection 'cause there is not "Area Mercato"...
User | Count |
---|---|
89 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.