Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

SAP Router in VB

Former Member
0 Kudos

How can I use VB to connect through SAP router. I find that SAPFunctions object contain property GatewayHost, GatewayService and SAPRouter. Can I use these properties. I set SAPRouter as the same as I set in SAP-Gui but it didn't work.

Set oFunctions = New SAPFunctionsOCX.SAPFunctions

With oFunctions.Connection

.Client = "12345"

.User = "sapuser"

.Password = "sappasswd"

.ApplicationServer = "1.1.1.1"

.System = "00"

.SAPRouter = /H/2.2.2.2/S/3299/W/password"

End With

Thanks,

Theewara

Message was edited by: Theewara Vorakosit

1 REPLY 1

former_member215251
Discoverer
0 Kudos

Hi

Out from my knowlage each Saprouter String had to start with /H/ AND to stop with /H/

i would try:

.SAPRouter = /H/2.2.2.2/S/3299/W/password/H/