Skip to Content
0
Former Member
May 29, 2005 at 04:12 AM

SAP Router in VB

289 Views

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