<?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: Fetch Excel sheet records to a function module?? in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/fetch-excel-sheet-records-to-a-function-module/m-p/7552293#M1563523</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;Use this FM : ALSM_EXCEL_TO_INTERNAL_TABLE to upload the data from excel.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 29 Dec 2010 08:02:11 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-12-29T08:02:11Z</dc:date>
    <item>
      <title>Fetch Excel sheet records to a function module??</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fetch-excel-sheet-records-to-a-function-module/m-p/7552289#M1563519</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a small requirements, i have a function module with 4 input parameters ( I_LIFNR,I_MATNR,I_EKORG,I_WERKS). The requirement is User will upload his excel sheet with this 4 values, the function module should fetch the records from the excel sheet and do the remaining functionality.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So how to get the excel sheet records or how to upload the excel sheet records to this function module or to this input parameters?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyone can guide me?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mohana&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Dec 2010 05:38:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fetch-excel-sheet-records-to-a-function-module/m-p/7552289#M1563519</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-12-29T05:38:07Z</dc:date>
    </item>
    <item>
      <title>Re: Fetch Excel sheet records to a function module??</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fetch-excel-sheet-records-to-a-function-module/m-p/7552290#M1563520</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;Use &lt;STRONG&gt;TEXT_CONVERT_XLS_TO_SAP&lt;/STRONG&gt; to download the data from excel to some internal table.&lt;/P&gt;&lt;P&gt;loop at this internal table into workarea and call your FM with 4 input parameters ( I_LIFNR,I_MATNR,I_EKORG,I_WERKS) .&lt;/P&gt;&lt;P&gt;Pass the work area values accordingly and carry on with your code for other fuctionality.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;&lt;P&gt;Lokeswari.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Dec 2010 05:44:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fetch-excel-sheet-records-to-a-function-module/m-p/7552290#M1563520</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-12-29T05:44:13Z</dc:date>
    </item>
    <item>
      <title>Re: Fetch Excel sheet records to a function module??</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fetch-excel-sheet-records-to-a-function-module/m-p/7552291#M1563521</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You cannot.&lt;/P&gt;&lt;P&gt;Either write a wrapper program on your FM to upload Excel and pass value to it or change your FM for the requirement.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Dec 2010 05:46:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fetch-excel-sheet-records-to-a-function-module/m-p/7552291#M1563521</guid>
      <dc:creator>amit_khare</dc:creator>
      <dc:date>2010-12-29T05:46:27Z</dc:date>
    </item>
    <item>
      <title>Re: Fetch Excel sheet records to a function module??</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fetch-excel-sheet-records-to-a-function-module/m-p/7552292#M1563522</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;A function module cannot directly fetch data from an excel file. You will have to code it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There are two ways you can code this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Option 1 : &lt;/P&gt;&lt;P&gt;    Add another input parameter in the function say 'filename'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   call FM GUI_UPLOAD to upload the excel file into an internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Option 2:&lt;/P&gt;&lt;P&gt;   Create a wrapper program for this function module which provides an input for the file name.&lt;/P&gt;&lt;P&gt;   Again use GUI_UPLOAD to upload the file in the program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jovito.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Dec 2010 06:59:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fetch-excel-sheet-records-to-a-function-module/m-p/7552292#M1563522</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-12-29T06:59:38Z</dc:date>
    </item>
    <item>
      <title>Re: Fetch Excel sheet records to a function module??</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fetch-excel-sheet-records-to-a-function-module/m-p/7552293#M1563523</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;Use this FM : ALSM_EXCEL_TO_INTERNAL_TABLE to upload the data from excel.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Dec 2010 08:02:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fetch-excel-sheet-records-to-a-function-module/m-p/7552293#M1563523</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-12-29T08:02:11Z</dc:date>
    </item>
    <item>
      <title>Re: Fetch Excel sheet records to a function module??</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fetch-excel-sheet-records-to-a-function-module/m-p/7552294#M1563524</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Best is to Use the FM &lt;STRONG&gt;TEXT_CONVERT_XLS_TO_SAP&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;It stores the excel data into an internal table.&lt;/P&gt;&lt;P&gt;Now loop through that internal table and feed the data accordingly to the FM which you needed to pass the data.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Dec 2010 08:02:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fetch-excel-sheet-records-to-a-function-module/m-p/7552294#M1563524</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-12-29T08:02:20Z</dc:date>
    </item>
  </channel>
</rss>

