在 Sharepoint 2010 中显示 SAP 表内容

发布于 2024-12-13 23:10:01 字数 122 浏览 4 评论 0原文

我们正在尝试在 SharePoint 2010 中显示 SAP 表内容。

实现此目的有哪些不同方法?

我们想到的一种方法是使用 SAP .NET Connector。

然而哪种方法最好呢?

We are trying to display a SAP table content in SharePoint 2010.

What are the different ways to achieve this?

One way we thought to do is with SAP .NET Connector.

However which method will be best ?

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

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

发布评论

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

评论(2

土豪 2024-12-20 23:10:01

您可以通过在 VS2003 中围绕 SAP .Net Connector 构建包装类,然后使用这些类,将 SAP .Net Connector 与 VS 2010 结合使用,但维护是一项……挑战。

SAP 有新版本<-> .Net 连接中间件可用,但我没有使用它的经验。 SAP 论坛中提供了相关信息 - 我会向您指出,但我不再在使用 SAP 和 .Net 的公司工作,因此我无法访问论坛。在尝试使用 .Net 连接器进行任何操作之前,我会对此进行调查。

根据记忆,根据您拥有的 SAP 应用程序,可以访问许多 SAP 活动的 Web 服务 - 同样,我对这些没有经验,但论坛上也有专门针对它们的部分。在任何一种情况下,如果您有权访问 ABAP 程序员,并且您需要的功能未在内置 API 中公开,则它们可以通过自定义代码公开为远程函数调用。

不会做的一件事是直接更新 SAP 数据库。 SAP 系统中有许多互连的表,并且更新通过内部 SAP 代码在它们之间同步。如果直接对表进行更新,您必然会错过系统对其他表进行的一些相关更新,从而给自己带来无穷无尽的麻烦。如果您要更新 SAP 中的信息,请坚持使用公开的 API 或在依赖于内部函数的 ABAP 中编写自己的 API。如果您只是读取数据,您可能可以直接从数据库读取数据,尽管根据我的经验,有时非常很难弄清楚信息存储在哪些表中,并且其中一些存储在在“透明表”中,对于 SAP 系统来说,它看起来像数据库表,但没有磁盘上的表示形式。

You can use the SAP .Net Connector with VS 2010 by building wrapper classes around it in VS2003 and then consuming those, but maintenance is a ... challenge.

There's a new version of the SAP <-> .Net connectivity middleware available, but I have no experience with it. Information is available in the SAP forums - I would point you to it, but I don't work at the company where I used SAP with .Net any longer so I don't have access to the forums. I would investigate that before attempting anything with the .Net connector.

Speaking from memory, depending on which SAP Applications you have there are web services accessible for many SAP activities - again I have no experience with these, but there are sections of the forums dedicated to them as well. In either scenario if you have access to an ABAP programmer and the functionality you need is not exposed in the built-in APIs they can be exposed as remote function calls by custom code.

One thing I would not do is to update the SAP database directly. There are a lot of interconnected tables in the SAP system and updates are synchronized across them by the internal SAP code. If you make updates to a table directly you are bound to miss some of the correlated updates to other tables that the system makes and cause yourself no end of trouble. If you're updating information in SAP, stick to the exposed APIs or write your own in ABAP that rely on the internal functions. If you're just reading data you would probably be OK reading directly from the database, although in my experience it's sometimes very difficult to figure out which tables the information is stored in, and some of it is stored in "transparent tables" that look like database tables to the SAP system but have no on-disk representation.

怀念你的温柔 2024-12-20 23:10:01

我之前有使用 SAP .NET Connector 从 SAP 调用 BAPI 函数来获取数据的经验。最具挑战性的部分是设置输入 z 表,经过一些调试,我完成了,它工作正常,性能良好,

我肯定会建议这样做,但这是几年前的故事,不确定是否有之后还有其他不错的选择吗?

快乐编码

I have prior experience to use SAP .NET Connector to call BAPI functions from SAP to get data. Most challenging part was to setup input z-tables, after some debugging, I was through and it is working without any problem with good performance

I would surely recommend going that way, but that is a story before couple of years, not sure if there are other good options available with that after that.

Happy coding

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