Skip to content

PyRFC failing in server example server_app_thread.py #368

@Vartu

Description

@Vartu

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

  • 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.

Here's the relevant traces:
pyrfc_failure_traces.zip

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions