Skip to Content
SAP .NET Connector 2.0 is available for download as a Beta version from http://service.sap.com/connectors.

As the things work fairly different from Version 1.0, here some tips to get started:

– Download the ZIP and extract the MSI.
– Installl it. You need Visual Studio 2003 beeing installed.
– Start Visual Studio.
– You see the documentation in “Content”.
– Create or open a VB or C# project.
– Add new item “SAP Connector Proxy” (go down the list).
– Open Server Explorer.
– Select the “Data Connections” node and click on “Refresh” button. Do not right click and select “Refresh”, but click the small button on top of the Server Explorer Window. You should see the SAP root node.
– Add your SAP Server nodes and drag Functions or BOR objects to the designer.

To report this post you need to login first.

20 Comments

You must be Logged on to comment or reply to a post.

  1. Kevin Brackley
    Hello,

    I am trying to get a copy of the SAP .NET connector my SDN logon credentials are:
    User ID  :        p039134

    we are architecting a report scheduling solution with SAP and we need to explore the possibility of using the .NET connector.

    Will you be able to send me a copy of the connector.

    Kind Regards

    Kevin Brackley
    Ceiba Technologies LTD
    Midsummer Court
    Midsummer Boulevard
    Central Milton Keynes
    MK9 2UB
    +44(0) 845 120 3822
    kevin_brackley@ceiba.co.uk

    (0) 
    1. Reiner Hille-Doering Post author
      You need access to the SAP Service Marketplace to download it – meanding you need to be a SAP customer having at least a license of a full product like R/3.
      (0) 
      1. Aniruddha Gargya
        Hi,
        I tried using the .Net connector as per the documentations provided, but when ever I tried to drag and drop a function module into the designer space it gave me this error

        “System cannot find specified path” in the back ground though the “loading data. Please wait” screen is active and the slider is running.

        I am able to see contents of BOR and functions specified in my filter, but am not able to drop them into my designer proxy.

        Regards,
        Aniruddha

        (0) 
        1. Sergio Herculano
          Hi,
          I’m from Brazil and I have a question and I think that you can help me.

          I have the problem that you described in your mail.

          Did you solve it ?

          Can you help me ?

          Thanks in advance

          Regards

          Sérgio

          Weblog:   SAP .NET Connector 2.0 News 
          Subject: .NET Connector Download
          Date: 2004-08-25 08:01:37
          From: Aniruddha GargyaBusiness Card 
          Response to: .NET Connector Download 

          ——————————————————————————–

          Hi,
          I tried using the .Net connector as per the documentations provided, but when ever I tried to drag and drop a function module into the designer space it gave me this error

          “System cannot find specified path” in the back ground though the “loading data. Please wait” screen is active and the slider is running.

          I am able to see contents of BOR and functions specified in my filter, but am not able to drop them into my designer proxy.

          Regards,
          Aniruddha

          (0) 
          1. Reiner Hille-Doering Post author

            Sounds to me like an issue with the Path to Java.exe in the registry. Please check that the \JavaHome points to the correct Java home which as bin\java.exe in it.

            (0) 
            1. Sergio Herculano
              Hello Reiner,
              Thanks a lot for your help, was exactlly that you have explained in your mail, I installed some months ago another program that put an java runtime version and it was wrong in the register, yesterday I installed the new java runtime version and now SAP connector for .Net is working fine.

              Thanks again and regards from Brazil

              Sérgio Herculano
              sergio_herculano@festo.com

              (0) 
  2. Marcel Heling
    Is it planned to support dynamic calls for the .NET Connector instead of code-generation ?
    If so, in which release will this be available ?

    Greetings…

    (0) 
  3. Isik Erkan
    Hello Rainer,
    does the new .net connector support the mapping of XML files to IDocs. Then I had to write function which makes this possible. But it is better if the .net connector support them.
    (0) 
      1. Mike Bosch
        Is it possible to get a copy of this prototype?  Perhaps we can create a open GotDotNet workspace for it and contribute to its functionality.  I’m sure it would be of great use to many developers.
        (0) 
  4. Jim Jackson
    I have downloaded Version 2 and it is a great improvement over Version 1 – much easier to use and setup.  I have tried it with RFC_Customer_Get and it works fine.

    If I wanted to use a self written function module with it, how do I relate the file created in that as per BRKNAI/BRKNAITable in the Customer_Get function for example (which are “created” in the new version via drag and drop) as these are the “files” used in the VB.net program. 

    Thanks

    Jim

    (0) 
      1. Jim Jackson
        Thanks, Reiner – does that mean that the proxy is clever enough to realise what parameters, tables etc are used in the function module and creates an appropriate entity automatically ?  If so, do I have to read the code to get the names of those parameters/tables used as per previously mentioned..

        I have created my VB.net program with the SAP.net DLLs included but when I load it onto a client PC, it says the SAP connector is missing.  It isn’t – as it is in the directory/folder that the program was loaded into.  What am I doing wrong or do I have to separately install the SAP.Net connector on each PC that needs it ?

        One other thing, can you ask the user to sign onto SAP from a Windows form as well as from the Web version ? If so, how would I do this ?

        Thanks again

        Jim

        (0) 
        1. Reiner Hille-Doering Post author
          Yes, the proxy generator know which types are needed and creates the necessary type proxies. You don’t need to read code to learn about it: The proxy designer will show you all created types with there fields if you want: Click on the designer background and set the “ShowTypes” property to True.

          To deploy a application you need the following DLLs in either your application directory or GAC/System32:
          SAP.Connector.DLL
          SAP.Connector.Rfc.DLL
          LIBRFC32.DLL

          Creating a Windows Forms based logon screen is terribly simple: Just drag a destionation to a form (you can drag the server item to get a pre-initialized one and create some text boxes. Then data bind the textboxes to the properties of the destination. If I have time, I will post a sample.

          (0) 
            1. Jim Jackson
              FYI, I have just installed application fix package 22 to our 4.7 version and I started getting calls from my users saying the VB SAP.Connect program didn’t work.  As no changes had been made recently I thought it was one of those user things…

              But guess what – it wasn’t. The RFC I used in my program and the one used in all the demos (RFC_Customer_Get) does not exist any more.  So now until I can work out the most appropriate BAPI and if it passes across the same data etc, I’ve had to comment out the direct SAP links and put it back to data entry by the user.

              Not impressive from SAP

              Jim

              (0) 
  5. Manish Gore
    Hi,

    I am using .Net connector 2.0. ould anybody tell me how to use BAPI in .Net using connector.

    I am able to use RFC but no idea of BAPI.

    Thanks & Regards,
    Manish Gore.

    (0) 
    1. Reiner Hille-Doering Post author
      Expand the BOR node in Server Explorer, search or browse to your BOR class and drag it (the class icon) to your .sapwsdl designer.

      PS: Please post this kind of questions to the forum, not to the WebLog in future.

      (0) 

Leave a Reply