<?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: Issue generating file with Transfer statement in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-generating-file-with-transfer-statement/m-p/9332911#M1729486</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;Try using &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TRANSFER w_hist to filename.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also Comment WRITE w_hist-Customer TO w_hist-Customer no-zero.&lt;/P&gt;&lt;P&gt; just to test if above Transfer is working properly for time being..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Vikas.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 11 Mar 2013 14:18:55 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2013-03-11T14:18:55Z</dc:date>
    <item>
      <title>Issue generating file with Transfer statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-generating-file-with-transfer-statement/m-p/9332910#M1729485</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm facing an issue with the transfer statement , i try to dump the content of a table into a file (in the sample code i'm trying only with one field).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The code is not generating any file in output, even if i have authorization to write in the directory to save the file generated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The sample code is following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TABLES:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /BIC/AZD_LOG0100.&lt;/P&gt;&lt;P&gt;DATA:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; BEGIN OF&amp;nbsp; w_hist,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Customer LIKE /BIC/AZD_LOG0100-/BIC/C_DO_ADV,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; END OF w_hist,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; i_hist LIKE TABLE OF w_hist.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; filename TYPE string.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA:&lt;/P&gt;&lt;P&gt;fdir TYPE string value '\temp\'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT /BIC/C_DO_ADV&lt;/P&gt;&lt;P&gt;FROM&amp;nbsp;&amp;nbsp; /BIC/AZD_LOG0100&lt;/P&gt;&lt;P&gt;INTO&amp;nbsp;&amp;nbsp; TABLE i_hist.&lt;/P&gt;&lt;P&gt;CHECK NOT i_hist[] is initial.&lt;/P&gt;&lt;P&gt;SORT i_hist by Customer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CONCATENATE FDIR 'test.csv' INTO filename .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OPEN DATASET filename FOR OUTPUT IN TEXT MODE ENCODING DEFAULT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT i_hist INTO w_hist.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; WRITE w_hist-Customer TO w_hist-Customer no-zero.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; TRANSFER w_hist-Customer to filename.&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CLOSE DATASET filename.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if sy-subrc = 0.&lt;/P&gt;&lt;P&gt;write: 'OK'.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Mar 2013 14:05:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue-generating-file-with-transfer-statement/m-p/9332910#M1729485</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-03-11T14:05:43Z</dc:date>
    </item>
    <item>
      <title>Re: Issue generating file with Transfer statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-generating-file-with-transfer-statement/m-p/9332911#M1729486</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;Try using &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TRANSFER w_hist to filename.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also Comment WRITE w_hist-Customer TO w_hist-Customer no-zero.&lt;/P&gt;&lt;P&gt; just to test if above Transfer is working properly for time being..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Vikas.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Mar 2013 14:18:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue-generating-file-with-transfer-statement/m-p/9332911#M1729486</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-03-11T14:18:55Z</dc:date>
    </item>
    <item>
      <title>Re: Issue generating file with Transfer statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-generating-file-with-transfer-statement/m-p/9332912#M1729487</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Did you got your issue Resolved?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thansk,&lt;/P&gt;&lt;P&gt;Vikas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Apr 2013 12:08:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue-generating-file-with-transfer-statement/m-p/9332912#M1729487</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-04-08T12:08:49Z</dc:date>
    </item>
  </channel>
</rss>

