Quantcast
Channel: SCN : All Content - Scripting Languages
Viewing all articles
Browse latest Browse all 522

How to connect Production server(Group/Server)?

$
0
0

Hi all,      

                I am having trouble  in a automation process that am doing. Since this was the first time in SAP scripting i was testing a automation in a test region Local configuration in SAP and the login script worked fine.But when i tried the same with the Production server(Messaging server) i am having trouble in login in. The code is as below

 

 

 

 

 sap = CreateObject("SAPGUI.Scriptingctrl.1")
 sapCon = sap.OpenConnectionByConnectionString(sapServer, False)
 With sapSession            .FindById("wnd[0]/usr/txtRSYST-BNAME").Text = sapID            .FindById("wnd[0]/usr/pwdRSYST-BCODE").Text = sapPassword            .FindById("wnd[0]/usr/txtRSYST-LANGU").Text = "EN"            '.FindById("wnd[0]").SendVKey(0)            '.FindById("wnd[0]/tbar[0]/okcd").text = "SE16"            '.FindById("wnd[0]").sendVKey(0)        End With

sapserver="xxxxx.xxxxx.xxx".

 

When i used it with the Prodution server i got the below error message Connection is refused

 

Capture.JPG

This was the first issue when i changed the the server in this format

 

sapserver="/M/xxxx.xxxxx.xxx/S//G/PG1"

 

i got this error msg

 

Capture1.JPG

 

Logon Balancing parser error.

 

Can you guys please help me with this issue.Please i really need your help. I would really appreciate it if you guys could help me as soon as possible.


Viewing all articles
Browse latest Browse all 522

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>