<?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: SAP data output to python ? in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/sap-data-output-to-python/m-p/12052973#M1968824</link>
    <description>&lt;P&gt;&amp;gt; Hi, try to understand how the module "pyrfc" works.&lt;/P&gt;&lt;P&gt;hope this helps: &lt;A href="https://github.com/SAP/PyRFC" target="test_blank"&gt;https://github.com/SAP/PyRFC&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 26 Jul 2023 12:28:48 GMT</pubDate>
    <dc:creator>Srdjan</dc:creator>
    <dc:date>2023-07-26T12:28:48Z</dc:date>
    <item>
      <title>SAP data output to python ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sap-data-output-to-python/m-p/12052968#M1968819</link>
      <description>&lt;P&gt;How to access SAP data from windows python, i am working on some projects where i wanted to deal with SAP dataset with Python, need to add rows and columns and modify them from python code. Is there any API or integration by which i can access SAP dataset ??&lt;/P&gt;</description>
      <pubDate>Fri, 20 Dec 2019 09:24:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sap-data-output-to-python/m-p/12052968#M1968819</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2019-12-20T09:24:14Z</dc:date>
    </item>
    <item>
      <title>Re: SAP data output to python ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sap-data-output-to-python/m-p/12052969#M1968820</link>
      <description>&lt;P&gt;Did you check if your Python could access SAP data through Odata ? &lt;/P&gt;&lt;P&gt;like that &lt;A href="https://github.com/SAP/python-pyodata"&gt;https://github.com/SAP/python-pyodata&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 20 Dec 2019 09:28:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sap-data-output-to-python/m-p/12052969#M1968820</guid>
      <dc:creator>FredericGirod</dc:creator>
      <dc:date>2019-12-20T09:28:53Z</dc:date>
    </item>
    <item>
      <title>Re: SAP data output to python ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sap-data-output-to-python/m-p/12052970#M1968821</link>
      <description>&lt;P&gt;Create a Webservice via TA SICF. There are many tutorials in the web about that. You have to implement the interface if_http_extension and register your class in SICF as a Webservice.&lt;/P&gt;&lt;P&gt;&lt;A href="https://blogs.sap.com/2016/10/23/creating-class-handler-sicf-service-code-example/" target="test_blank"&gt;https://blogs.sap.com/2016/10/23/creating-class-handler-sicf-service-code-example/&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 20 Dec 2019 17:43:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sap-data-output-to-python/m-p/12052970#M1968821</guid>
      <dc:creator>thomas_mller13</dc:creator>
      <dc:date>2019-12-20T17:43:27Z</dc:date>
    </item>
    <item>
      <title>Re: SAP data output to python ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sap-data-output-to-python/m-p/12052971#M1968822</link>
      <description>&lt;P&gt;Hi Ranveer, There is a fairly new Python interface to interact with HANA data.
&lt;A href="https://help.sap.com/doc/1d0ebfe5e8dd44d09606814d83308d4b/latest/en-US/index.html" target="test_blank"&gt;https://help.sap.com/doc/1d0ebfe5e8dd44d09606814d83308d4b/latest/en-US/index.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;It allows you to work with the HANA data through Python without having to download the rows. Below is a very basic example, which calculates a new column. The outcome can be saved as view in HANA, it can be persisted as HANA table, or the modified data can be downloaded as pandas dataframe if you must.&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;import hana_ml.dataframe as dataframe
conn = dataframe.ConnectionContext("hxehost", 39044, "ML", "password")
df_pushdown = conn.sql('SELECT * FROM USEDCARPRICES')
df_pushdown = df_pushdown.select('*', ('YEAR(CURRENT_DATE) - YEAR', 'AGE'))
df_pushdown.save("NAMEOFNEWVIEW", "VIEW")
df_pandas = df_pushdown.collect()
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;A more comprehensive example that also includes Machine Learning is described on &lt;A href="https://blogs.sap.com/2019/11/05/hands-on-tutorial-machine-learning-push-down-to-sap-hana-with-python/" target="test_blank"&gt;https://blogs.sap.com/2019/11/05/hands-on-tutorial-machine-learning-push-down-to-sap-hana-with-python/&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 03 Jan 2020 13:00:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sap-data-output-to-python/m-p/12052971#M1968822</guid>
      <dc:creator>AndreasForster</dc:creator>
      <dc:date>2020-01-03T13:00:23Z</dc:date>
    </item>
    <item>
      <title>Re: SAP data output to python ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sap-data-output-to-python/m-p/12052972#M1968823</link>
      <description>&lt;P&gt;Hi, try to understand how the module "pyrfc" works.&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;from pyrfc import Connection.&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 24 Nov 2022 14:19:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sap-data-output-to-python/m-p/12052972#M1968823</guid>
      <dc:creator>roberto_forti</dc:creator>
      <dc:date>2022-11-24T14:19:25Z</dc:date>
    </item>
    <item>
      <title>Re: SAP data output to python ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sap-data-output-to-python/m-p/12052973#M1968824</link>
      <description>&lt;P&gt;&amp;gt; Hi, try to understand how the module "pyrfc" works.&lt;/P&gt;&lt;P&gt;hope this helps: &lt;A href="https://github.com/SAP/PyRFC" target="test_blank"&gt;https://github.com/SAP/PyRFC&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 26 Jul 2023 12:28:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sap-data-output-to-python/m-p/12052973#M1968824</guid>
      <dc:creator>Srdjan</dc:creator>
      <dc:date>2023-07-26T12:28:48Z</dc:date>
    </item>
  </channel>
</rss>

