We have added search box. Key in SAP issue keyword to search
TopBottom

Announcement: wanna exchange links? contact me at sapchatroom@gmail.com.

RE:[sap-dev] SAP Client Environment

Posted by Admin at
Share this post:
Ma.gnolia DiggIt! Del.icio.us Yahoo Furl Technorati Reddit

Reply from Empic on Feb 10 at 3:16 AM
Hi, depends which method do you use:

You can set up in SAPGUI info message that script is trying to connect. In this case you will see in which system.


Or do it in VBA script during logon

Try this:

Set objSapCon = objBAPIControl.Connection

objSapCon.applicatioserver = "ip address"
objSapCon.system = "system name"
objSapCon.systemnumber = "system number"
objSapCon.client = "client"
objSapCon.user = "user name"
objSapCon.Language = "logon language"


If objSapCon.logon(0, 0) <> True Then
MsgBox "No connection to SAP"
Exit Sub
End If
************ your code goes here
** you can also store here password and suppress dialog box if you like

---------------Original Message---------------
From: ArtKarl
Sent: Sunday, February 08, 2015 2:40 PM
Subject: SAP Client Environment

Hi guys, I have to know which environment my script is running if both ERP (production) and ERQ (testing) are opened. Is there any way that I can capture in the status bar located at the far right where the client is displayed either ERP or ERQ? ...

thanks,

 
Reply to this email to post your response.
 
__.____._
Manage Settings | Unsubscribe | Create FAQ | Send Feedback
  
Copyright © 2015 Ziff Davis, LLC. and message author.
Ziff Davis, LLC. 28 E 28th Street New York, NY 10016
Empic  

IT/IS Professional/Admin/Staff
achievement
 
Mark as helpful
View this online
Ask a new question
 
In the Spotlight
Become a blogger at Toolbox.com and share your expertise with the community. Start today.

_.____.__

0 comments:

Post a Comment

T r a n s l a t e to your language