Skip to Content
avatar image
Former Member

Launching SAP GUI wth .NET Connector

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

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

I have tried Ecatt_Start_Gui_Remote and a few others, however I get the error "Please logon with a dialog user". I am wondering, can a "dialog user" be established with the standard SAP <i>destination</i> control in .NET?

If anyone can help, that would be great.

-Ryan

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • Apr 26, 2004 at 08:20 AM

    Have you specified the USE_SAPGUI parameter in your connection string? This is done easiest by settings destination.SAPGui to 1 or 2. 1 means "SAPGUI visible", 2 means that SAPGUI is hidden after RFC call.

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hi Ramesh,

      If I understand you correctly, it is a 3-tier scenario. Your C# program makes a RFC call to a FM in a SAP system and the FM in turn makes another RFC call to another SAP system specified by the passed RFC destination parameter. During the second RFC call, a GUI screen pops up.

      In this case, you still need a dialog user for the connection between your C# program and the first SAP system. The dialog user specified in the RFC destination just makes it possible to display a GUI screen from the second SAP system ontop of the GUI window of the first SAP system. The dialog user specified in C# program is required for displaying the GUI window of the first SAP system.

      It is similar to making Remote Desktop Connection over Windows Terminal Service. Before you can access a remote desktop, you have to first have the access to the local desktop of your PC.

      Regards,

      Guangwei