Regarding SAP.Connector .Rfc.dll

Hi All,
I have installed sap.net in order to integrate sap r/3 to .net but iam not able to add sap.connector.rfc.dll because it is not found in the add references or it is not added through sap.net but iam able to add sap.connector.dll.Please note that I have installed VS2003 for .net.
Please provide me the solution.Its very urgent.
Thanks
Sowmya

Hi Sowmya C,
How are you doing ?
Upon addition of any SAP component, the reference is added automatically.
However, in the event that the reference to "SAP.Connector.dll"
is not present, you can add it through the references tab, provided that the SAP.NET Connector is installed on the local machine [as this will allow you to add the dll reference locally, like you would reference anyother local assembly]
It is of type .NET dll
with respect,
amit

Similar Messages

  • SAP.Connector.Rfc.dll installing to 2 directories

    I am installing SAPGUI Frontend components including the BW and BI add-on components on a Windows XP/SP2 system with .NET 1.1 already loaded. 
    I've read on this forum that SAP.Connector.Rfc.dll and other .NET assemblies are installed to the GAC, but I saw on a test machine where this assembly (and others) were installed to both the GAC and to the ProgramFiles\sap\frontend\bw directory as well. 
    Is there a requirement for the .NET assemblies to be in the bw directory ( or other private SAP directory as opposed to the GAC?   )
    If anybody from SAP knows the answer, it would be much appreciated.  Thanks!
    Thanks,
    Owen
    Message was edited by:
            Owen Gilmore

    Hi Sowmya C,
    How are you doing ?
    Upon addition of any SAP component, the reference is added automatically.
    However, in the event that the reference to "SAP.Connector.dll"
    is not present, you can add it through the references tab, provided that the SAP.NET Connector is installed on the local machine [as this will allow you to add the dll reference locally, like you would reference anyother local assembly]
    It is of type .NET dll
    with respect,
    amit

  • SAP.Connector.Rfc  INVALID_QUEUE_NAME

    I have an application that is using the .Net Connector 2.0 to access some standard and custom BAPIs in SAP.
    Occasionally when calling the BAPI_CUSTOMER_CHANGEFROMDATA1 BAPI from the application the .Net Connector throws an exception.  The Source of Exception is SAP.Connector.Rfc.  The Message is INVALID_QUEUE_NAME.
    I haven’t been able to find any information on this error message in the SDN archives or in the Connector documentation and would be grateful for any insight that anyone can offer.
    Helga (for James Green)

    Rainer,
    I think the answer is that we don’t really know what kind of exception it is, I’m sorry.  The only way to find out would be to trap that in code, and our 3rd party product provider will do that, but that won’t be before next week.
    At the moment all I have is the source and message of the exception.
    Hope you or someone can still help.
    Helga

  • SAP Connector 2 - Could not load file or assembly 'SAP

    Hi all,
    I've recently installed SAP .NET Connector 2 and have been developing a basic C# web form to interrogate the customers table. I have created all my code and done a successdul build. However, when I try to run the web form I get the following error:
    <i>Could not load file or assembly 'SAP.Connector, Version=2.0.0.0, Culture=neutral, PublicKeyToken=50436dca5c7f7d23' or one of its dependencies. The system cannot find the file specified.</i>
    The SAP.Connector.dll and SAP.Connector.Rfc.dll files are on both my development machine and the server I am deploying the project on. Any ideas ?
    Thanks.

    Fixed it myself. In the solution browser, expand the reference section and in the properties for the SAP.Connector and SAP.Connector.Rfc set the 'Copy Local' parameter from False to True. This fixes the issue.

  • File or assembly name SAP.Connector, or one of its dependencies not found

    Hello there,
    Something very strange is overcoming me when experimenting a little bit with the SAPConnector:
    I developped a class that is accessing the proxy-class generated by the SAPConnector wizard and I have put it into a class library. No problems so far.
    When I am accessing the class library from into a windows application, no problems are signalized...
    However when I try to execute the BAPI from another class library project, I always get the following message:
    File or assembly name SAP.Connector, or one of its dependencies, was not found.
    I am testing with the following configuration:
    - Visual PC 2004
    - .Net-framework 1.1 and .Net-framework 2.0
    - Visual Studio 2003 and Visual Studio 2005
    I tried both SAPConnector 1.0.3 and 2.0, but both return the same message.
    Thanks in advance!
    Greetz,
    Sven

    SAP.Connector.DLL (and SAP.Connector.Rfc.DLL in 2.x) must be available for the project to load. The easiest is to put the two DLLs into GAC (which is the default in NCo 2.x). You can also have them in you application directory. The reason that you don't see a problem if you are using NCo directly is the fact that VS automatically copies directly referenced DLLs into the target directory. This is not (allways) the case for inderectly referenced DLLs.

  • Problem using SAP Connector in Win 2k3 x64 - No Data is returned on BAPIs

    Hi,
    During the tests of migration to a 64 bits environment we encountered some problems with the connection to the SAP server.
    The first problem was that the librfc32.dll library was a 32 bit library, so application could not run in x64 mode.
    We downloaded the official x64 library from the Support Portal (https://websmp206.sap-ag.de/support > Downloads >
    Support Packages and Patches > Entry by Application Group > Additional Components > SAP Kernel > SAP KERNEL 64-BIT > SAP KERNEL 6.40 64-BIT >
    SAP KERNEL 6.40 64-BIT > Windows Server on x64 64bit > #Database independent >  librfc_66-20001176.sar, and extracting file librfc32.dll a x64 dll).
    Using this x64 dll we finally could test the application in 64-bits mode (the purpose of the migration) testing its runtime behavior,
    where my current problem is.
    When connecting to the SAP server all BAPI's we test are always returning an empty data results.
    We have no errors nor exceptions from the SAP .NET connector, only the results come empty when they shouldn't.
    When testing the same application but linked to the SAP 32 bits library (application runs in 32-bit mode), invoking the same BAPI's
    (using the exactly the same code and parameters) we got the correct response from the BAPI, i.e., non empty results.
    We already tested a set of BAPIs and always with the same result, in x64 we got no data, in 32-bits we got the information.
    Does anybody know what can be causing this misbehavior? What can we do to make application run correctly in x64 mode?
    Here some additional information about the Operating System: Microsoft Windows Server 2003, Standard x64 Edition, Service Pack 2 (with all windows updates installed).
    Best regards,
    João Portela on behalf of Manuel Dias

    Maybe your application isn´t run in x84
    #Go to properties of your project ->Build -> changed platform target of "Any CPU" to "x86"
    #Copy these libraries from our 32-bit environment :
    *SAP.Connector.dll
    *SAP.Conector.Rfc.dll
    *librfc32.dll
    *msvcp71.dll
    *msvcr71.dll
    In 64 bits environment:
    1. librfc32.dll to C:WINDOWSsystem
    2. msvcp71.dll to C:WINDOWSsystem32
    3. msvcp71.dll and  msvcr71.dll to C:WINDOWSSysWOW64
    4. SAP.Connector.dll and SAP.Conector.Rfc.dll to C:WINDOWSassembly (DRAG)

  • Crash in SAP NetWeaver RFC SDK DLL

    Hello community,
    I have a problem with the SAP NetWeaver RFC SDK. Once in a while I get a crash with such error message:
    Unhandled exception at 0x000007FEF1D3DD6E (sapnwrfc.dll) in bridgeserver.exe.22108.dmp: 0xC0000005: Access violation reading location 0x0000000000000008.
    Basically I get function metadata, set the call parameters using the API calls and call RfcInvoke. It crashes. The callstack is:
    sapnwrfc.dll!000007fef1d3dd6e()
    sapnwrfc.dll!000007fef1d56613()
    msvcr80.dll!_CallSettingFrame ()
    msvcr80.dll!__CxxCallCatchBlock ()
    ntdll.dll!RcConsolidateFrames ()
    sapnwrfc.dll!000007fef1d5653a()
    sapnwrfc.dll!000007fef1d2c4f7()
    call RfcInvoke from my code
    I've got the call stack from one of the two crash dumps I've got. I took a look on the registers and assembly of the top frame and it looks like an indirect acces to a field of a structure but the pointer to structure is NULL.
    Is there any way I can debug it further? I'm already pretty sure that the parameters to RfcInvoke are correct (no messed-up pointers).

    Thanks Mike,
    For example we want to executie Function Module and need to prepare/allocate TABLE parameter.
    In doing so we need to invoke function RfcGetStructureDescHandle is described in doc.
    However, we cannot find it anywhere in H files under SAP NW SDK 7.10 dir structure.
    Do you have an example of how to create a TABLE parameter (export for example).
    We are going to reproduce the symptom with the demo source distributed with the SDK.
    Any help/suggestions is greatly appreciated,
    Alfonso

  • Sap connector with Minisap

    Hi,
    I'm need implement a project for access sap r/3 with visual studio 2005. I will use SAP connector dll, but I need to test the access first in MiniSAP. Is this possible?
    Regards
    Balbino

    Dear Guys
    I am using SAP 4.6 C and do not want to upgrade it for time being. Basically working on personel project and trying to connect SAP4.6C with a webserver using ASP.NET and .NET Connectors installled in middleware server.
    WebServer (ASP.NET) -
    > Middleware (C#) -
    > SAP4.6C
    I want to transfer data from webserver in XML format to middleware and from middleware to SAP using RFC or IDOC.
    My question is regarding event triggering that is when an XML file is submitted to Middleware, how middleware can know that a file has been reached and will be sent to SAP.
    I have already tried the direct call from WebServer to SAP and it working fine but I want a middleware solution in between in form of C# and .NET Connector.

  • SAP Connector Factory - performance tuning in VA

    Is anyone aware of SAP guidance or notes on how to tune the SAP connector SAPFactory properties, especially where a Portal makes RFC calls across multiple ABAP-based backends?  For example SAP Note 1021921 shows this property is important when closing backend BI RFC sessions as they are not terminated by the DSM.
    Visual Administrator
    Services -> Connector Container
    Runtime -> Connectors -> Connector 1.0 -> sap.com/com.sapportals.connectors.sap -> SAPFactory
    Managed Connection Factory -> Connection Definition
    Connection Lifetime
    Cleanup Thread
    Max Connections
    Max Time to wait for Connection
    In our environment we have CRM, BI and ECC backends.  Thanks!

    Hi
    Please check the following links :
    http://help.sap.com/saphelp_nw70/helpdata/en/89/8a185c148e4f6582560a8d809210b4/content.htm
    and
    http://help.sap.com/javadocs/NW04s/current/ep/constant-values.html
    I hope this helps
    Regards
    Chen

  • SAP NW RFC SDK

    Dear All
    I have unpacked SAP NW RFC SDK inside the /Program Files/SAP/FrontEnd/SAPgui/.
    As a result new Folder nwrfcsdk is created.
    When I tried to run(at the command prompt) the one of the EXE file present inside the /nwrfcsdk/bin, I get a message "This application has failed to start because SAPNWRFC.dll was not found".
    But I can see the said DLL inside the /nwrfcsdk/lib folder.
    Is their anything needed to link the /nwrfcsdk/lib and /nwrfcsdk/bin folders ?
    Please help to over come this issue !
    RJ
    System : Windows XP

    Hello,
    Could you please post the solution as well, I encounter the same issue.
    Thanks, best regards
    Tobias

  • JCO or SAP Connector Framework

    Hello
    I have seen in these links that JCO is deprecated:
    http://help.sap.com/saphelp_nw2004s/helpdata/en/40/003c41325fa831e10000000a1550b0/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/89/8a185c148e4f6582560a8d809210b4/content.htm
    Developers are supposed to use SAP Connector Framework, but it seems that this is a Framework only useful from a Portal Application. What I want to do is to invoke RFCs in a R3 System from a webapp using struts. I have done this using JCO.
    Should I implement it using another solution?
    Thanks in advance

    Hi Marcos,
    You can, of course, use SAP JCO in simple Java Project by importing needed Jars.
    I provide you a sample of connection class with method that you can use for calling a function.
    You can use method "showFunctionParameters()" to test your connection...
    regards
    package echoFunction;
    import java.io.IOException;
    import java.util.Properties;
    import javax.swing.JOptionPane;
    import com.sap.mw.jco.IFunctionTemplate;
    import com.sap.mw.jco.JCO;
    public class JcoConnection {
         private final String REPO_NAME = "REPO_01";
         private JCO.Repository repository;
         private JCO.Function function;
         private JCO.Client connection;
         private JCO.ParameterList paramImport;
         private JCO.ParameterList paramExport;
         private JCO.ParameterList paramTables;
         public JcoConnection() {
              // constructor
         public void connect(String sapClient, String userId, String passWord,
                   String language, String server, String systemNumber) {
              connection = JCO.createClient(sapClient, userId, passWord, language,
                        server, systemNumber);
              connection.connect();
              repository = new JCO.Repository(REPO_NAME, connection);
         public void connect(Properties properties) {
              connection = JCO.createClient(properties);
              connection.connect();
              repository = new JCO.Repository(REPO_NAME, connection);
         public void disConnect() {
              connection.disconnect();
         public void useFunction(String functionName) {
              IFunctionTemplate ift = repository.getFunctionTemplate(functionName
                        .toUpperCase());
              function = new JCO.Function(ift);
              paramImport = function.getImportParameterList();
              paramExport = function.getExportParameterList();
              paramTables = function.getTableParameterList();
         public void execute() throws JCO.AbapException {
              connection.execute(function);
         public void setInputValue(String paramName, String valueInput) {
              paramImport.setValue(valueInput, paramName);
         public String toString() {
              return connection.getAttributes().toString();
         public static void main(String[] args) {
              JcoConnection sapConn = new JcoConnection();
              try {
                   sapConn.connect(Utilities.loadPropertyFile("logon.properties"));
                   sapConn.useFunction("STFC_CONNECTION");
                   sapConn.setInputValue("REQUTEXT", "Echo text");
                   sapConn.execute();
              } catch (IOException ex) {
                   ex.printStackTrace();
              } catch (Exception ex) {
                   ex.printStackTrace();
              sapConn.disConnect();
              JOptionPane.showMessageDialog(null, sapConn.showFunctionParameters());
         public String showFunctionParameters() {
              String paramText = "";
              paramText = "ECHOTEXT: t";
              paramText += function.getExportParameterList().getString("ECHOTEXT")
                        + "n";
              paramText += "RESPTEXT: t";
              paramText += function.getExportParameterList().getString("RESPTEXT");
              return paramText;
    package echoFunction;
    import java.io.FileInputStream;
    import java.io.IOException;
    import java.util.Properties;
    public class Utilities {
         public static Properties loadPropertyFile(String filePath)
                   throws IOException {
              Properties properties = new Properties();
              properties.load(new FileInputStream(filePath));
              return properties;

  • SAP.connector.rfcLogonException with SAP Connector

    I'm having an error when I try to connect to SAP:
    SAP.connector.rfcLogonException: You are not authorized to logon to the target system.
    The code is part of a sample program located in CodeProject, the example is complete. I can't install the .Net Connector because I use C Sharp express, so the program doesn't install.
    Any help?
    TIA

    Assing the profile R3_BASIC to RFC user id in SU01 and try it.
    Basis consultant will be able to help you on this.
    Thanks & Regards,
    Govind.
    Message was edited by: Govindaraju A

  • SAP Connector Proxy Wizard doesn't start

    Hi all,
    I've just installed VS2003, the SAP .NET connector and the .net framework (1.1) on a freshly installed Windows XP pro machine. If I follow the various tutorials on the web I should be able to create a SAP proxy when doing the following:
    - start VS2003
    - create a new Windows Application (in C#)
    - Add a SAP Connector Proxy
    -- A wizard starts
    And that is were it starts to go wrong. Instead of a wizard, I get the following:
    <?xml version="1.0" encoding="utf-8" ?>
    <wsdl:definitions targetNamespace="urn:sap-com:document:sap:rfc:functions" xmlns:s0="urn:sap-com:document:sap:rfc:functions" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
      <wsdl:types>
        <xsd:schema targetNamespace="urn:sap-com:document:sap:rfc:functions" xmlns:s0="urn:sap-com:document:sap:rfc:functions" xmlns:xsd="http://www.w3.org/2001/XMLSchema"></xsd:schema>
      </wsdl:types>
      <wsdl:portType name="dummy.PortType"></wsdl:portType>
      <wsdl:binding name="dummy.SAPBinding" type="s0:dummy.PortType" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
        <s0:binding style="rfc" />
        <wiz:GeneratorSettings xmlns:wiz="urn:sap:mw:dotnet:wizard">
          <wiz:ProxyType>Client</wiz:ProxyType>
          <wiz:ClassName>SAPProxy1</wiz:ClassName>
          <wiz:Beautify>True</wiz:Beautify>
          <wiz:CreateAsyncs>False</wiz:CreateAsyncs>
          <wiz:CreateQRFC>False</wiz:CreateQRFC>
          <wiz:CreateTRFC>False</wiz:CreateTRFC>
        </wiz:GeneratorSettings>
      </wsdl:binding>
      <wsdl:binding name="dummy.Binding" type="s0:dummy.PortType" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
        <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" />
      </wsdl:binding>
    </wsdl:definitions>
    Does anyone know what could be wrong here?
    Thank you and kind regards,
    Thomas

    Hi Thomas,
    With the newer version of NCo (> 2.0) there is no wizard. You would have to drag and drop the RFC/BAPI from the server explorer window of visual studio.
    First open the solution explorer, click on the SAP icon. Specify the credentials. And then from the list of RFC/BAPI drag and drop on SAP connector proxy page(design view). You can also specify the filter to restrict the listing of RFC/BAPI.
    Regards.

  • SAP connector: java.lang.NullPointerException

    Hi,
    we are actually using the free of charge version of cps.
    Right now we are just running one job there "SAP_CCMS_MONI_BATCH_DP" It worked fine for about 2 weeks. Today I saw that the job is not executed in the SAP System anymore.
    The error message is:
    An error has occurred in the SAP connector: java.lang.NullPointerException
    Details:
    java.lang.NullPointerException
    at java.lang.Throwable.<init>(Throwable.java:58)
    at java.lang.String.regionMatches(String.java:886)
    at java.lang.String.startsWith(String.java:981)
    at java.lang.String.startsWith(String.java:966)
    at com.redwood.scheduler.connector.sap.rfc.command.JobParameterHelper.getParametersStartingWith(JobParameterHelper.java:276)
    at com.redwood.scheduler.connector.sap.rfc.command.impl.AbapRunPrintCommand.doAddSteps(AbapRunPrintCommand.java:256)
    at com.redwood.scheduler.connector.sap.rfc.command.AbstractXbpJobRunCommand.execute(AbstractXbpJobRunCommand.java:177)
    at com.redwood.scheduler.connector.sap.rfc.command.AbstractXbpCommand.doExecute(AbstractXbpCommand.java:123)
    at com.redwood.scheduler.connector.sap.rfc.command.AbstractCommand.execute(AbstractCommand.java:56)
    at com.redwood.scheduler.connector.sap.rfc.service.SapJobWork.doWork(SapJobWork.java:107)
    at com.redwood.scheduler.infrastructure.workqueue.Worker.run(Worker.java:59)
    at java.lang.Thread.run(Thread.java:838)
    I have already checked the connection from CPS to the SAP System - everything is ok... I have restarted the process server...
    Regards
    Johannes

    HI Anton,
    my college told me right now, that we have patched the SAp System with the latest Kernel:
    Kernel Release: 701
    Patch Level 75
    ABAP LOAD 1565
    CUA-Load 32
    Mode opt
    The Job failed exactly at that time, when the Kernel was patched...
    Regards
    Johannes

  • No connection from SAP EP to Raytion SAP Connector

    Hello,
    The Raytion SAP connector 1.5.1 has been deployed without any problems on the customer SAP EP (Production). We see that no connection can be made from the SAP EP to this SAP Connector.
    Extract from the log file: (10.54.17.63 is the IP address from the Raytion SAP Connector server.)
    2008-04-03 13:30:40,082 DEBUG resource allowed by watched repository filter: true
    2008-04-03 13:30:40,097 DEBUG resource allowed by hidden filter: true
    2008-04-03 13:30:40,097 DEBUG resource allowed by size filter: true
    2008-04-03 13:30:40,097 DEBUG resource allowed by Exclude RegEx filter: true
    2008-04-03 13:30:40,097 DEBUG resource released by timebased service: true
    2008-04-03 13:30:40,097 DEBUG resource released by statemanagement service: true
    2008-04-03 13:30:40,191 INFO about to post /Intranet/Departement%20Facility%20Management/Dienst%20Schoonmaak/Nieuws/7061c4fe-fc43-2a10-05bc-bcb3aa83965c.xml
    2008-04-03 13:30:42,082 WARN could not connect to connector server at http://10.54.17.63:16050/DataSource. http://portaal:50000/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/Intranet/Departement%20Facility%20Management/Dienst%20Schoonmaak/Nieuws/7061c4fe-fc43-2a10-05bc-bcb3aa83965c.xml not sent! com.caucho.hessian.io.HessianProtocolException:
    2008-04-03 14:47:32,552 INFO Start security update initiated by Connector Server
    2008-04-03 14:47:34,240 WARN could not connect to security cache at http://10.54.17.63:16050/Security. Start update notification not sent! com.caucho.hessian.io.HessianProtocolException:
    2008-04-03 14:47:34,240 ERROR Could not send security synchronisation start notification. No server available.
    The contractor that installed this, thinks the next area to look to is to see if the SAP EP has been configured somehow to stop outgoing http traffic from applications running within it... Maybe the EP is blocking outgoing HTTP access, although other components from the EP are working OK.
    How can we check this?
    Please advise.
    Kind regards.

    Check the following Links:
    I want an explanation for this connection between R/3, CRM and IPC ??????
    Document flow from R/3 to CRM
    BP Changes From CRM to R/3
    BP Changes From CRM to R/3
    Reward Points if useful.

Maybe you are looking for

  • Text replacements no longer working correctly after Mavericks install.

    Since upgrading to Mavericks (MBA2011 13inch) only a select few of the text replacements still work. For example, I can still write (c) and tm and have them change to what they should be, but the fractions, and custom ones like gmc, omw, or the apost

  • CS4 cutting and pasting from illustrator expands appearance

    I'm working within CS4 taking a few simple vectors and pasting into ID, Everything seems to work except a few images which the strokes are converted to fills. The illustrator file has multiple artboards but other items cut and paste perfectly. Is the

  • Any one can provide a link to Download JCO API

    Hi, I am looking for JCO API to download for reference. I tried but I could not find a link from where I can download JCO API for reference. I do not have OSS ID. I need only JCO API just like J2SDK and J2EE API for reference. Thanks and regards. Ash

  • Some letter are not typed well

    It's been less than 10 days to use an ipod touch. I charged it with a computer and tried to type, but some English letters are not typed well. What should I do?

  • Wait Time in SOST

    Hello everybody, I've been a problem with the send of email.. When I send a email I go to look the status in T-Code SOST and it is Wait Time with the clock icon, for me waiting to send this email , I have to waiting about 5 hours or I select the emai