SAP / PyRFC

Asynchronous, non-blocking SAP NW RFC SDK bindings for Python
http://sap.github.io/PyRFC
Apache License 2.0
500 stars 132 forks source link

PyRFC failing in server example server_app_thread.py #368

Open Vartu opened 3 months ago

Vartu commented 3 months ago

Describe the bug Running function module STFC_STRUCTURE from SAP using RFC to PyRFC-based server ends with exception "SYSTEM_FAILURE" and kills the running PyRFC server. I used the example script server_app_thread.py for testing.

To Reproduce Run python script server_app_thread.py with fitting sapnwrfc.ini configuration. On the connected SAP system run function module STFC_STRUCTURE with empty fields with RFC target being the registered program RFC created by the Python script.

Screenshots image image

Environment

Additional context The SAP system is S/4HANA 2022.

Here's the relevant traces: pyrfc_failure_traces.zip