直接从 VB.NET 访问 SAP R/3 数据

发布于 2024-09-24 10:25:38 字数 255 浏览 0 评论 0原文

我们的任务是根据 SAP R/3 中的数据创建一些 XML 输出。我们正在使用 SAP .NET Connector 来执行此操作。我们面临的问题是有一些字段没有被任何标准 BAPI 公开。不幸的是,我们无法在此特定系统上创建定制的 BAPI。

因此,我们只能使用任何可用的标准 BAPI。我在互联网上看到像 ERPConnect 这样的工具可以使用 RFC 直接提供对表的访问。如何在 VB 中执行此操作,而无需购买任何此类工具,无论使用或不使用 .NET Connector。

We have an assignment to create some XML outputs from data in SAP R/3. We are using SAP .NET Connector, for doing this. The problem we are facing is that there are some fields which are not exposed by any standard BAPI. Unfortunately we cannot create customized BAPI on this particular system.

We are therefore restricted to whatever standard BAPI are available. I have seen on internet that tools like ERPConnect can provide access to tables directly using RFC. How can this be performed in VB, without purchasing any such tool, using or without using .NET Connector.

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

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

发布评论

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

评论(3

策马西风 2024-10-01 10:25:38

看一下功能模块RFC_READ_TABLE。请务必阅读整个文档 - 它有一些限制,具体取决于 SAP R/3 版本。

Take a look at the function module RFC_READ_TABLE. Be sure to read the entire documentation - it has some limitations depending on the SAP R/3 release.

有木有妳兜一样 2024-10-01 10:25:38

您可以直接访问连接到 SAP 并存储其数据的数据库系统。

You may access directly the database system which is connected to SAP and stores its data.

喜爱纠缠 2024-10-01 10:25:38

如果无法使用其他工具,则应使用 BBP_RFC_READ_TABLE 而不是 RFC_READ_TABLE。

BBP_RFC_READ_TABLE 解决了 RFC_READ_TABLE 中所示的负十进制值的一个字段长度问题。基本上,RFC_READ_TABLE 不处理负号空间的要求,并且当值占据完整长度时必须使用星号。 BBP_RFC_READ_TABLE 检测小数类型并将其填充 1。

You should use BBP_RFC_READ_TABLE instead of RFC_READ_TABLE, if you cannot use other tools.

BBP_RFC_READ_TABLE resolves one field length issue for negative decimal values as seen in RFC_READ_TABLE. Basically, RFC_READ_TABLE does not handle the requirement for minus sign space and had to use asterisk instead when the value occupies the full length. BBP_RFC_READ_TABLE detects decimals type and pad it by 1.

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