<?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 Read Application server file and upload into internal table in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-application-server-file-and-upload-into-internal-table/m-p/4038758#M965321</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Another help needed guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My file in the application server is of format&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Name       Marks 1    Marks  2       Marks 3............&lt;/P&gt;&lt;P&gt;A                10             15               20&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The only thing separating the columns is space.&lt;/P&gt;&lt;P&gt;Actually this file was downloaded from an internal table into the app server.&lt;/P&gt;&lt;P&gt;Now I want to load it back into the internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How do I load this into internal table so that each column goes in separate internal table field.&lt;/P&gt;&lt;P&gt;Currently am using cl_abap_char_utilities=&amp;gt;HORIZONTAL_TAB but I can get only the first column name in my field1 of the internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How should I applroach this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Points will be awarded for useful answers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Ankit&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 18 Jun 2008 07:27:19 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-06-18T07:27:19Z</dc:date>
    <item>
      <title>Read Application server file and upload into internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-application-server-file-and-upload-into-internal-table/m-p/4038758#M965321</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Another help needed guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My file in the application server is of format&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Name       Marks 1    Marks  2       Marks 3............&lt;/P&gt;&lt;P&gt;A                10             15               20&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The only thing separating the columns is space.&lt;/P&gt;&lt;P&gt;Actually this file was downloaded from an internal table into the app server.&lt;/P&gt;&lt;P&gt;Now I want to load it back into the internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How do I load this into internal table so that each column goes in separate internal table field.&lt;/P&gt;&lt;P&gt;Currently am using cl_abap_char_utilities=&amp;gt;HORIZONTAL_TAB but I can get only the first column name in my field1 of the internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How should I applroach this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Points will be awarded for useful answers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Ankit&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Jun 2008 07:27:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/read-application-server-file-and-upload-into-internal-table/m-p/4038758#M965321</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-18T07:27:19Z</dc:date>
    </item>
    <item>
      <title>Re: Read Application server file and upload into internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-application-server-file-and-upload-into-internal-table/m-p/4038759#M965322</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI,&lt;/P&gt;&lt;P&gt;Try using fn module GUI_UPLOAD&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Jun 2008 07:29:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/read-application-server-file-and-upload-into-internal-table/m-p/4038759#M965322</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-18T07:29:56Z</dc:date>
    </item>
    <item>
      <title>Re: Read Application server file and upload into internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-application-server-file-and-upload-into-internal-table/m-p/4038760#M965323</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI,&lt;/P&gt;&lt;P&gt; after getting the data into a flat structure...use the 'SPLIT' command to move the data into internal table fields.&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; Vamshi.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Jun 2008 07:31:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/read-application-server-file-and-upload-into-internal-table/m-p/4038760#M965323</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-18T07:31:52Z</dc:date>
    </item>
    <item>
      <title>Re: Read Application server file and upload into internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-application-server-file-and-upload-into-internal-table/m-p/4038761#M965324</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;You can use F4_DXFILENAME_4_DYNP to upload file from application server.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward if useful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Susheel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Jun 2008 07:32:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/read-application-server-file-and-upload-into-internal-table/m-p/4038761#M965324</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-18T07:32:58Z</dc:date>
    </item>
    <item>
      <title>Re: Read Application server file and upload into internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-application-server-file-and-upload-into-internal-table/m-p/4038762#M965325</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;you just use open data set and read data set&lt;/P&gt;&lt;P&gt;and once the data into itab ucan use split statmt(if  required)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regds,&lt;/P&gt;&lt;P&gt;Murali&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Jun 2008 07:39:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/read-application-server-file-and-upload-into-internal-table/m-p/4038762#M965325</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-18T07:39:51Z</dc:date>
    </item>
    <item>
      <title>Re: Read Application server file and upload into internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-application-server-file-and-upload-into-internal-table/m-p/4038763#M965326</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ankit,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i think u have uploaded the tab delimited file in the application sever.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then suppose see if u r file is in the format of name#marks1#marks2#marks3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then in the program u do like this..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;first declare one internal table with one filed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data:&lt;/P&gt;&lt;P&gt;  c_hextab(1)      TYPE x VALUE '09'.&lt;/P&gt;&lt;P&gt;data:&lt;/P&gt;&lt;P&gt;  begin of t_data occurs 0,&lt;/P&gt;&lt;P&gt;      line(256) type c,&lt;/P&gt;&lt;P&gt;  endof t_data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and declare one more intternal table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data:&lt;/P&gt;&lt;P&gt; begin of  t_itab occurs 0,&lt;/P&gt;&lt;P&gt;  name(15)    type c,&lt;/P&gt;&lt;P&gt;  marks1(4)   type c,&lt;/P&gt;&lt;P&gt;  marks2(4)   type c,&lt;/P&gt;&lt;P&gt;  marks3(4)   type c,&lt;/P&gt;&lt;P&gt;endof t_itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;open the file with &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OPEN DATASET p_file FOR INPUT IN TEXT MODE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then  between do and endo do like this..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DO.&lt;/P&gt;&lt;P&gt;clear t_data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;READ DATASET p_file INTO t_data.&lt;/P&gt;&lt;P&gt;if sy-subrc ne 0.&lt;/P&gt;&lt;P&gt;  exit.&lt;/P&gt;&lt;P&gt;else.&lt;/P&gt;&lt;P&gt; split t_data at c_hextab&lt;/P&gt;&lt;P&gt;      into t_itab-name&lt;/P&gt;&lt;P&gt;            t_itab-marks1&lt;/P&gt;&lt;P&gt;t_itab-marks2&lt;/P&gt;&lt;P&gt;t_itab-marks3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;append t_itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;enddo.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i think it will be helpful to u&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please let me know wht type of file has been uploaded into application server.(tab deleimted, comma separated or something else).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sunil Kumar Mutyala.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Jun 2008 07:45:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/read-application-server-file-and-upload-into-internal-table/m-p/4038763#M965326</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-18T07:45:40Z</dc:date>
    </item>
  </channel>
</rss>

