Questions tagged [pyrfc]

The pyrfc Python package provides Python bindings for SAP NetWeaver RFC Library, for a comfortable way of calling ABAP modules from Python and Python modules from ABAP, via SAP Remote Function Call (RFC) protocol.

The pyrfc Python package provides Python bindings for SAP NetWeaver RFC Library, for a comfortable way of calling ABAP modules from Python and Python modules from ABAP, via SAP Remote Function Call (RFC) protocol. https://github.com/SAP/PyRFC

70 questions
1
vote
1 answer

How to fetch work order data using Pyrfc?

I'm using pyrfc to connect to SAP. I need to download work order data and sales order data. I've been using the 'RFC_READ_TABLE' function, but I don't seem to be able to get what I need. Can someone point me to a resource that would guide me in this…
Shend
  • 95
  • 1
  • 9
1
vote
0 answers

Connect to SAP with PyRFC on pythonanywhere.com

I want to connect a python script to SAP. Therefore I use pyrfc which is developed by SAP https://github.com/SAP/PyRFC/. This works on my local computer, as I followed the installation description:…
Florian
  • 11
  • 1
1
vote
1 answer

Number of entries in SAP R/3 table using Pyrfc

How do you use the Pyrfc Python library to query the number of entries in an SAP R/3 database table?
AlexM
  • 1,020
  • 2
  • 17
  • 35
1
vote
3 answers

Unable to install PyRFC

I would like to install pyrfc but the package doesn't seem to exist anymore: C:\>easy_install pyrfc-1.9.3-py2.7-win32.egg Searching for pyrfc-1.9.3-py2.7-win32.egg Reading https://pypi.python.org/simple/pyrfc-1.9.3-py2.7-win32.egg/ Couldn't find…
kaidentity
  • 609
  • 4
  • 10
  • 26
1
vote
1 answer

How to specify a table structure for BAPI call?

How can I define a Table structure to call a BAPI? I would like call "BAPI_PRODORD_GET_LIST" connection = Connection(user='user', passwd='password', ashost='IP', sysnr='00', client='100') function_name = "BAPI_PRODORD_GET_LIST" func_desc =…
ente
  • 31
  • 2
0
votes
0 answers

Trying to install PyRFC on a Linux server raises a Cython error

I have three Linux servers, supposed to be the same. On the first two servers, I managed to install PyRFC, but on the third I got the following error: Using cached pyrfc-2.8.2.tar.gz (284 kB) Installing build dependencies ... done Getting…
0
votes
1 answer

Filtering the data by Date column using PyRFC with RFC_READ_TABLE

I managed to connect to SAP ABAP via Python, using PyRFC and RFC_READ_TABLE. I am trying to figure how to querying a table by a Date column using the parameter OPTIONS. I know the query should be the same syntax as in C# RFC, but I didn't find…
Mark
  • 51
  • 6
0
votes
0 answers

Unable to install Python's Pyrfc library for SAP on Raspberry pi 4

Want to install pyrfc on raspberry pi 4 but unable to do so due to some installation error I have done all the steps mentioned in the pyrfc documentation However I am unable to install it on my raspberry pi. I am using python 3.9.2 Below is the…
IOT-Guy
  • 7
  • 1
0
votes
0 answers

Pyrfc: MDX Queries Returning Fewer Fields than expected

Describe the bug I am using PyRFC to pull data from SAP BW InfoCubes using BAPI_MDDATASET_CREATE_OBJECT, BAPI_MDDATASET_SELECT_DATA, and BAPI_MDDATASET_GET_FLAT_DATA. I pass in my MDX query, and the results are close to what I see in MDXTEST, but a…
C. Holt
  • 101
  • 1
0
votes
1 answer

No output returned from plugin in centreon when using Python PyRfc library

I have written a skeleton for python script for centreon. The problem is that the script works fine until I import the pyrfc library, which is the key for this script. Without this library, centreon returns me a green OK message which is fine. Once…
spammik
  • 163
  • 7
0
votes
1 answer

Get SMQ queues in Python?

I'm using the PYRFC library and so far I've managed to connect to SAP. conn = Connection(ashost='xxxxxxxxx', sysnr='02', client='100', user='xxxxx', passwd='xxxxxxxx.') result = conn.call('STFC_CONNECTION', REQUTEXT=u'Hello SAP!') print (result) I…
Danilo Marquiori
  • 85
  • 1
  • 1
  • 4
0
votes
0 answers

PyRFC won't allow multiprocessing?

I'm using PyRFC on Databricks and I'm trying to do around 20k queries to SAP. Due to the large volume of queries, I want to do this by utilizing multiprocessing. Here's what I…
user2896120
  • 3,180
  • 4
  • 40
  • 100
0
votes
1 answer

DLL load failed while importing pyrfc: The specified module could not be found

I have a problem with pyrfc. I import the module like this in code from pyrfc import Connection If I try to do pip install I get this message Requirement already satisfued: pyrfc in…
ALABAMA25
  • 39
  • 3
0
votes
0 answers

Need to decode CLUSTD column SAP Hana

i am looking to decode the CLUSTD column of SAP, which is in encoded form as binary. I want to decode it outside SAP, I know READ_TEXT helps decode it but it is in SAP environment. My CLUSTD is in SNowflake after migration and I want to decode it…
0
votes
1 answer

multiple OPTIONS when using Python connect SAP via RFC_READ_TABLE

I am trying to have multiple OPTIONS when I try to get data from python to SAP tables. As I showed below, the only option is LGNUM = '376'. How can I have more options here? Thank you! table = 'LTAP' **options = [{ 'TEXT': "LGNUM = '376'"}]** fields…
felix12
  • 11
  • 4