7. SAP .NET Connector 3.0 is the current version of SAP's development environment
for communication between the Microsoft .NET platform and SAP systems.
This connector supports RFCs and Web services. It allows you to write different
applications such as Web form, Windows form, or console applications in the
Microsoft Visual Studio.Net.
With the SAP .NET Connector, you can use all common programming languages,
such as Visual Basic. NET, C#, or Managed C++.
8. Using the SAP .NET Connector you can:
Write .NET Windows and Web form applications that have access to SAP business objects
(BAPIs).
Develop client applications for the SAP Server.
Write RFC server applications that run in a .NET environment and can be installed
starting from the SAP system.
9.
10. Install SAPDotNetConnector3 nuget package
The SAP .Net Connector is a set of libraries that handle connections and abstractions between
.Net Framework code and SAP BAPIs and RFCs.
Add reference:System.Web
Prepare Connection Settings
Name
AppServerHost
SystemNumber
Client
User
Password
Language
11. Create RfcConfigParameters
public class RfcConfigParameters : Dictionary<string, string>
RfcConfigParameters configParams = new RfcConfigParameters();
configParams.Add(RfcConfigParameters.Name, opt.GetOptionArg("AppServerHost"));
configParams.Add(RfcConfigParameters.AppServerHost, opt.GetOptionArg("AppServerHost"));
configParams.Add(RfcConfigParameters.SystemNumber, opt.GetOptionArg("SystemNumber"));
configParams.Add(RfcConfigParameters.Client, opt.GetOptionArg("Client"));
configParams.Add(RfcConfigParameters.User, opt.GetOptionArg("User"));
configParams.Add(RfcConfigParameters.Password, opt.GetOptionArg("Password"));
configParams.Add(RfcConfigParameters.Language, opt.GetOptionArg("Language"));
14. Wrapper library for the SAP .Net Connector 3.0.
Adapts existing api to a more friendly form for the .Net developers.
NSAPConnector tries to emulate an ADO.Net behavior and usage which is the most
common way of dealing with database data in the .Net world.
NuGet
NSAPConnector_x86
NSAPConnector_x64