<?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 Function WS_UPLOAD to upload data from PC to SAP! in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-ws-upload-to-upload-data-from-pc-to-sap/m-p/6806083#M1468211</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello at all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in my program i used the Function WS_UPLOAD and it works correct.&lt;/P&gt;&lt;P&gt;But my question is, can I also exporting a filename in the function more than 1024 characters?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: file(1500) TYPE c.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;file = (Path/Filename with over than 1024 characters)&lt;/P&gt;&lt;P&gt;file = 'C:\Dokumente und Einstellungen\ETO.Transic\Desktop\test.txt'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'WS_UPLOAD'&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;      codepage            = 'IBM'&lt;/P&gt;&lt;P&gt;      filename               = file&lt;/P&gt;&lt;P&gt;      filetype                = 'ASC'&lt;/P&gt;&lt;P&gt;    IMPORTING&lt;/P&gt;&lt;P&gt;      filelength            = flength&lt;/P&gt;&lt;P&gt;    TABLES&lt;/P&gt;&lt;P&gt;      data_tab            = tab&lt;/P&gt;&lt;P&gt;    EXCEPTIONS&lt;/P&gt;&lt;P&gt;      conversion_error    = 1&lt;/P&gt;&lt;P&gt;      file_open_error     = 2&lt;/P&gt;&lt;P&gt;      file_read_error     = 3&lt;/P&gt;&lt;P&gt;      invalid_table_width = 4&lt;/P&gt;&lt;P&gt;      invalid_type        = 5.&lt;/P&gt;&lt;P&gt;  IF sy-subrc NE 0.&lt;/P&gt;&lt;P&gt;MESSAGE e888(sabapdocu) WITH 'ERROR in Function WS_UPLOAD'.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 30 Mar 2010 14:24:04 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-03-30T14:24:04Z</dc:date>
    <item>
      <title>Function WS_UPLOAD to upload data from PC to SAP!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-ws-upload-to-upload-data-from-pc-to-sap/m-p/6806083#M1468211</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello at all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in my program i used the Function WS_UPLOAD and it works correct.&lt;/P&gt;&lt;P&gt;But my question is, can I also exporting a filename in the function more than 1024 characters?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: file(1500) TYPE c.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;file = (Path/Filename with over than 1024 characters)&lt;/P&gt;&lt;P&gt;file = 'C:\Dokumente und Einstellungen\ETO.Transic\Desktop\test.txt'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'WS_UPLOAD'&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;      codepage            = 'IBM'&lt;/P&gt;&lt;P&gt;      filename               = file&lt;/P&gt;&lt;P&gt;      filetype                = 'ASC'&lt;/P&gt;&lt;P&gt;    IMPORTING&lt;/P&gt;&lt;P&gt;      filelength            = flength&lt;/P&gt;&lt;P&gt;    TABLES&lt;/P&gt;&lt;P&gt;      data_tab            = tab&lt;/P&gt;&lt;P&gt;    EXCEPTIONS&lt;/P&gt;&lt;P&gt;      conversion_error    = 1&lt;/P&gt;&lt;P&gt;      file_open_error     = 2&lt;/P&gt;&lt;P&gt;      file_read_error     = 3&lt;/P&gt;&lt;P&gt;      invalid_table_width = 4&lt;/P&gt;&lt;P&gt;      invalid_type        = 5.&lt;/P&gt;&lt;P&gt;  IF sy-subrc NE 0.&lt;/P&gt;&lt;P&gt;MESSAGE e888(sabapdocu) WITH 'ERROR in Function WS_UPLOAD'.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Mar 2010 14:24:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-ws-upload-to-upload-data-from-pc-to-sap/m-p/6806083#M1468211</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-03-30T14:24:04Z</dc:date>
    </item>
    <item>
      <title>Re: Function WS_UPLOAD to upload data from PC to SAP!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-ws-upload-to-upload-data-from-pc-to-sap/m-p/6806084#M1468212</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WS_UPLOAD is a obsolete function module and is not recommended to be used anymore. Instead use GUI_UPLOAD. The filename import parameter is of type STRING. So i guess that would accept a filename greater than 1024 characters.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Vikranth&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Mar 2010 14:25:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-ws-upload-to-upload-data-from-pc-to-sap/m-p/6806084#M1468212</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-03-30T14:25:51Z</dc:date>
    </item>
    <item>
      <title>Re: Function WS_UPLOAD to upload data from PC to SAP!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-ws-upload-to-upload-data-from-pc-to-sap/m-p/6806085#M1468213</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;     It will not take more than 128 chars. (RLGRAP-FILENAME)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Srini.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Mar 2010 14:28:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-ws-upload-to-upload-data-from-pc-to-sap/m-p/6806085#M1468213</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-03-30T14:28:43Z</dc:date>
    </item>
    <item>
      <title>Re: Function WS_UPLOAD to upload data from PC to SAP!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-ws-upload-to-upload-data-from-pc-to-sap/m-p/6806086#M1468214</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for helpful answer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;with kind regards&lt;/P&gt;&lt;P&gt;ETN&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Mar 2010 06:18:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-ws-upload-to-upload-data-from-pc-to-sap/m-p/6806086#M1468214</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-03-31T06:18:59Z</dc:date>
    </item>
  </channel>
</rss>

