<?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: Error during function call in SAPgui. in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-during-function-call-in-sapgui/m-p/880808#M51598</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sajith,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Which version of SAP realease are you in? And what is your SAPGUI version?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sougata.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 25 Apr 2005 10:22:35 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2005-04-25T10:22:35Z</dc:date>
    <item>
      <title>Error during function call in SAPgui.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-during-function-call-in-sapgui/m-p/880807#M51597</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am getting sy-subrc = 2 when I am executing FREE OBJECT command for OLE objects. SAP help says sy-subrc is set to 2 when there is an error during function call in SAPgui. But I couldnt find out what I am doing wrong in the program. Can someone help me out.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sajith.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Apr 2005 10:18:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-during-function-call-in-sapgui/m-p/880807#M51597</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-04-25T10:18:50Z</dc:date>
    </item>
    <item>
      <title>Re: Error during function call in SAPgui.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-during-function-call-in-sapgui/m-p/880808#M51598</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sajith,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Which version of SAP realease are you in? And what is your SAPGUI version?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sougata.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Apr 2005 10:22:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-during-function-call-in-sapgui/m-p/880808#M51598</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-04-25T10:22:35Z</dc:date>
    </item>
    <item>
      <title>Re: Error during function call in SAPgui.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-during-function-call-in-sapgui/m-p/880809#M51599</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;SAP Version is 4.7.&lt;/P&gt;&lt;P&gt;SAP GUI is 640.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Apr 2005 10:27:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-during-function-call-in-sapgui/m-p/880809#M51599</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-04-25T10:27:53Z</dc:date>
    </item>
    <item>
      <title>Re: Error during function call in SAPgui.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-during-function-call-in-sapgui/m-p/880810#M51600</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;SAP documentation says:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;The OLE function modules are only implemented under Windows.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So make sure you are working with a windows object like Excel or WinWord for example. The FREE OBJECT will only work for Windows applications.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SAP Doco. (Example)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FREE OBJECT belongs to a group of key words that allows you to process external objects with ABAP. At present, only the object model OLE2 is supported, i.e. all objects must be of type OLE2_OBJECT. This type and other necessary data are defined in the INCLUDE module OLE2INCL. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Release an EXCEL object:&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;&lt;/P&gt;&lt;P&gt;INCLUDE OLE2INCL. &lt;/P&gt;&lt;P&gt;DATA: EXCEL TYPE OLE2_OBJECT. &lt;/P&gt;&lt;P&gt;CREATE OBJECT EXCEL 'Excel.Application'. &lt;/P&gt;&lt;P&gt;FREE OBJECT EXCEL.&lt;/P&gt;&lt;P&gt;&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sougata.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Apr 2005 11:46:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-during-function-call-in-sapgui/m-p/880810#M51600</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-04-25T11:46:08Z</dc:date>
    </item>
  </channel>
</rss>

