<?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 upload data into internal table in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/upload-data-into-internal-table/m-p/5819558#M1314670</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;         could you help me on this plaese,&lt;/P&gt;&lt;P&gt;                                                 i want to convert the text data into the internal table.&lt;/P&gt;&lt;P&gt;problem is in my notepad i having the field names and values &lt;/P&gt;&lt;P&gt;i want to upload that total data into my internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i.e in notepad  having like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; NAME 	NUMBER }------   field names&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; NARESH	222          }------ values&lt;/P&gt;&lt;P&gt; KUMAR	333&lt;/P&gt;&lt;P&gt; REDDY	444&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this is tha data, now i want to upload field name s  as well as values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks,&lt;/P&gt;&lt;P&gt;naresh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 16 Jun 2009 11:07:23 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-06-16T11:07:23Z</dc:date>
    <item>
      <title>upload data into internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/upload-data-into-internal-table/m-p/5819558#M1314670</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;         could you help me on this plaese,&lt;/P&gt;&lt;P&gt;                                                 i want to convert the text data into the internal table.&lt;/P&gt;&lt;P&gt;problem is in my notepad i having the field names and values &lt;/P&gt;&lt;P&gt;i want to upload that total data into my internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i.e in notepad  having like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; NAME 	NUMBER }------   field names&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; NARESH	222          }------ values&lt;/P&gt;&lt;P&gt; KUMAR	333&lt;/P&gt;&lt;P&gt; REDDY	444&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this is tha data, now i want to upload field name s  as well as values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks,&lt;/P&gt;&lt;P&gt;naresh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Jun 2009 11:07:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/upload-data-into-internal-table/m-p/5819558#M1314670</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-06-16T11:07:23Z</dc:date>
    </item>
    <item>
      <title>Re: upload data into internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/upload-data-into-internal-table/m-p/5819559#M1314671</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use Function Module GUI_UPLOAD to upload the file to an internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your field names will be there as the first record in the internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Jinson&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Jun 2009 11:10:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/upload-data-into-internal-table/m-p/5819559#M1314671</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-06-16T11:10:00Z</dc:date>
    </item>
    <item>
      <title>Re: upload data into internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/upload-data-into-internal-table/m-p/5819560#M1314672</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;call following function module&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'GUI_UPLOAD'&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;      FILENAME                      =  'PC_FILE'   &amp;lt;----&lt;/P&gt;&lt;HR originaltext="---" /&gt;&lt;P&gt;File name &lt;/P&gt;&lt;P&gt;      FILETYPE                      = u2018ASCu2019&lt;/P&gt;&lt;P&gt;      HAS_FIELD_SEPARATOR           = 'X'&lt;/P&gt;&lt;P&gt;      DAT_MODE                = 'X'&lt;/P&gt;&lt;P&gt;    TABLES&lt;/P&gt;&lt;P&gt;      DATA_TAB                      = 'Your internal Table'  &amp;lt;-------Internal table name&lt;/P&gt;&lt;P&gt;   EXCEPTIONS&lt;/P&gt;&lt;P&gt;     FILE_OPEN_ERROR               = 1&lt;/P&gt;&lt;P&gt;     FILE_READ_ERROR               = 2&lt;/P&gt;&lt;P&gt;     NO_BATCH                      = 3&lt;/P&gt;&lt;P&gt;     GUI_REFUSE_FILETRANSFER       = 4&lt;/P&gt;&lt;P&gt;     INVALID_TYPE                  = 5&lt;/P&gt;&lt;P&gt;     NO_AUTHORITY                  = 6&lt;/P&gt;&lt;P&gt;     UNKNOWN_ERROR                 = 7&lt;/P&gt;&lt;P&gt;     BAD_DATA_FORMAT               = 8&lt;/P&gt;&lt;P&gt;     HEADER_NOT_ALLOWED            = 9&lt;/P&gt;&lt;P&gt;     SEPARATOR_NOT_ALLOWED         = 10&lt;/P&gt;&lt;P&gt;     HEADER_TOO_LONG               = 11&lt;/P&gt;&lt;P&gt;     UNKNOWN_DP_ERROR              = 12&lt;/P&gt;&lt;P&gt;     ACCESS_DENIED                 = 13&lt;/P&gt;&lt;P&gt;     DP_OUT_OF_MEMORY              = 14&lt;/P&gt;&lt;P&gt;     DISK_FULL                     = 15&lt;/P&gt;&lt;P&gt;     DP_TIMEOUT                    = 16&lt;/P&gt;&lt;P&gt;     OTHERS                        = 17&lt;/P&gt;&lt;P&gt;          .&lt;/P&gt;&lt;P&gt;  IF SY-SUBRC &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;   MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO&lt;/P&gt;&lt;P&gt;           WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Jun 2009 11:15:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/upload-data-into-internal-table/m-p/5819560#M1314672</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-06-16T11:15:47Z</dc:date>
    </item>
    <item>
      <title>Re: upload data into internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/upload-data-into-internal-table/m-p/5819561#M1314673</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;thanks for reply,&lt;/P&gt;&lt;P&gt;you said is correct but  if i taken field names as string,and values taken as string &amp;amp; int.&lt;/P&gt;&lt;P&gt;then hoiw is it possible .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Jun 2009 11:17:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/upload-data-into-internal-table/m-p/5819561#M1314673</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-06-16T11:17:41Z</dc:date>
    </item>
    <item>
      <title>Re: upload data into internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/upload-data-into-internal-table/m-p/5819562#M1314674</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt; Hi&lt;/P&gt;&lt;P&gt;&amp;gt; thanks for reply,&lt;/P&gt;&lt;P&gt;&amp;gt; you said is correct but  if i taken field names as string,and values taken as string &amp;amp; int.&lt;/P&gt;&lt;P&gt;&amp;gt; then hoiw is it possible .&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Upload to internal table where the fields are of char type.&lt;/P&gt;&lt;P&gt;Delete the first record.&lt;/P&gt;&lt;P&gt;Then move the data to a new internal table with filed type as char and int respectively.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Jinson&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Jun 2009 11:21:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/upload-data-into-internal-table/m-p/5819562#M1314674</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-06-16T11:21:29Z</dc:date>
    </item>
  </channel>
</rss>

