<?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: Wrong file name? in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/wrong-file-name/m-p/1038969#M85983</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;as the others suggested you need to pass it via astring variable with the extension.&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>Wed, 19 Oct 2005 11:56:30 GMT</pubDate>
    <dc:creator>athavanraja</dc:creator>
    <dc:date>2005-10-19T11:56:30Z</dc:date>
    <item>
      <title>Wrong file name?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/wrong-file-name/m-p/1038965#M85979</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;My program has a problem finding my file. Is the name wrong in some way?  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL METHOD cl_gui_frontend_services=&amp;gt;gui_upload&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;      filename               = 'G:\Test\Testfil_01_051004'&lt;/P&gt;&lt;P&gt;      filetype                = lc_filetype&lt;/P&gt;&lt;P&gt;    CHANGING&lt;/P&gt;&lt;P&gt;      data_tab                = lt_transar&lt;/P&gt;&lt;P&gt;    EXCEPTIONS&lt;/P&gt;&lt;P&gt;      file_open_error         = 1&lt;/P&gt;&lt;P&gt;      file_read_error         = 2&lt;/P&gt;&lt;P&gt;      no_batch                = 3&lt;/P&gt;&lt;P&gt;      gui_refuse_filetransfer = 4&lt;/P&gt;&lt;P&gt;      invalid_type            = 5&lt;/P&gt;&lt;P&gt;      no_authority            = 6&lt;/P&gt;&lt;P&gt;      unknown_error           = 7&lt;/P&gt;&lt;P&gt;      bad_data_format         = 8&lt;/P&gt;&lt;P&gt;      header_not_allowed      = 9&lt;/P&gt;&lt;P&gt;      separator_not_allowed   = 10&lt;/P&gt;&lt;P&gt;      header_too_long         = 11&lt;/P&gt;&lt;P&gt;      unknown_dp_error        = 12&lt;/P&gt;&lt;P&gt;      access_denied           = 13&lt;/P&gt;&lt;P&gt;      dp_out_of_memory        = 14&lt;/P&gt;&lt;P&gt;      disk_full               = 15&lt;/P&gt;&lt;P&gt;      dp_timeout              = 16&lt;/P&gt;&lt;P&gt;      not_supported_by_gui    = 17&lt;/P&gt;&lt;P&gt;      error_no_gui            = 18&lt;/P&gt;&lt;P&gt;      OTHERS                  = 19.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Oct 2005 11:01:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/wrong-file-name/m-p/1038965#M85979</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-10-19T11:01:13Z</dc:date>
    </item>
    <item>
      <title>Re: Wrong file name?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/wrong-file-name/m-p/1038966#M85980</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you tell what exactly is your error..&lt;/P&gt;&lt;P&gt;Also what is the value of lc_filetype and file type of Testfil_01_051004&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Oct 2005 11:06:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/wrong-file-name/m-p/1038966#M85980</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-10-19T11:06:10Z</dc:date>
    </item>
    <item>
      <title>Re: Wrong file name?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/wrong-file-name/m-p/1038967#M85981</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;what is the error you are getting?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;try passing the filename in a &amp;lt;b&amp;gt;string&amp;lt;/b&amp;gt; type variable&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;example:::&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  TYPES:&lt;/P&gt;&lt;P&gt;    ty_xline(1024) TYPE x.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  DATA:&lt;/P&gt;&lt;P&gt;    lf_file       TYPE string,&lt;/P&gt;&lt;P&gt;    lf_filelength TYPE i,&lt;/P&gt;&lt;P&gt;    lt_datatab    TYPE STANDARD TABLE OF ty_xline.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  lf_file = file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CALL METHOD cl_gui_frontend_services=&amp;gt;gui_upload&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;      filename                = lf_file&lt;/P&gt;&lt;P&gt;      filetype                = 'BIN'&lt;/P&gt;&lt;P&gt;    IMPORTING&lt;/P&gt;&lt;P&gt;      filelength              = lf_filelength&lt;/P&gt;&lt;P&gt;    CHANGING&lt;/P&gt;&lt;P&gt;      data_tab                = lt_datatab&lt;/P&gt;&lt;P&gt;    EXCEPTIONS&lt;/P&gt;&lt;P&gt;      OTHERS                  = 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;rgds,&lt;/P&gt;&lt;P&gt;PJ&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Oct 2005 11:08:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/wrong-file-name/m-p/1038967#M85981</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-10-19T11:08:36Z</dc:date>
    </item>
    <item>
      <title>Re: Wrong file name?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/wrong-file-name/m-p/1038968#M85982</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;  I think you did not give the extension of the file name,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL METHOD cl_gui_frontend_services=&amp;gt;gui_upload&lt;/P&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;filename = 'G:\Test\Testfil_01_051004'&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;should be &lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;filename = 'G:\Test\Testfil_01_051004.txt'&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;OR whatever the extension of that file..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  Hope this helps..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sri&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Oct 2005 11:52:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/wrong-file-name/m-p/1038968#M85982</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-10-19T11:52:38Z</dc:date>
    </item>
    <item>
      <title>Re: Wrong file name?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/wrong-file-name/m-p/1038969#M85983</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;as the others suggested you need to pass it via astring variable with the extension.&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>Wed, 19 Oct 2005 11:56:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/wrong-file-name/m-p/1038969#M85983</guid>
      <dc:creator>athavanraja</dc:creator>
      <dc:date>2005-10-19T11:56:30Z</dc:date>
    </item>
  </channel>
</rss>

