user9287179
user9287179

Reputation:

integration between Python 3.6 and SAP

I am very new to python, I got a task to pull data into python from SAP system. I am following the below link for connections, but it's not working in my landscape. Also, my question is can I connect python 3.6 clients to SAP Systems?

http://www.alexbaker.me/code/python-and-sap-part-1-connecting-to-sap

If any developer ever has done this please guide me.

Upvotes: 4

Views: 13835

Answers (1)

bsrdjan
bsrdjan

Reputation: 436

Like usual with SAP, there are several possibilities.

Python clients hdbcli and PyHDB can exchange data at HANA database level. Beside stored procedures, no business logic is exposed in Python.

SAP open source Python/RFC connector PyRFC can be used to exchange the data at database or business API level, by calling remote enabled ABAP function modules. These modules can read the database (e.g. RFC_READ_TABLE), or communicate at higher business logic level, exposing functions like Create/Update Sales Order for example, with consistency and authorisation checks etc.

There are also ODATA, IDOC, SOAP ...

Upvotes: 4

Related Questions