<?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: internal table in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table/m-p/3440736#M826332</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;When uploading data from excel sheet, upload into an internal table which has a single field of type STRING.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now, create an internal table with the required field (one field per column of the excel sheet).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Split the STRING table work area into respective column as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT IT_UPLOAD INTO W_UPLOAD.&lt;/P&gt;&lt;P&gt; SPLIT W_UPLOAD-LINE&lt;/P&gt;&lt;P&gt; INTO&lt;/P&gt;&lt;P&gt; w_data-field1&lt;/P&gt;&lt;P&gt; w_data-field2&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;w_data-field7&lt;/P&gt;&lt;P&gt;AT CL_ABAP_CHAR_UTILITIES=&amp;gt;HORIZONTAL_TAB.&lt;/P&gt;&lt;P&gt;APPEND w_data TO it_data.&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The CL_ABAP_CHAR_UTILITIES=&amp;gt;HORIZONTAL_TAB is the representation of tab/column separator in excel.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Aditya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 20 Feb 2008 12:46:51 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-02-20T12:46:51Z</dc:date>
    <item>
      <title>internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table/m-p/3440735#M826331</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;i am reading an excel sheet having seven fileds out of which 2 of them are price category and price type each of char 1.&lt;/P&gt;&lt;P&gt;the data in the excel sheet has values Quantiity based price(tcode EA90)for price category and block charge and such values for price type.in table epreih 0 1 2 are  assigned to price category and in table eprei such char 1 values are assigned to price type.how can i seperate populate these fields in my internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;lt;REMOVED BY MODERATOR&amp;gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;anand.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Alvaro Tejada Galindo on Feb 20, 2008 11:08 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Feb 2008 12:37:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table/m-p/3440735#M826331</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-20T12:37:28Z</dc:date>
    </item>
    <item>
      <title>Re: internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table/m-p/3440736#M826332</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;When uploading data from excel sheet, upload into an internal table which has a single field of type STRING.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now, create an internal table with the required field (one field per column of the excel sheet).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Split the STRING table work area into respective column as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT IT_UPLOAD INTO W_UPLOAD.&lt;/P&gt;&lt;P&gt; SPLIT W_UPLOAD-LINE&lt;/P&gt;&lt;P&gt; INTO&lt;/P&gt;&lt;P&gt; w_data-field1&lt;/P&gt;&lt;P&gt; w_data-field2&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;w_data-field7&lt;/P&gt;&lt;P&gt;AT CL_ABAP_CHAR_UTILITIES=&amp;gt;HORIZONTAL_TAB.&lt;/P&gt;&lt;P&gt;APPEND w_data TO it_data.&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The CL_ABAP_CHAR_UTILITIES=&amp;gt;HORIZONTAL_TAB is the representation of tab/column separator in excel.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Aditya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Feb 2008 12:46:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table/m-p/3440736#M826332</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-20T12:46:51Z</dc:date>
    </item>
    <item>
      <title>Re: internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table/m-p/3440737#M826333</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Declare ur ITAB with all flds as CHAR type of length equal to their Data Elt length&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Feb 2008 13:23:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table/m-p/3440737#M826333</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-20T13:23:24Z</dc:date>
    </item>
  </channel>
</rss>

