<?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: write CSV file on application server using OPEN DATASET. in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/write-csv-file-on-application-server-using-open-dataset/m-p/3331303#M798178</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;U can't write data of internal table as .csv format in an application server. U can just dump the data line by line in application server and then may be u can write another program to read this data and do changes and download to .csv format file.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 24 Jan 2008 13:17:53 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-01-24T13:17:53Z</dc:date>
    <item>
      <title>write CSV file on application server using OPEN DATASET.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/write-csv-file-on-application-server-using-open-dataset/m-p/3331302#M798177</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;how to write an internal table to a .csv file on application server using OPEN DATASET output?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Jan 2008 13:14:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/write-csv-file-on-application-server-using-open-dataset/m-p/3331302#M798177</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-24T13:14:21Z</dc:date>
    </item>
    <item>
      <title>Re: write CSV file on application server using OPEN DATASET.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/write-csv-file-on-application-server-using-open-dataset/m-p/3331303#M798178</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;U can't write data of internal table as .csv format in an application server. U can just dump the data line by line in application server and then may be u can write another program to read this data and do changes and download to .csv format file.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Jan 2008 13:17:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/write-csv-file-on-application-server-using-open-dataset/m-p/3331303#M798178</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-24T13:17:53Z</dc:date>
    </item>
    <item>
      <title>Re: write CSV file on application server using OPEN DATASET.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/write-csv-file-on-application-server-using-open-dataset/m-p/3331304#M798179</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI Suhas,&lt;/P&gt;&lt;P&gt;    Try the follwoing way.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at itab.&lt;/P&gt;&lt;P&gt;concatenate itab-field1 itab-field2....into itab_new-data separated by ','.&lt;/P&gt;&lt;P&gt;append itab_new.&lt;/P&gt;&lt;P&gt;clear itab_new.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;open dataset &amp;lt;filename&amp;gt; for output in text mode.&lt;/P&gt;&lt;P&gt;loop at itab_new.&lt;/P&gt;&lt;P&gt;transfer itab_new to &amp;lt;filename&amp;gt;.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;close dataset &amp;lt;filename&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ravi Kanth Talagana&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Jan 2008 13:30:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/write-csv-file-on-application-server-using-open-dataset/m-p/3331304#M798179</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-24T13:30:41Z</dc:date>
    </item>
    <item>
      <title>Re: write CSV file on application server using OPEN DATASET.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/write-csv-file-on-application-server-using-open-dataset/m-p/3331305#M798180</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Suhas,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can use like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: e_file like rlgrap-filename value '/usr/sap/tmp/file.txt'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  open dataset e_file for output in text mode.&lt;/P&gt;&lt;P&gt;  lOOP AT it_datatab......&lt;/P&gt;&lt;P&gt;    transfer it_datatab to e_file.&lt;/P&gt;&lt;P&gt;  ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  close dataset e_file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reagrds&lt;/P&gt;&lt;P&gt;Sourabh Verma&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Jan 2008 13:54:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/write-csv-file-on-application-server-using-open-dataset/m-p/3331305#M798180</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-24T13:54:26Z</dc:date>
    </item>
    <item>
      <title>Re: write CSV file on application server using OPEN DATASET.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/write-csv-file-on-application-server-using-open-dataset/m-p/3331306#M798181</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Suhas&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think if you do not provide a file name for function module &lt;STRONG&gt;SAP_CONVERT_TO_CSV_FORMAT&lt;/STRONG&gt; (using cl_abap_char_utilities=&amp;gt;horizontal_tab as delimiter) then the fm convert a structured itab into an unstructured itab (holding TAB separated data).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then you can use this unstructured itab as input for the OPEN DATASET statement.&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;   Uwe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Jan 2008 20:13:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/write-csv-file-on-application-server-using-open-dataset/m-p/3331306#M798181</guid>
      <dc:creator>uwe_schieferstein</dc:creator>
      <dc:date>2008-01-24T20:13:08Z</dc:date>
    </item>
    <item>
      <title>Re: write CSV file on application server using OPEN DATASET.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/write-csv-file-on-application-server-using-open-dataset/m-p/3331307#M798182</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Oct 2009 08:25:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/write-csv-file-on-application-server-using-open-dataset/m-p/3331307#M798182</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-10-21T08:25:59Z</dc:date>
    </item>
  </channel>
</rss>

