Skip to Content
author's profile photo Former Member
Former Member

SAP Router in VB

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

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on May 30, 2005 at 02:11 PM

    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/

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.