<?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 ActiveX error - Calling RFC from Excel (VBA Macro) in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/activex-error-calling-rfc-from-excel-vba-macro/m-p/11934139#M1965017</link>
    <description>&lt;P&gt;Hello Experts,&lt;/P&gt;
  &lt;P&gt;I am working towards uploading an excel into SAP and execute a RFC. This Excel is working as expected in a Windows 7, but not working on Windows 10. I am new to Macros scripting, founds few solutions online but nothing seems to help to resolve this error.&lt;/P&gt;
  &lt;P&gt;I have checked the compatability issue, the Windows 10 system is 64 bit processor, Excel is also being processed on 64 bit and VBA is also running on 64 bit processor.&lt;/P&gt;
  &lt;P&gt; I am using the below libraries (As I found these are the solution for this error) - &lt;/P&gt;
  &lt;OL&gt; 
   &lt;LI&gt;sapfewse.ocx (SAP GUI Scripting API)&lt;/LI&gt; 
   &lt;LI&gt;wdtaocx.ocx (SAP Table Factory)&lt;/LI&gt; 
   &lt;LI&gt;wdtlog.ocx (SAP Logon Control)&lt;/LI&gt; 
   &lt;LI&gt;wdobapi.ocs (SAP BAPI Control)&lt;/LI&gt; 
   &lt;LI&gt;wdtfunc.ocx (SAP Remote Function Call Control)&lt;/LI&gt; 
  &lt;/OL&gt;
  &lt;P&gt;None of these libraries are helping, the error is basicallt on any createobject statements such as,&lt;/P&gt;
  &lt;OL&gt; 
   &lt;LI&gt;Set objBAPIControl = CreateObject(“SAP.Functions”) &lt;/LI&gt; 
   &lt;LI&gt;Set LogonControl = CreateObject(“SAP.LogonControl.1”) &lt;/LI&gt; 
   &lt;LI&gt;Set Functions = CreateObject(“SAP.Functions”) &lt;/LI&gt; 
   &lt;LI&gt;Set TableFactory = CreateObject(“SAP.TableFactory.1”) &lt;/LI&gt; 
   &lt;LI&gt;Set objConnection = LogonControl.NewConnection &lt;/LI&gt; 
  &lt;/OL&gt;
  &lt;P&gt;Please advise, how I can avoid this error and proceed further. &lt;/P&gt;
  &lt;P&gt;Thanks,&lt;/P&gt;
  &lt;P&gt;Swathi&lt;/P&gt;</description>
    <pubDate>Mon, 22 Apr 2019 13:59:52 GMT</pubDate>
    <dc:creator>swathi_aragula</dc:creator>
    <dc:date>2019-04-22T13:59:52Z</dc:date>
    <item>
      <title>ActiveX error - Calling RFC from Excel (VBA Macro)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/activex-error-calling-rfc-from-excel-vba-macro/m-p/11934139#M1965017</link>
      <description>&lt;P&gt;Hello Experts,&lt;/P&gt;
  &lt;P&gt;I am working towards uploading an excel into SAP and execute a RFC. This Excel is working as expected in a Windows 7, but not working on Windows 10. I am new to Macros scripting, founds few solutions online but nothing seems to help to resolve this error.&lt;/P&gt;
  &lt;P&gt;I have checked the compatability issue, the Windows 10 system is 64 bit processor, Excel is also being processed on 64 bit and VBA is also running on 64 bit processor.&lt;/P&gt;
  &lt;P&gt; I am using the below libraries (As I found these are the solution for this error) - &lt;/P&gt;
  &lt;OL&gt; 
   &lt;LI&gt;sapfewse.ocx (SAP GUI Scripting API)&lt;/LI&gt; 
   &lt;LI&gt;wdtaocx.ocx (SAP Table Factory)&lt;/LI&gt; 
   &lt;LI&gt;wdtlog.ocx (SAP Logon Control)&lt;/LI&gt; 
   &lt;LI&gt;wdobapi.ocs (SAP BAPI Control)&lt;/LI&gt; 
   &lt;LI&gt;wdtfunc.ocx (SAP Remote Function Call Control)&lt;/LI&gt; 
  &lt;/OL&gt;
  &lt;P&gt;None of these libraries are helping, the error is basicallt on any createobject statements such as,&lt;/P&gt;
  &lt;OL&gt; 
   &lt;LI&gt;Set objBAPIControl = CreateObject(“SAP.Functions”) &lt;/LI&gt; 
   &lt;LI&gt;Set LogonControl = CreateObject(“SAP.LogonControl.1”) &lt;/LI&gt; 
   &lt;LI&gt;Set Functions = CreateObject(“SAP.Functions”) &lt;/LI&gt; 
   &lt;LI&gt;Set TableFactory = CreateObject(“SAP.TableFactory.1”) &lt;/LI&gt; 
   &lt;LI&gt;Set objConnection = LogonControl.NewConnection &lt;/LI&gt; 
  &lt;/OL&gt;
  &lt;P&gt;Please advise, how I can avoid this error and proceed further. &lt;/P&gt;
  &lt;P&gt;Thanks,&lt;/P&gt;
  &lt;P&gt;Swathi&lt;/P&gt;</description>
      <pubDate>Mon, 22 Apr 2019 13:59:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/activex-error-calling-rfc-from-excel-vba-macro/m-p/11934139#M1965017</guid>
      <dc:creator>swathi_aragula</dc:creator>
      <dc:date>2019-04-22T13:59:52Z</dc:date>
    </item>
    <item>
      <title>Re: ActiveX error - Calling RFC from Excel (VBA Macro)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/activex-error-calling-rfc-from-excel-vba-macro/m-p/11934140#M1965018</link>
      <description>&lt;P&gt;Strange idea to add not related tag: &lt;/P&gt;&lt;P&gt;&lt;A href="https://answers.sap.com/tags/613314084077778299166571926615629"&gt;EPM Add-In for Excel&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Just because of the word "Excel"???&lt;/P&gt;</description>
      <pubDate>Mon, 22 Apr 2019 14:15:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/activex-error-calling-rfc-from-excel-vba-macro/m-p/11934140#M1965018</guid>
      <dc:creator>former_member186338</dc:creator>
      <dc:date>2019-04-22T14:15:00Z</dc:date>
    </item>
  </channel>
</rss>

