cancel
Showing results for 
Search instead for 
Did you mean: 

VBA code to get client and system of current SAP window

Former Member
0 Kudos

Hi Gurus,

I am creating a tool to automate sap process but i have access to various sap system. Now, i need to know if i am working with a correct SAP system.

Can you help me figure out the code to detect the system of current sap window? See attached.

Thank you in advance.

regards,

Mike

Accepted Solutions (0)

Answers (1)

Answers (1)

thomas_brutigam2
Active Participant
0 Kudos

Hi Mike,

to get the Information you can use

sapsession.Info. ->

  • programm
  • session
  • Client
  • Screennumber
  • Sessionnumber
  • Systemname
  • SystemSessionId
  • Transaction

greetings

Thomas