-
I saw the example My question is: Can I start a server with PyRFC, which receives IDoc data? And how could I implement that? Can I just bind the server.add_function("IDOC_INBOUND_ASYNCHRONOUS", my_idoc_parsing_function) Or is there another way? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Hello @trashutz, Python server supports transactional RFC protocol required for sending IDoc from ABAP to SAP system. Assuming the ABAP sender system is properly configured, the connection to Python server can be established and Python server can receive IDoc data. As @Ulrich-Schmidt explained in SAP/node-rfc#279 (comment), in response to similar question, that is only "half the battle", because parsing IDoc data is more challenging part here. SAP IDoc library for solving that problem is available for Java only and for SAP Java RFC connector JCo. One usage example is given in SAP Help Example Program IDoc Server but counterpart in Python, or another language is not available because IDoc parsing library is provided in Java only. You could also consider SAP Business Connector as recommended in linked comment. |
Beta Was this translation helpful? Give feedback.
Hello @trashutz,
Python server supports transactional RFC protocol required for sending IDoc from ABAP to SAP system. Assuming the ABAP sender system is properly configured, the connection to Python server can be established and Python server can receive IDoc data.
As @Ulrich-Schmidt explained in SAP/node-rfc#279 (comment), in response to similar question, that is only "half the battle", because parsing IDoc data is more challenging part here. SAP IDoc library for solving that problem is available for Java only and for SAP Java RFC connector JCo. One usage example is given in SAP Help Example Program IDoc Server but counterpart in Python, or another language is not available because IDoc …