SAP可以与Python一起工作吗?

2024-04-19 14:46:49 发布

您现在位置:Python中文网/ 问答频道 /正文


Tags: python
3条回答

Python SAP RFC module似乎不活跃-last (insignificant ) commit两年前-但可能为您服务:

Pysaprfc is a wrapper around SAP librfc (librfc32.dll on Windows, librfccm.so or librfc.so on Linux). It uses the excellent ctypes extension package by Thomas Heller to access librfc and to define SAP compatible datatypes.

现代SAP版本使用^{} way-您可以构建一个SAP Web Service,并从Python中使用它。

With SAP NetWeaver, developers can connect applications and data sources to integrate processes using Web services.

In particular, developers can use one infrastructure to define, implement, and use Web services in an industry standards based way. SAP NetWeaver supports synchronous, asynchronous, stateful and stateless web service models - enabling developers to support different integration scenarios.

^{}支持这个SAP NetWeaver功能,supersedes旧的RFC SDK,并且是主动维护的。

如果你说的是(以前的名字)SAP数据库,也就是SapDb,现在是MaxDB(有一段时间它也是由MySql公司发行的,now又是由SAP公司发行的,所以也被命名为SAP MaxDB),那么它附带了几个Python访问模块,文档记录为here

这是我可以附加到“SAP作为数据库引擎”的唯一含义,即您希望访问SAP MaxDB。其他的答案有不同的假设,而且(我相信)也是正确的。。。在这些不同的假设下。

Python RFC连接器现在可用作开源:PyRFC

相关问题 更多 >