<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Does PyRFC support IDoc communication? in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/does-pyrfc-support-idoc-communication/m-p/12709163#M2018919</link>
    <description>&lt;P&gt;Hello Das,&lt;/P&gt;&lt;P&gt;IDoc library for parsing IDocs and more convenient sending and receiving IDocs is available for Java only:&lt;/P&gt;&lt;P&gt;&lt;A href="https://support.sap.com/en/product/connectors/jco.html?anchorId=section_754631833" target="test_blank"&gt;https://support.sap.com/en/product/connectors/jco.html?anchorId=section_754631833&lt;/A&gt;&lt;/P&gt;&lt;P&gt;PyRFC can be used as IDoc client (send IDocs) as in this example:&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/SAP/PyRFC/blob/main/examples/clientIDoc.py" target="test_blank"&gt;https://github.com/SAP/PyRFC/blob/main/examples/clientIDoc.py&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;Srdjan&lt;/P&gt;</description>
    <pubDate>Wed, 26 Jul 2023 12:22:51 GMT</pubDate>
    <dc:creator>Srdjan</dc:creator>
    <dc:date>2023-07-26T12:22:51Z</dc:date>
    <item>
      <title>Does PyRFC support IDoc communication?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/does-pyrfc-support-idoc-communication/m-p/12709162#M2018918</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;
  &lt;P&gt;We have some interfaces using Python (PyRFC) to send data to SAP via rfc. &lt;/P&gt;
  &lt;P&gt;Now there is a new integration requirement for which SAP already supports IDoc (inbound sales orders). &lt;/P&gt;
  &lt;P&gt;Looking at documentation, it is not clear if PyRFC is the correct framework for sending IDoc to SAP, or is there another officially supported library? &lt;/P&gt;
  &lt;P&gt;For Java connector (Jco), it seems to have extension for idocs. But for python/Pyrfc, it is not clear, no sample code available.&lt;/P&gt;
  &lt;P&gt;Any help guidance on this is really appreciated. &lt;/P&gt;
  &lt;P&gt;Thanks in advance.&lt;/P&gt;
  &lt;P&gt;Das &lt;/P&gt;</description>
      <pubDate>Wed, 03 May 2023 05:40:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/does-pyrfc-support-idoc-communication/m-p/12709162#M2018918</guid>
      <dc:creator>sdas2021</dc:creator>
      <dc:date>2023-05-03T05:40:42Z</dc:date>
    </item>
    <item>
      <title>Re: Does PyRFC support IDoc communication?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/does-pyrfc-support-idoc-communication/m-p/12709163#M2018919</link>
      <description>&lt;P&gt;Hello Das,&lt;/P&gt;&lt;P&gt;IDoc library for parsing IDocs and more convenient sending and receiving IDocs is available for Java only:&lt;/P&gt;&lt;P&gt;&lt;A href="https://support.sap.com/en/product/connectors/jco.html?anchorId=section_754631833" target="test_blank"&gt;https://support.sap.com/en/product/connectors/jco.html?anchorId=section_754631833&lt;/A&gt;&lt;/P&gt;&lt;P&gt;PyRFC can be used as IDoc client (send IDocs) as in this example:&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/SAP/PyRFC/blob/main/examples/clientIDoc.py" target="test_blank"&gt;https://github.com/SAP/PyRFC/blob/main/examples/clientIDoc.py&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;Srdjan&lt;/P&gt;</description>
      <pubDate>Wed, 26 Jul 2023 12:22:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/does-pyrfc-support-idoc-communication/m-p/12709163#M2018919</guid>
      <dc:creator>Srdjan</dc:creator>
      <dc:date>2023-07-26T12:22:51Z</dc:date>
    </item>
    <item>
      <title>Re: Does PyRFC support IDoc communication?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/does-pyrfc-support-idoc-communication/m-p/12709164#M2018920</link>
      <description>&lt;P&gt;Hi  , &lt;/P&gt;&lt;P&gt;We are having same requirement to send the below IDOC to SAP using pyRFC.  &lt;A href="https://github.com/SAP/PyRFC/blob/main/examples/clientIDoc.py" target="_blank"&gt;https://github.com/SAP/PyRFC/blob/main/examples/clientIDoc.py&lt;/A&gt; is the only file we could find the implementation. But thats very generic. We are struggling to form proper idoc_data_dicts for the below IDOC. &lt;/P&gt;&lt;P&gt;Were you able to proceed with pyRFC or are you using JCo for your requriement ? &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&amp;lt;?xml version='1.0' encoding='UTF-8'?&amp;gt;&lt;BR /&gt;&amp;lt;Z_PM_IORDER01&amp;gt;&lt;BR /&gt;    &amp;lt;IDOC BEGIN="1"&amp;gt;&lt;BR /&gt;        &amp;lt;EDI_DC40 SEGMENT="1"&amp;gt;&lt;BR /&gt;            &amp;lt;TABNAM&amp;gt;EDI_DC40&amp;lt;/TABNAM&amp;gt;&lt;BR /&gt;            &amp;lt;DIRECT&amp;gt;2&amp;lt;/DIRECT&amp;gt;&lt;BR /&gt;            &amp;lt;IDOCTYP&amp;gt;IORDER01&amp;lt;/IDOCTYP&amp;gt;&lt;BR /&gt;            &amp;lt;SNDPRT&amp;gt;LS&amp;lt;/SNDPRT&amp;gt;&lt;BR /&gt;            &amp;lt;SNDPRN&amp;gt;MYDEVENV&amp;lt;/SNDPRN&amp;gt;&lt;BR /&gt;            &amp;lt;RCVPOR&amp;gt;SAPA01&amp;lt;/RCVPOR&amp;gt;&lt;BR /&gt;            &amp;lt;SNDPOR&amp;gt;MYDEVENV_S&amp;lt;/SNDPOR&amp;gt;&lt;BR /&gt;            &amp;lt;RCVPRT&amp;gt;LS&amp;lt;/RCVPRT&amp;gt;&lt;BR /&gt;            &amp;lt;RCVPRN&amp;gt;LOGA01C007&amp;lt;/RCVPRN&amp;gt;&lt;BR /&gt;            &amp;lt;CREDAT&amp;gt;20231012&amp;lt;/CREDAT&amp;gt;&lt;BR /&gt;            &amp;lt;CRETIM&amp;gt;20231012&amp;lt;/CRETIM&amp;gt;&lt;BR /&gt;            &amp;lt;CIMTYP&amp;gt;Z_PM_IORDER01&amp;lt;/CIMTYP&amp;gt;&lt;BR /&gt;            &amp;lt;MESTYP&amp;gt;IORDER&amp;lt;/MESTYP&amp;gt;&lt;BR /&gt;            &amp;lt;MESFCT&amp;gt;NEW&amp;lt;/MESFCT&amp;gt;&lt;BR /&gt;            &amp;lt;MESCOD&amp;gt;POC&amp;lt;/MESCOD&amp;gt;&lt;BR /&gt;        &amp;lt;/EDI_DC40&amp;gt;&lt;BR /&gt;        &amp;lt;E1ORHDR SEGMENT="1"&amp;gt;&lt;BR /&gt;            &amp;lt;AUART&amp;gt;ABC1&amp;lt;/AUART&amp;gt;&lt;BR /&gt;            &amp;lt;PRIOK&amp;gt;1&amp;lt;/PRIOK&amp;gt;&lt;BR /&gt;            &amp;lt;ILART&amp;gt;B01&amp;lt;/ILART&amp;gt;&lt;BR /&gt;            &amp;lt;E1OROPR SEGMENT="1"&amp;gt;&lt;BR /&gt;                &amp;lt;LTXA1&amp;gt;Test Desc&amp;lt;/LTXA1&amp;gt;&lt;BR /&gt;                &amp;lt;ZE1_PM_E1OROPR SEGMENT="1"&amp;gt;&lt;BR /&gt;                    &amp;lt;USR00&amp;gt;SFDC_TEST&amp;lt;/USR00&amp;gt;&lt;BR /&gt;                &amp;lt;/ZE1_PM_E1OROPR&amp;gt;&lt;BR /&gt;            &amp;lt;/E1OROPR&amp;gt;&lt;BR /&gt;            &amp;lt;E1OROPR SEGMENT="1"&amp;gt;&lt;BR /&gt;                &amp;lt;LTXA1&amp;gt;Test Desc 1&amp;lt;/LTXA1&amp;gt;&lt;BR /&gt;                &amp;lt;ZE1_PM_E1OROPR SEGMENT="1"&amp;gt;&lt;BR /&gt;                    &amp;lt;USR00&amp;gt;SFDC_TEST&amp;lt;/USR00&amp;gt;&lt;BR /&gt;                &amp;lt;/ZE1_PM_E1OROPR&amp;gt;&lt;BR /&gt;            &amp;lt;/E1OROPR&amp;gt;&lt;BR /&gt;            &amp;lt;E1OROPR SEGMENT="1"&amp;gt;&lt;BR /&gt;                &amp;lt;LTXA1&amp;gt;Test Desc 2&amp;lt;/LTXA1&amp;gt;&lt;BR /&gt;                &amp;lt;ZE1_PM_E1OROPR SEGMENT="1"&amp;gt;&lt;BR /&gt;                    &amp;lt;USR00&amp;gt;SFDC_TEST&amp;lt;/USR00&amp;gt;&lt;BR /&gt;                &amp;lt;/ZE1_PM_E1OROPR&amp;gt;&lt;BR /&gt;            &amp;lt;/E1OROPR&amp;gt;&lt;BR /&gt;            &amp;lt;E1OROPR SEGMENT="1"&amp;gt;&lt;BR /&gt;                &amp;lt;LTXA1&amp;gt;Test Desc 3&amp;lt;/LTXA1&amp;gt;&lt;BR /&gt;                &amp;lt;ZE1_PM_E1OROPR SEGMENT="1"&amp;gt;&lt;BR /&gt;                    &amp;lt;USR00&amp;gt;SFDC_TEST&amp;lt;/USR00&amp;gt;&lt;BR /&gt;                &amp;lt;/ZE1_PM_E1OROPR&amp;gt;&lt;BR /&gt;            &amp;lt;/E1OROPR&amp;gt;&lt;BR /&gt;            &amp;lt;ZE1ORHDR SEGMENT="1"&amp;gt;&lt;BR /&gt;                &amp;lt;ZZ_DMP_ORD/&amp;gt;&lt;BR /&gt;                &amp;lt;RELKZ&amp;gt;X&amp;lt;/RELKZ&amp;gt;&lt;BR /&gt;            &amp;lt;/ZE1ORHDR&amp;gt;&lt;BR /&gt;            &amp;lt;E1ORTOB SEGMENT="1"&amp;gt;&lt;BR /&gt;                &amp;lt;EQUNR&amp;gt;123456&amp;lt;/EQUNR&amp;gt;&lt;BR /&gt;            &amp;lt;/E1ORTOB&amp;gt;&lt;BR /&gt;        &amp;lt;/E1ORHDR&amp;gt;&lt;BR /&gt;    &amp;lt;/IDOC&amp;gt;&lt;BR /&gt;&amp;lt;/Z_PM_IORDER01&amp;gt;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 16 Oct 2023 12:18:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/does-pyrfc-support-idoc-communication/m-p/12709164#M2018920</guid>
      <dc:creator>greety-varghese</dc:creator>
      <dc:date>2023-10-16T12:18:31Z</dc:date>
    </item>
  </channel>
</rss>

