<?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: Donload file in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/donload-file/m-p/1308672#M160979</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi again,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1.  Its only for BINARY Files.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. BCOS&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. Binary file have a special character&lt;/P&gt;&lt;P&gt;   EOF&lt;/P&gt;&lt;P&gt;   at the end of the file,&lt;/P&gt;&lt;P&gt;   as the last character.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4. We cannot use this parameter&lt;/P&gt;&lt;P&gt;   for text files.&lt;/P&gt;&lt;P&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;amit m.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 05 Jun 2006 07:18:45 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-06-05T07:18:45Z</dc:date>
    <item>
      <title>Donload file</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/donload-file/m-p/1308669#M160976</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;    there is one small reqmnt pls have a look......&lt;/P&gt;&lt;P&gt;    I am using FM GUI_DOWNLOAD to download the contents of my internal table on PC file....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      CALL FUNCTION 'GUI_DOWNLOAD'&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;     filename                        =  l_f_fname&lt;/P&gt;&lt;P&gt;     filetype                        = 'ASC'&lt;/P&gt;&lt;P&gt;     write_field_separator           =  l_f_fseprt&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  IMPORTING&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;    FILELENGTH                      =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    TABLES&lt;/P&gt;&lt;P&gt;      data_tab                        =  g_t_sales[]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    in the internal table there are 25 fields , in my program i am filling data onli upto 10 fields, rest of the fields have no data and fields being all character type..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   through this FM i want the file which will be downloaded should be of length 900 characters, is there any parameters which will restrict length of my file upto 900 characters. &lt;/P&gt;&lt;P&gt;upto 25 fields in internal table length is 900 characters&lt;/P&gt;&lt;P&gt;means i want file length corresponding to my internal table length...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;quick reply will be very helpful....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks in advance...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Jun 2006 07:05:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/donload-file/m-p/1308669#M160976</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-05T07:05:39Z</dc:date>
    </item>
    <item>
      <title>Re: Donload file</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/donload-file/m-p/1308670#M160977</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi praveen,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. I don't think we can &lt;/P&gt;&lt;P&gt;   control the Length of the file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. Before writing to file,&lt;/P&gt;&lt;P&gt;   we can only control the&lt;/P&gt;&lt;P&gt;   length / size of the  internal table, &lt;/P&gt;&lt;P&gt;   by accessing the number of records in it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&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;amit m.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Jun 2006 07:10:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/donload-file/m-p/1308670#M160977</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-05T07:10:49Z</dc:date>
    </item>
    <item>
      <title>Re: Donload file</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/donload-file/m-p/1308671#M160978</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;what is the relevance of filelength in the FM????????&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanx .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Jun 2006 07:15:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/donload-file/m-p/1308671#M160978</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-05T07:15:57Z</dc:date>
    </item>
    <item>
      <title>Re: Donload file</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/donload-file/m-p/1308672#M160979</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi again,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1.  Its only for BINARY Files.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. BCOS&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. Binary file have a special character&lt;/P&gt;&lt;P&gt;   EOF&lt;/P&gt;&lt;P&gt;   at the end of the file,&lt;/P&gt;&lt;P&gt;   as the last character.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4. We cannot use this parameter&lt;/P&gt;&lt;P&gt;   for text files.&lt;/P&gt;&lt;P&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;amit m.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Jun 2006 07:18:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/donload-file/m-p/1308672#M160979</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-05T07:18:45Z</dc:date>
    </item>
    <item>
      <title>Re: Donload file</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/donload-file/m-p/1308673#M160980</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Praveen,&lt;/P&gt;&lt;P&gt;The export parameter File_length will return the size of the file created.&lt;/P&gt;&lt;P&gt;U unfortunately dont have any import parameter to control the size of the file.&lt;/P&gt;&lt;P&gt;If file size is of that importance for u, u shall have to use trail n error method n reduce or increase of ur internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Tanveer.&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Please mark helpful answers&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Jun 2006 07:24:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/donload-file/m-p/1308673#M160980</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-05T07:24:41Z</dc:date>
    </item>
  </channel>
</rss>

