<?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: Upload Excel File in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/upload-excel-file/m-p/3767493#M906510</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Bhaskar,&lt;/P&gt;&lt;P&gt;                  I checked the link that u have given here. I tried to create the Fucntion module on my system and &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CALL METHOD spreadsheetintf-&amp;gt;get_ranges_data&lt;/P&gt;&lt;P&gt;    IMPORTING&lt;/P&gt;&lt;P&gt;      contents = zjnccontents&lt;/P&gt;&lt;P&gt;      error    = zjncerror&lt;/P&gt;&lt;P&gt;      retcode  = zjncretcode&lt;/P&gt;&lt;P&gt;    CHANGING&lt;/P&gt;&lt;P&gt;      ranges   = zjncranges.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;is throwing an error. It says that  zjncerror and zjncretcode are not declared. zjnccontents is declared as soi_generic_table. DO u have any idea abt the other two declarations?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 29 Apr 2008 09:28:50 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-04-29T09:28:50Z</dc:date>
    <item>
      <title>Upload Excel File</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/upload-excel-file/m-p/3767489#M906506</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;         Is it possible to upload an excel sheet with data included in multiple tabs?&lt;/P&gt;&lt;P&gt;I guess the function module ALSM_EXCEL_TO_INTERNAL_TABLE does not have this provision. Pls provide me with a solution if there exists any.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards&lt;/P&gt;&lt;P&gt;Nayan Kurup&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Apr 2008 09:04:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/upload-excel-file/m-p/3767489#M906506</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-29T09:04:16Z</dc:date>
    </item>
    <item>
      <title>Re: Upload Excel File</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/upload-excel-file/m-p/3767490#M906507</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Nayan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check out the below related threads&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="4998060"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="1478786"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="831500"&gt;&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Apr 2008 09:07:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/upload-excel-file/m-p/3767490#M906507</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-29T09:07:29Z</dc:date>
    </item>
    <item>
      <title>Re: Upload Excel File</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/upload-excel-file/m-p/3767491#M906508</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;Check the following link:&lt;/P&gt;&lt;P&gt;&lt;A href="http://sap-img.com/abap/uploading-multiple-multitab-excel-sheets-or-ranges.htm" target="test_blank"&gt;http://sap-img.com/abap/uploading-multiple-multitab-excel-sheets-or-ranges.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Bhaskar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Apr 2008 09:07:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/upload-excel-file/m-p/3767491#M906508</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-29T09:07:42Z</dc:date>
    </item>
    <item>
      <title>Re: Upload Excel File</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/upload-excel-file/m-p/3767492#M906509</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try FM &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; TEXT_CONVERT_XLS_TO_SAP&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;make I_FIELD_SEPERATOR = 'X'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you are looking to upload an excel file having data in mutiple worksheets the you can &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CREATE OBJECT H_EXCEL 'EXCEL.APPLICATION'.&lt;/P&gt;&lt;P&gt;PERFORM ERR_HDL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EXCEL Ergebnis anzeigen &lt;/P&gt;&lt;P&gt;SET PROPERTY OF H_EXCEL 'Visible' = 1. &lt;/P&gt;&lt;P&gt;PERFORM ERR_HDL. &lt;/P&gt;&lt;P&gt;get list of workbooks, initially empty &lt;/P&gt;&lt;P&gt;CALL METHOD OF H_EXCEL 'Workbooks' = H_MAPL.&lt;/P&gt;&lt;P&gt;PERFORM ERR_HDL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Eine bestehende Excelmappe öffnen &lt;/P&gt;&lt;P&gt;CALL METHOD OF H_MAPL 'OPEN' EXPORTING #1 = P_PCFILE.&lt;/P&gt;&lt;P&gt;PERFORM ERR_HDL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Workdsheeet ansteuern &lt;/P&gt;&lt;P&gt;CALL METHOD OF H_EXCEL 'Worksheets' = H_WORK EXPORTING #1 = 1.&lt;/P&gt;&lt;P&gt;PERFORM ERR_HDL.&lt;/P&gt;&lt;P&gt;CALL METHOD OF H_WORK 'Activate'.&lt;/P&gt;&lt;P&gt;PERFORM ERR_HDL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Zellbereich festlegen &lt;/P&gt;&lt;P&gt;CALL METHOD OF H_WORK 'Cells' = H_CELL&lt;/P&gt;&lt;P&gt;EXPORTING #1 = 2 #2 = 1.&lt;/P&gt;&lt;P&gt;PERFORM ERR_HDL.&lt;/P&gt;&lt;P&gt;CALL METHOD OF H_WORK 'Cells' = H_CELL1&lt;/P&gt;&lt;P&gt;EXPORTING #1 = 50 #2 = 9.&lt;/P&gt;&lt;P&gt;PERFORM ERR_HDL.&lt;/P&gt;&lt;P&gt;CALL METHOD OF H_WORK 'RANGE' = H_RANGE&lt;/P&gt;&lt;P&gt;EXPORTING #1 = H_CELL #2 = H_CELL1.&lt;/P&gt;&lt;P&gt;PERFORM ERR_HDL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Bereich auswählen. &lt;/P&gt;&lt;P&gt;CALL METHOD OF H_RANGE 'SELECT'.&lt;/P&gt;&lt;P&gt;PERFORM ERR_HDL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In die zwischenablage (Clippboard) einfügen &lt;/P&gt;&lt;P&gt;CALL METHOD OF H_RANGE 'COPY'.&lt;/P&gt;&lt;P&gt;PERFORM ERR_HDL.&lt;/P&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Buffer einlesen und in interne ALV-Tabelle überführen &lt;/P&gt;&lt;P&gt;CALL METHOD CL_GUI_FRONTEND_SERVICES=&amp;gt;CLIPBOARD_IMPORT&lt;/P&gt;&lt;P&gt;IMPORTING&lt;/P&gt;&lt;P&gt;DATA = ITAB_BUF.&lt;/P&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;reward if helpful&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Apr 2008 09:08:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/upload-excel-file/m-p/3767492#M906509</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-29T09:08:45Z</dc:date>
    </item>
    <item>
      <title>Re: Upload Excel File</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/upload-excel-file/m-p/3767493#M906510</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Bhaskar,&lt;/P&gt;&lt;P&gt;                  I checked the link that u have given here. I tried to create the Fucntion module on my system and &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CALL METHOD spreadsheetintf-&amp;gt;get_ranges_data&lt;/P&gt;&lt;P&gt;    IMPORTING&lt;/P&gt;&lt;P&gt;      contents = zjnccontents&lt;/P&gt;&lt;P&gt;      error    = zjncerror&lt;/P&gt;&lt;P&gt;      retcode  = zjncretcode&lt;/P&gt;&lt;P&gt;    CHANGING&lt;/P&gt;&lt;P&gt;      ranges   = zjncranges.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;is throwing an error. It says that  zjncerror and zjncretcode are not declared. zjnccontents is declared as soi_generic_table. DO u have any idea abt the other two declarations?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Apr 2008 09:28:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/upload-excel-file/m-p/3767493#M906510</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-29T09:28:50Z</dc:date>
    </item>
    <item>
      <title>Re: Upload Excel File</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/upload-excel-file/m-p/3767494#M906511</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;Goto SE11-&amp;gt;Type group-&amp;gt;enter SOI.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can find the appropriate declaration.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Bhaskar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Apr 2008 10:02:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/upload-excel-file/m-p/3767494#M906511</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-29T10:02:53Z</dc:date>
    </item>
  </channel>
</rss>

