on 03-14-2012 4:09 PM
Hi Expert,
i've written an SAP GUI Script, which loops over current existing SAP connections and evaluates the connection.
now i want to compare the SID from each connection, to verify that i'm running my script on the right system.
How can I get the SID from the SAP Gui connection Object. The property connectionString won't help, because it doesn't contain the SID.
Any suggestions where to look for the SID or how to identify the SAP system belonging to the current connection?
thanks and best regards
daniel
Hi Daniel,
my suggestion is:
session.info.systemsessionid and session.info.sessionnumber
Using these two parameters can one reliably identify an SAP system.
There are also other parameters that you can evaluate. See too other members of GuiSessionInfo - Object.
Regards,
ScriptMan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
anyone?
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.