<?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: how to create file manually..? in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-create-file-manually/m-p/5486637#M1255848</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;Use FM:- TMP_GUI_CREATE_DIRECTORY&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 23 Apr 2009 13:40:44 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-04-23T13:40:44Z</dc:date>
    <item>
      <title>how to create file manually..?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-create-file-manually/m-p/5486633#M1255844</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;Is there any function module to create the file?&lt;/P&gt;&lt;P&gt;My requirement is to upload the data into the file running u2018GUI_DOWNLOADu2019 function module, but that file should not be created manually, it should automatically create through the program, any help plsu2026?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Puppy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Apr 2009 12:57:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-create-file-manually/m-p/5486633#M1255844</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-23T12:57:25Z</dc:date>
    </item>
    <item>
      <title>Re: how to create file manually..?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-create-file-manually/m-p/5486634#M1255845</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Puppy,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;GUI_DOWNLOAD itself takes care of cratiing file Automatically on Local drive.&lt;/P&gt;&lt;P&gt;For Example in below code file will be created with name l_file1 with contents of table t_tab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
  CALL FUNCTION 'GUI_DOWNLOAD'
    EXPORTING
*   BIN_FILESIZE                    =
      filename                        = l_file1
      filetype                        = 'TXT'
*   APPEND                          = ' '
      write_field_separator           = 'X'
    TABLES
      data_tab                        = t_tab
      fieldnames                      = t_headers.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Shital&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Apr 2009 13:01:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-create-file-manually/m-p/5486634#M1255845</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-23T13:01:12Z</dc:date>
    </item>
    <item>
      <title>Re: how to create file manually..?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-create-file-manually/m-p/5486635#M1255846</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi shital,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in file name place i think we have to mention the file path.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Puppy.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Apr 2009 13:07:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-create-file-manually/m-p/5486635#M1255846</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-23T13:07:51Z</dc:date>
    </item>
    <item>
      <title>Re: how to create file manually..?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-create-file-manually/m-p/5486636#M1255847</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It might be Fully Qualified Windows path Like &lt;STRONG&gt;C:\Folder\Filename.txt&lt;/STRONG&gt;.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Apr 2009 13:12:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-create-file-manually/m-p/5486636#M1255847</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-23T13:12:02Z</dc:date>
    </item>
    <item>
      <title>Re: how to create file manually..?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-create-file-manually/m-p/5486637#M1255848</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;Use FM:- TMP_GUI_CREATE_DIRECTORY&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Apr 2009 13:40:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-create-file-manually/m-p/5486637#M1255848</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-23T13:40:44Z</dc:date>
    </item>
    <item>
      <title>Re: how to create file manually..?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-create-file-manually/m-p/5486638#M1255849</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;Use this.&lt;/P&gt;&lt;P&gt; v_file = 'C:\Documents and Settings\test\Desktop\file.txt'&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'GUI_DOWNLOAD'&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;      filename                = v_file&lt;/P&gt;&lt;P&gt;      filetype                = 'ASC'&lt;/P&gt;&lt;P&gt;    TABLES&lt;/P&gt;&lt;P&gt;      data_tab                = it_final&lt;/P&gt;&lt;P&gt;    EXCEPTIONS&lt;/P&gt;&lt;P&gt;      file_write_error        = 1&lt;/P&gt;&lt;P&gt;      no_batch                = 2&lt;/P&gt;&lt;P&gt;      gui_refuse_filetransfer = 3&lt;/P&gt;&lt;P&gt;      invalid_type            = 4&lt;/P&gt;&lt;P&gt;      no_authority            = 5&lt;/P&gt;&lt;P&gt;      unknown_error           = 6&lt;/P&gt;&lt;P&gt;      header_not_allowed      = 7&lt;/P&gt;&lt;P&gt;      separator_not_allowed   = 8&lt;/P&gt;&lt;P&gt;      filesize_not_allowed    = 9&lt;/P&gt;&lt;P&gt;      header_too_long         = 10&lt;/P&gt;&lt;P&gt;      dp_error_create         = 11&lt;/P&gt;&lt;P&gt;      dp_error_send           = 12&lt;/P&gt;&lt;P&gt;      dp_error_write          = 13&lt;/P&gt;&lt;P&gt;      unknown_dp_error        = 14&lt;/P&gt;&lt;P&gt;      access_denied           = 15&lt;/P&gt;&lt;P&gt;      dp_out_of_memory        = 16&lt;/P&gt;&lt;P&gt;      disk_full               = 17&lt;/P&gt;&lt;P&gt;      dp_timeout              = 18&lt;/P&gt;&lt;P&gt;      file_not_found          = 19&lt;/P&gt;&lt;P&gt;      dataprovider_exception  = 20&lt;/P&gt;&lt;P&gt;      control_flush_error     = 21&lt;/P&gt;&lt;P&gt;      OTHERS                  = 22.&lt;/P&gt;&lt;P&gt;  IF sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;    MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno&lt;/P&gt;&lt;P&gt;            WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Apr 2009 13:45:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-create-file-manually/m-p/5486638#M1255849</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-23T13:45:13Z</dc:date>
    </item>
  </channel>
</rss>

