<?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: Import data from ABAP program to Excell template file in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/import-data-from-abap-program-to-excell-template-file/m-p/2046654#M421452</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Clemens&lt;/P&gt;&lt;P&gt;Thank you very much, I will try your solution. &lt;/P&gt;&lt;P&gt;Greetings&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 11 Mar 2007 16:56:46 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-03-11T16:56:46Z</dc:date>
    <item>
      <title>Import data from ABAP program to Excell template file</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/import-data-from-abap-program-to-excell-template-file/m-p/2046652#M421450</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello everyone&lt;/P&gt;&lt;P&gt;I have  a such task: In abap program I have fields(screen fields), which I want to import into excell file. I don't want to export into empty file but into ready template .xls. Is there any possibility to match corresponding fields?&lt;/P&gt;&lt;P&gt;I really need to know, I will be gratefully for any suggestions.&lt;/P&gt;&lt;P&gt;Greetings&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 10 Mar 2007 17:54:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/import-data-from-abap-program-to-excell-template-file/m-p/2046652#M421450</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-10T17:54:07Z</dc:date>
    </item>
    <item>
      <title>Re: Import data from ABAP program to Excell template file</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/import-data-from-abap-program-to-excell-template-file/m-p/2046653#M421451</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Katarzyna ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;something like&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
DATA: EXCEL TYPE OLE2_OBJECT.
DATA: BOOKS TYPE OLE2_OBJECT.
DATA: BOOK  TYPE OLE2_OBJECT.
DATA: CELL  TYPE OLE2_OBJECT.
DATA: FONT  TYPE OLE2_OBJECT.
DATA: FILE  TYPE OLE2_OBJECT.

  CREATE OBJECT EXCEL 'EXCEL.APPLICATION'.

  CALL METHOD OF EXCEL 'WORKBOOKS' = FILE.

  CALL METHOD OF  FILE 'OPEN' EXPORTING #1 = P_FILE
                                        #2 = 1.   

  CALL METHOD OF EXCEL 'CELLS' = CELL EXPORTING #1 = P_LINE
                                                #2 = P_COLUMN.
  SET PROPERTY OF CELL 'VALUE' = P_VALUE.


  CALL METHOD OF EXCEL 'QUIT'.
 &lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is just a compilation from a complex program. Do some modularization (i.e. create FORM fill_cell using P_line P_column P_value...)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope I did not forget anything. Meanwhile we have much more modern and advanced methods and classes - this one is of 2000 (Release 4.5?).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Clemens&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 10 Mar 2007 19:37:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/import-data-from-abap-program-to-excell-template-file/m-p/2046653#M421451</guid>
      <dc:creator>Clemenss</dc:creator>
      <dc:date>2007-03-10T19:37:33Z</dc:date>
    </item>
    <item>
      <title>Re: Import data from ABAP program to Excell template file</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/import-data-from-abap-program-to-excell-template-file/m-p/2046654#M421452</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Clemens&lt;/P&gt;&lt;P&gt;Thank you very much, I will try your solution. &lt;/P&gt;&lt;P&gt;Greetings&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 11 Mar 2007 16:56:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/import-data-from-abap-program-to-excell-template-file/m-p/2046654#M421452</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-11T16:56:46Z</dc:date>
    </item>
    <item>
      <title>Re: Import data from ABAP program to Excell template file</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/import-data-from-abap-program-to-excell-template-file/m-p/2046655#M421453</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Clemens&lt;/P&gt;&lt;P&gt;I have one more question. In that form fill_cell the arguments p_line and p_column are: &lt;/P&gt;&lt;P&gt;For example:&lt;/P&gt;&lt;P&gt;An excel cell A6 - p_line 6 , p_column A. Which is: the cell' s address where I want export p_value is p_column,p_line?&lt;/P&gt;&lt;P&gt;Could you explain it for me please. I'm totally beginner.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Mar 2007 07:41:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/import-data-from-abap-program-to-excell-template-file/m-p/2046655#M421453</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-12T07:41:09Z</dc:date>
    </item>
    <item>
      <title>Re: Import data from ABAP program to Excell template file</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/import-data-from-abap-program-to-excell-template-file/m-p/2046656#M421454</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;And another question: what if I don't have a cell with address, but I have text field which contains 3 cells?  Then, how looks the method 'CELLS'? Please, could you show me.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Mar 2007 08:00:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/import-data-from-abap-program-to-excell-template-file/m-p/2046656#M421454</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-12T08:00:10Z</dc:date>
    </item>
    <item>
      <title>Re: Import data from ABAP program to Excell template file</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/import-data-from-abap-program-to-excell-template-file/m-p/2046657#M421455</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;OK it's all right. Now I know answers for my all questions and everything works great.&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;P&gt;Greetings&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Mar 2007 11:34:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/import-data-from-abap-program-to-excell-template-file/m-p/2046657#M421455</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-12T11:34:28Z</dc:date>
    </item>
  </channel>
</rss>

