<?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: EXCEL Integration in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/excel-integration/m-p/1192036#M128780</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Rich for the prompt reply, however I don't see the changes reflected in the original file after saving it, is there anything else I should do to see the changes reflected?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 17 Jan 2006 15:58:02 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-01-17T15:58:02Z</dc:date>
    <item>
      <title>EXCEL Integration</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/excel-integration/m-p/1192034#M128778</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Greetings, The requirement needs an excel file to be populated with data and then be presented to the user for simulation of an installment plan, I am doing this using OLE and then calling the FM SAP_STARTS_EXCEL to present the information. However, all changes made to the file while open inside the GUI are ignored and when the file is re-opened for data retrieval the correct data is not there.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does anyone know how can I implement this kind of interaction for data presentation and retrieval using Excel.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Jan 2006 15:43:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/excel-integration/m-p/1192034#M128778</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-01-17T15:43:16Z</dc:date>
    </item>
    <item>
      <title>Re: EXCEL Integration</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/excel-integration/m-p/1192035#M128779</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The user would have to "SAVE" the excel sheet after making changes.  Then when in re-import it, it would have the updated changes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Jan 2006 15:44:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/excel-integration/m-p/1192035#M128779</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2006-01-17T15:44:37Z</dc:date>
    </item>
    <item>
      <title>Re: EXCEL Integration</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/excel-integration/m-p/1192036#M128780</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Rich for the prompt reply, however I don't see the changes reflected in the original file after saving it, is there anything else I should do to see the changes reflected?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Jan 2006 15:58:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/excel-integration/m-p/1192036#M128780</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-01-17T15:58:02Z</dc:date>
    </item>
    <item>
      <title>Re: EXCEL Integration</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/excel-integration/m-p/1192037#M128781</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is it important that the excel sheet is embedded into the dynpro?    Can you please post your code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Jan 2006 16:00:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/excel-integration/m-p/1192037#M128781</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2006-01-17T16:00:07Z</dc:date>
    </item>
    <item>
      <title>Re: EXCEL Integration</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/excel-integration/m-p/1192038#M128782</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here it is:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;* Initialize
DATA:
    EXCELAPP TYPE OLE2_OBJECT, "Aplicación Excel
    EXCELWBK TYPE OLE2_OBJECT. "Hoja de trabajo

  CREATE OBJECT EXCELAPP 'EXCEL.Application'.
  SET PROPERTY OF EXCELAPP 'Visible' = 0.

  CALL METHOD OF EXCELAPP 'Workbooks' = EXCELWBK.

  CALL METHOD OF EXCELWBK 'Open'
    EXPORTING
      #1 = FNAME.

  CALL METHOD OF EXCELAPP 'Run'
    EXPORTING
      #1 = 'SelectWBK'
      #2 = 'Parametros'.

  CALL METHOD OF EXCELAPP 'Run'
    EXPORTING
      #1 = 'EscribirCelda'
      #2 = 'C5'
      #3 = PARTNERDATA-CONT_ACCT.

.....
* This call saves the file
  CALL METHOD OF EXCELAPP 'Run'
    EXPORTING
      #1 = 'SaveWBK'
      #2 = ''.

* Everything OK so far

CALL METHOD OF EXCELAPP 'Quit'.

  FREE OBJECT EXCELWBK.
  FREE OBJECT EXCELAPP.

* Present file in the dynpro

  CALL FUNCTION 'SAP_STARTS_EXCEL'
    EXPORTING
      I_FILENAME        = FNAME
    EXCEPTIONS
      EXCECUTION_FAILED = 1
      OTHERS            = 2.

* retrieve data

  CALL FUNCTION 'ALSM_EXCEL_TO_INTERNAL_TABLE'
    EXPORTING
      FILENAME                = FNAME
      I_BEGIN_COL             = 1
      I_BEGIN_ROW             = 14
      I_END_COL               = 11
      I_END_ROW               = 74
    TABLES
      INTERN                  = DATA_TAB
    EXCEPTIONS
      INCONSISTENT_PARAMETERS = 1
      UPLOAD_OLE              = 2
      OTHERS                  = 3.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Jan 2006 16:36:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/excel-integration/m-p/1192038#M128782</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-01-17T16:36:31Z</dc:date>
    </item>
  </channel>
</rss>

