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
Environment
OS: Windows Server 2022 Datacenter
Running in docker? No.
PyRFC version: 3.3.1
NW RFC SDK version: 7.50.13
Python version: 3.12.3
Additional context
The SAP system is S/4HANA 2022.
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 fittingsapnwrfc.ini
configuration. On the connected SAP system run function moduleSTFC_STRUCTURE
with empty fields with RFC target being the registered program RFC created by the Python script.Screenshots
Environment
Additional context The SAP system is S/4HANA 2022.
Here's the relevant traces: pyrfc_failure_traces.zip