从Python查询SAP数据库? [英] Query SAP database from Python?

查看:782
本文介绍了从Python查询SAP数据库?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

可以使用Python查询SAP数据库吗?

Can Python be used to query a SAP database?

推荐答案

Python SAP RFC模块似乎不活动-最近一次(微不足道的)提交 2年前-但可能为您服务:

Python SAP RFC module seems inactive - last (insignificant ) commit 2 years ago - but may serve you:


Pysaprfc是围绕SAP librfc的包装(librfc32 Windows上的.dll,Linux上的librfccm.so或librfc.so)。它使用Thomas Heller提供的出色的ctypes扩展包来访问librfc并定义与SAP兼容的数据类型。

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版本使用 Web服务方法-您可以构建 SAP Web服务并使用它来自 Python

Modern SAP versions go the Web Service way - you could build a SAP Web Service and consume it from Python.


借助SAP NetWeaver,开发人员可以连接应用程序和数据源

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

特别是,开发人员可以使用一种基础结构以基于行业标准的方式定义,实现和使用Web服务。 SAP NetWeaver支持同步,异步,有状态和无状态的Web服务模型-使开发人员能够支持不同的集成方案。

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.

sapnwrfc 支持此 SAP NetWeaver 功能,取代较早的RFC SDK,并得到了积极维护

sapnwrfc supports this SAP NetWeaver functionality, supersedes the older RFC SDK, and is actively maintained.

这篇关于从Python查询SAP数据库?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆