<?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 in OLE2 Object when using Open method in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-ole2-object-when-using-open-method/m-p/6920177#M1484147</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Run the rest and did work.&lt;/P&gt;&lt;P&gt;So we realized that the template wasn't properly uploaded.&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;FChavez&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Fiorella Chavez Valdivia on Dec 17, 2010 3:23 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 14 May 2010 15:57:26 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-05-14T15:57:26Z</dc:date>
    <item>
      <title>Error in OLE2 Object when using Open method</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-ole2-object-when-using-open-method/m-p/6920175#M1484145</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;When calling Method &lt;STRONG&gt;OPEN&lt;/STRONG&gt; I've got a &lt;STRONG&gt;SY-SUBRC = 2&lt;/STRONG&gt;, I'm trying to open an excel sheet that has been imported from the server to my pc, through the same report that's giving me trouble.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The thing is that in DEV client it works perfectly, but in PRD client won't.&lt;/P&gt;&lt;P&gt;I've checked User privileges and they're Ok, and tried it with different users too.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here's the code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;*Abre Objeto EXCEL*
  CREATE OBJECT go_excel 'Excel.Application'.               "#EC NOTEXT
  IF sy-subrc NE 0.
    MESSAGE e000(38) WITH 'No se pudo iniciar un objeto'.
  ENDIF.

*Para que no muestre alertas o warnings*
  SET PROPERTY OF go_excel 'DisplayAlerts' = 0.             "#EC NOTEXT
  CALL METHOD OF go_excel 'WORKBOOKS' = go_workbook.

*Excel en fondo*
  SET PROPERTY OF go_excel 'Visible' = 0.                   "#EC NOTEXT

*Llamamos un libro excel*
  CALL METHOD OF go_workbook 'OPEN'
    EXPORTING #1 = gs_excel_temp.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FChavez&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Rob Burbank on May 13, 2010 5:38 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 May 2010 21:18:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-ole2-object-when-using-open-method/m-p/6920175#M1484145</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-05-13T21:18:31Z</dc:date>
    </item>
    <item>
      <title>Re: Error in OLE2 Object when using Open method</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-ole2-object-when-using-open-method/m-p/6920176#M1484146</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello FChavez,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Perhaps you can first check in your PROD system whether excel is installed correctly there?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or you can run test report SAPRDEMOEXCELINTEGRATION in PROD to see that report works or not...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Jerry&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 May 2010 03:00:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-ole2-object-when-using-open-method/m-p/6920176#M1484146</guid>
      <dc:creator>JerryWang</dc:creator>
      <dc:date>2010-05-14T03:00:04Z</dc:date>
    </item>
    <item>
      <title>Re: Error in OLE2 Object when using Open method</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-ole2-object-when-using-open-method/m-p/6920177#M1484147</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Run the rest and did work.&lt;/P&gt;&lt;P&gt;So we realized that the template wasn't properly uploaded.&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;FChavez&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Fiorella Chavez Valdivia on Dec 17, 2010 3:23 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 May 2010 15:57:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-ole2-object-when-using-open-method/m-p/6920177#M1484147</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-05-14T15:57:26Z</dc:date>
    </item>
  </channel>
</rss>

