Winform 应用程序/ASP.NET 应用程序与 SAP 数据库的连接

发布于 2024-07-05 17:41:14 字数 87 浏览 7 评论 0原文

如何从 SAP 数据库获取 Winforms 应用程序或 ASP.NET 表单中的数据? 使用的.NET框架是2.0。 ,语言为C#,SAP版本为7.10。

How can I fetch data in a Winforms application or ASP.NET form from a SAP database? The .NET framework used is 2.0. , language is C# and SAP version is 7.10.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

め七分饶幸 2024-07-12 17:41:14

对插件表示歉意...我在 ERP-Link 工作,我们有一个产品 iNet.BPS,它是一个 VS2005 插件,可帮助您创建代理对象,.NET 代码可以使用该代理对象来调用 BAPI在 SAP 系统上。 iNet.BPS 允许您自定义 BAPI 方法调用,例如,它允许您删除应用程序未使用的可选参数,从而不必将十几个参数传递给 BAPI,从而简化了您的代码。 该产品不依赖于 SAP AG 的 SAP Connector for .NET。

以下是营销页面的链接,http://www. erp-link.com/html/product/product-overview-iNetBPS_Overview.asp

Apologies for the plug.... I work for ERP-Link, and we have a product, iNet.BPS, which is a VS2005 plug-in that helps you create proxy objects that can be used by your .NET code to call BAPI's on an SAP system. iNet.BPS lets you customize the BAPI method calls, for instance it lets you elide optional parameters your application is not using, thus simplifying your code by not having to pass over a dozen parameters to the BAPI. This product is not dependent on SAP AG's SAP Connector for .NET.

Here's a link to the marketing page, http://www.erp-link.com/html/product/product-overview-iNetBPS_Overview.asp

不顾 2024-07-12 17:41:14

不确定这是否适合您,但是有一个 C 库,可以在您的 C# 应用程序中使用它,并且提供了一个非常简单的 API 来调用 SAP 中的 BAPI。 (不建议直接通过 SQL 访问底层数据库......最好使用 BAPI 或定制的支持 RFC 的功能模块。)
请参阅 http://service.sap.com/rfc-library

您也许还可以使用“SAP Connector for Microsoft .NET”(来自上面的同一链接),但它是使用 .NET 1.1 开发的,可能与 .NET 2.0 存在兼容性问题?!

更新(2011):自 2010 年 12 月起,推出了新版本的“适用于 Microsoft .NET 的 SAP 连接器”,它可与 .NET Frameworks 2.0、3.5 和 4.0 配合使用。 现在这将是您问题的完美解决方案! 请参阅 http://service.sap.com/connectors ---> 适用于 Microsoft .NET 的 SAP 连接器

Not sure if this will work for you, but there's a C library, which can probably be used from your C# application and which provides a quite easy API for calling BAPIs in SAP. (Accessing the underlying database directly via SQL is not to be recommended... Better use BAPIs or a custom-tailored RFC-enabled function module.)
See http://service.sap.com/rfc-library

You may also be able to use the "SAP connector for Microsoft .NET" (from the same link above), but it was developed with .NET 1.1 and may have compatibility problems with .NET 2.0?!

Update (2011): Since Dec. 2010 there is a new version of the "SAP connector for Microsoft .NET" available, which works with .NET Frameworks 2.0, 3.5 and 4.0. This would now be the perfect solution for your question! See http://service.sap.com/connectors ---> SAP connector for Microsoft .NET

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文