Sap integration with C# RRS feed

  • Question

  • Hi,

    I want to integrate SAP with C#. I am using the below code.

                Type sapFuncType = Type.GetTypeFromProgID("SAP.Functions", true);
                objFuncs = System.Activator.CreateInstance(sapFuncType, true);
                dynamic objConnection = objFuncs.Connect;

                // System Details
                objConnection.system = sapSystem;
                objConnection.Applicationserver = sapAppServer;
                objConnection.SystemNumber = sapSystemNum;

                // Logon details
                objConnection.client = sapClient;
                objConnection.user = sapUser;
                objConnection.Password = sapPassword;
                objConnection.Language = sapDefaultLan;

    But i am not able to connect to the SAP Server. Do i need any extra SAPConnector.dll. Please help me asap.

    Saturday, April 27, 2013 7:02 AM