<?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: Create .txt file in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-txt-file/m-p/872637#M50160</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;for creating files on the application server use OPEN DATASET COMMAND. For more on thiis check out the ABAP Key work documentation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;open dataset &amp;lt;file name with path&amp;gt; for output in text mode.&lt;/P&gt;&lt;P&gt;        transfer &amp;lt;data&amp;gt; to &amp;lt;filename with path&amp;gt; .&lt;/P&gt;&lt;P&gt;    close dataset &amp;lt;filename with path&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And for CRLF&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;concatenate &amp;lt;b&amp;gt;string1&amp;lt;/b&amp;gt; cl_abap_char_utilities=&amp;gt;cr_lf &amp;lt;b&amp;gt;string2&amp;lt;/b&amp;gt; to &amp;lt;b&amp;gt;strings&amp;lt;/b&amp;gt; .&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;Raja&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 05 Apr 2005 06:05:41 GMT</pubDate>
    <dc:creator>athavanraja</dc:creator>
    <dc:date>2005-04-05T06:05:41Z</dc:date>
    <item>
      <title>Create .txt file</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-txt-file/m-p/872636#M50159</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;&lt;/P&gt;&lt;P&gt;could you show me the example ABAP code how create writethe .txt file. And how write CRLF during create this file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanls a lot.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Apr 2005 05:55:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-txt-file/m-p/872636#M50159</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-04-05T05:55:30Z</dc:date>
    </item>
    <item>
      <title>Re: Create .txt file</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-txt-file/m-p/872637#M50160</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;for creating files on the application server use OPEN DATASET COMMAND. For more on thiis check out the ABAP Key work documentation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;open dataset &amp;lt;file name with path&amp;gt; for output in text mode.&lt;/P&gt;&lt;P&gt;        transfer &amp;lt;data&amp;gt; to &amp;lt;filename with path&amp;gt; .&lt;/P&gt;&lt;P&gt;    close dataset &amp;lt;filename with path&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And for CRLF&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;concatenate &amp;lt;b&amp;gt;string1&amp;lt;/b&amp;gt; cl_abap_char_utilities=&amp;gt;cr_lf &amp;lt;b&amp;gt;string2&amp;lt;/b&amp;gt; to &amp;lt;b&amp;gt;strings&amp;lt;/b&amp;gt; .&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;Raja&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Apr 2005 06:05:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-txt-file/m-p/872637#M50160</guid>
      <dc:creator>athavanraja</dc:creator>
      <dc:date>2005-04-05T06:05:41Z</dc:date>
    </item>
    <item>
      <title>Re: Create .txt file</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-txt-file/m-p/872638#M50161</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 need 3 commands (look F1 too!)&lt;/P&gt;&lt;P&gt;to create file on application server:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) open dataset file for output in text mode&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) loop at itab.&lt;/P&gt;&lt;P&gt;transfer itab to file.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3) close dataset file&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards Andreas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Apr 2005 06:07:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-txt-file/m-p/872638#M50161</guid>
      <dc:creator>andreas_mann3</dc:creator>
      <dc:date>2005-04-05T06:07:10Z</dc:date>
    </item>
  </channel>
</rss>

