<?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: [errorCode -2147221020] python scripts connect Sap in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/errorcode-2147221020-python-scripts-connect-sap/m-p/12427369#M1997688</link>
    <description>&lt;P&gt;If my problem description is very simple, I am sorry.&lt;/P&gt;&lt;P&gt;But i have found the reason. The start permissions of SAP and python are different, resulting in an error.  They should have the same authority, such as administrator authority or standard user authority.&lt;/P&gt;</description>
    <pubDate>Tue, 07 Sep 2021 06:51:14 GMT</pubDate>
    <dc:creator>former_member779127</dc:creator>
    <dc:date>2021-09-07T06:51:14Z</dc:date>
    <item>
      <title>[errorCode -2147221020] python scripts connect Sap</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/errorcode-2147221020-python-scripts-connect-sap/m-p/12427367#M1997686</link>
      <description>&lt;P&gt;Hi, i am using python to operate SAP. &lt;/P&gt; 
  &lt;PRE&gt;&lt;CODE&gt;import win32com.client
SapGuiAuto = win32com.client.GetObject("SAPGUI")  # This line happened Error.
application = SapGuiAuto.GetScriptingEngine&lt;/CODE&gt;&lt;/PRE&gt;
  &lt;P&gt;The code can be executed successfully on my computer. But occasionally it fails on my friend’s computer. &lt;/P&gt;
  &lt;P&gt;Error on the second line and Error message is : com_error : (-2147221020， "Invalid syntax"， None， None).&lt;/P&gt;
  &lt;P&gt; I am puzzled. The computer environment of my friend and I are similar. (win10 , SAP740 Python3). Can you give me some suggestions. Any possible reply would be greatly appreciated &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 06 Sep 2021 12:46:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/errorcode-2147221020-python-scripts-connect-sap/m-p/12427367#M1997686</guid>
      <dc:creator>former_member779127</dc:creator>
      <dc:date>2021-09-06T12:46:01Z</dc:date>
    </item>
    <item>
      <title>Re: [errorCode -2147221020] python scripts connect Sap</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/errorcode-2147221020-python-scripts-connect-sap/m-p/12427368#M1997687</link>
      <description>&lt;P&gt;Welcome to the SAP
Community! We wanted to give you the opportunity to take the tutorial
to get &lt;A href="https://developers.sap.com/tutorials/community-qa.html"&gt;started in SAP &lt;/A&gt;&lt;A href="https://developers.sap.com/tutorials/community-qa.html"&gt;Community&lt;/A&gt;, as it provides tips for preparing
questions that draw responses from our members.&lt;/P&gt;&lt;P&gt;Additionally,
by adding a picture to your profile you
encourage readers to respond to your question. Learn more about your profile using &lt;A href="https://developers.sap.com/tutorials/community-profile.html"&gt;Profile
Tutorial &lt;/A&gt;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;</description>
      <pubDate>Mon, 06 Sep 2021 12:46:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/errorcode-2147221020-python-scripts-connect-sap/m-p/12427368#M1997687</guid>
      <dc:creator>former_member751591</dc:creator>
      <dc:date>2021-09-06T12:46:18Z</dc:date>
    </item>
    <item>
      <title>Re: [errorCode -2147221020] python scripts connect Sap</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/errorcode-2147221020-python-scripts-connect-sap/m-p/12427369#M1997688</link>
      <description>&lt;P&gt;If my problem description is very simple, I am sorry.&lt;/P&gt;&lt;P&gt;But i have found the reason. The start permissions of SAP and python are different, resulting in an error.  They should have the same authority, such as administrator authority or standard user authority.&lt;/P&gt;</description>
      <pubDate>Tue, 07 Sep 2021 06:51:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/errorcode-2147221020-python-scripts-connect-sap/m-p/12427369#M1997688</guid>
      <dc:creator>former_member779127</dc:creator>
      <dc:date>2021-09-07T06:51:14Z</dc:date>
    </item>
    <item>
      <title>Re: [errorCode -2147221020] python scripts connect Sap</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/errorcode-2147221020-python-scripts-connect-sap/m-p/12427370#M1997689</link>
      <description>&lt;P&gt;If my problem description is very simple, sorry. &lt;/P&gt;&lt;P&gt;But I found the reason: the startup permissions of sap and python are not the same. &lt;/P&gt;&lt;P&gt;For example, both of these should be run with administrator rights, or run with ordinary user rights.&lt;/P&gt;</description>
      <pubDate>Tue, 07 Sep 2021 06:51:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/errorcode-2147221020-python-scripts-connect-sap/m-p/12427370#M1997689</guid>
      <dc:creator>former_member779127</dc:creator>
      <dc:date>2021-09-07T06:51:17Z</dc:date>
    </item>
  </channel>
</rss>

