<?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: From Excel to Database Table in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/from-excel-to-database-table/m-p/834698#M43763</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;although I'm not the former of the thread, I wish to thank all of you for your valuable hints.&lt;/P&gt;&lt;P&gt;I'm curious to myself (is this a correct English sentence? &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt; never mind...) why din't I found this forum earlier?!? It would saved me a lot of troubles in my previous projects.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Keep posting, guys &lt;SPAN __jive_emoticon_name="wink"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ivaylo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 17 Nov 2004 14:07:47 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2004-11-17T14:07:47Z</dc:date>
    <item>
      <title>From Excel to Database Table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/from-excel-to-database-table/m-p/834691#M43756</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, &lt;/P&gt;&lt;P&gt;I want to upload the data in an Excel to a Database Table (Fields of the Table are same as headers of the Excel Sheet)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any method to do so ? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance. &lt;/P&gt;&lt;P&gt;Sujeet&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Nov 2004 05:34:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/from-excel-to-database-table/m-p/834691#M43756</guid>
      <dc:creator>Sujeet_Acharya</dc:creator>
      <dc:date>2004-11-17T05:34:07Z</dc:date>
    </item>
    <item>
      <title>Re: From Excel to Database Table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/from-excel-to-database-table/m-p/834692#M43757</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can use function module 'ALSM_EXCEL_TO_INTERNAL_TABLE' to upload data in an Excel file to an internal table. Give the Import parameters as follows to upload the entire worksheet.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FILENAME    - the file name (eg. c:\test.xls)&lt;/P&gt;&lt;P&gt;I_BEGIN_COL - 1&lt;/P&gt;&lt;P&gt;I_BEGIN_ROW - 1&lt;/P&gt;&lt;P&gt;I_END_COL   - 256&lt;/P&gt;&lt;P&gt;I_END_ROW   - 65536&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Once the data is in the internal table, you can use either Insert, Update or Modify statements, according to your requirement, to populate the database table.&lt;/P&gt;&lt;P&gt;   Hope this helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;bye&lt;/P&gt;&lt;P&gt;Madhavan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Nov 2004 06:37:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/from-excel-to-database-table/m-p/834692#M43757</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2004-11-17T06:37:13Z</dc:date>
    </item>
    <item>
      <title>Re: From Excel to Database Table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/from-excel-to-database-table/m-p/834693#M43758</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;thanks for a hint. My related questions are:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. What if I can't be sure about the value "i_end_row"? I.e. I have a structure, but such an upload must be executed often and with variable (but not fixed) amount of rows. Any hint(s) about this? Or perhaps there is an another way?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And the 2nd question: is there any similar FM for uploading a csv file into an internal table?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ivaylo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Nov 2004 07:13:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/from-excel-to-database-table/m-p/834693#M43758</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2004-11-17T07:13:23Z</dc:date>
    </item>
    <item>
      <title>Re: From Excel to Database Table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/from-excel-to-database-table/m-p/834694#M43759</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;About your i_end_row number... I think Excel has a max row number of 65536... use it, and your function will only upload to table the filled rows... In any case, if it uploads empty rows, you can use a DELETE sentence to clear it &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;About CSV files... GUI_UPLOAD them into a internal table with a single field and use string functions to split it into your table...&lt;/P&gt;&lt;P&gt;Another way (faster, but not automatic) is to open your csv file with your excel and save it as a tab delimited one, then use the pointed excel to table function...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Wish it works,&lt;/P&gt;&lt;P&gt;Vic&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Nov 2004 09:50:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/from-excel-to-database-table/m-p/834694#M43759</guid>
      <dc:creator>VXLozano</dc:creator>
      <dc:date>2004-11-17T09:50:31Z</dc:date>
    </item>
    <item>
      <title>Re: From Excel to Database Table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/from-excel-to-database-table/m-p/834695#M43760</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;   As Vic rightly said, 65536 is the maximum no. of rows that can be uploaded from an Excel worksheet. You can delete off the blank lines from the internal table if at all they are uploaded.&lt;/P&gt;&lt;P&gt;   Use function module 'KCD_CSV_FILE_TO_INTERN_CONVERT' for directly uploading csv files to internal tables.&lt;/P&gt;&lt;P&gt;   Hope these answers your queries.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;bye,&lt;/P&gt;&lt;P&gt;Madhavan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Nov 2004 11:30:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/from-excel-to-database-table/m-p/834695#M43760</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2004-11-17T11:30:50Z</dc:date>
    </item>
    <item>
      <title>Re: From Excel to Database Table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/from-excel-to-database-table/m-p/834696#M43761</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Wow! Will try to remember that function's name &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Nov 2004 11:35:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/from-excel-to-database-table/m-p/834696#M43761</guid>
      <dc:creator>VXLozano</dc:creator>
      <dc:date>2004-11-17T11:35:19Z</dc:date>
    </item>
    <item>
      <title>Re: From Excel to Database Table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/from-excel-to-database-table/m-p/834697#M43762</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would like to add a word of caution here. &lt;/P&gt;&lt;P&gt;Keep in mind that you have to care of the appropriate conversion-exit. For instance, depending on the format, excel data could like as if the field has leading zeros but actually did not. If you post that field to a char field with the conversion exit alpha - you will hardly be able to select it again. &lt;/P&gt;&lt;P&gt;Christian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Nov 2004 11:53:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/from-excel-to-database-table/m-p/834697#M43762</guid>
      <dc:creator>ChristianFi</dc:creator>
      <dc:date>2004-11-17T11:53:53Z</dc:date>
    </item>
    <item>
      <title>Re: From Excel to Database Table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/from-excel-to-database-table/m-p/834698#M43763</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;although I'm not the former of the thread, I wish to thank all of you for your valuable hints.&lt;/P&gt;&lt;P&gt;I'm curious to myself (is this a correct English sentence? &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt; never mind...) why din't I found this forum earlier?!? It would saved me a lot of troubles in my previous projects.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Keep posting, guys &lt;SPAN __jive_emoticon_name="wink"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ivaylo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Nov 2004 14:07:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/from-excel-to-database-table/m-p/834698#M43763</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2004-11-17T14:07:47Z</dc:date>
    </item>
  </channel>
</rss>

