on 10-15-2013 4:42 PM
I've written a C# program to automate some processes. Currently, the only way that the program can be run is if a user is not already logged into the SAP environment, or if they terminate any existing connections.
With C#, am I able to detect an already running instance of the gui and create a new session from the already existing connection?
Thanks,
Steve
I dont know much about C# but this is possible in VB. You can use GuiApplication.Connections.Count to check for existing connections. If it is zero then create a new Connection. If it is only one, then GuiConnection = GuiApplication.Children(0).
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.