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

Launch SAP interface from RFC

Is anyone aware of an RFC (or other method) that can be used to launch SAP externally?

My environment is .NET and my tool VB and I am establishing a connection to SAP via the .NET connector.

If anyone can help, that would be great.

-Ryan

Add a comment
10|10000 characters needed characters exceeded

Related questions

3 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Apr 20, 2004 at 12:16 PM

    The Windows RFC SDK (on which the .NET connector is based) supports starting the SAPGUI so that any function call that invokes dialog will cause the GUI to appear.

    This can either be done when the RFC connection is established (by passing "USE_SAPGUI=1" in the parameters to RfcOpenEx), or later by calling RfcGuiStart.

    However, I don't know how this translates to the .NET connector, which in my understanding was designed as a middle layer for n-tier development, thus potentially they didn't include support for starting the GUI via RFC. Best to ask in the SDN .NET technologies forum if you are unable to use the native RFC SDK (I imagine calling such unmanaged code might be a pain from your .NET code).

    Cheers,

    Scott

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      Another option, might simply be to invoke sapshcut.exe using parameters like:

      "...\sapshcut.exe" -sysname="Development" -client=123 -user=myuserid -pw=mypass -command="SE38"

      Refer to OSS note 103019 for more details.

      Scott

  • author's profile photo Former Member
    Former Member
    Posted on Apr 26, 2004 at 04:58 AM

    Hi Rhyn. where are you from?

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Apr 26, 2004 at 11:43 AM

    Please note the the correct forum about this kind of issues is Interoperability .NET

    It already contains some threads with similar content.

    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.