<?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: Upload from desktop in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/upload-from-desktop/m-p/987575#M73345</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I suppose that this code could be useful for you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: wa_file type string.&lt;/P&gt;&lt;P&gt;data: tab_file like table of wa_file,&lt;/P&gt;&lt;P&gt;      pcount type i.&lt;/P&gt;&lt;P&gt;field-symbols &amp;lt;tab&amp;gt; type standard table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL METHOD CL_GUI_FRONTEND_SERVICES=&amp;gt;DIRECTORY_LIST_FILES&lt;/P&gt;&lt;P&gt;      exporting&lt;/P&gt;&lt;P&gt;        DIRECTORY = 'C:\test'&lt;/P&gt;&lt;P&gt;        FILTER = '&lt;STRONG&gt;.&lt;/STRONG&gt;'&lt;/P&gt;&lt;P&gt;        FILES_ONLY = 'X'&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;       DIRECTORIES_ONLY&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;      changing&lt;/P&gt;&lt;P&gt;        FILE_TABLE = tab_file&lt;/P&gt;&lt;P&gt;        count = pcount.&lt;/P&gt;&lt;P&gt;        &lt;/P&gt;&lt;P&gt;ASSIGN ('internal_table') TO &amp;lt;tab&amp;gt;.   &lt;/P&gt;&lt;P&gt;loop at tab_file into wa_file.&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 = wa_file&lt;/P&gt;&lt;P&gt;        changing&lt;/P&gt;&lt;P&gt;          data_tab = &amp;lt;tab&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Svetlin&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;P.S. If you find an answer useful, please assign reward points.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Svetlin Rusev&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 16 Sep 2005 07:02:05 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2005-09-16T07:02:05Z</dc:date>
    <item>
      <title>Upload from desktop</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/upload-from-desktop/m-p/987569#M73339</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;i have to upload multiple files from desktop. can anyone suggest the procedur to do this.&lt;/P&gt;&lt;P&gt; Is there any function module in sap to upload multiple files from desktop. Or there is some other way to upload multiple files from desktop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;P&gt;anu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Sep 2005 06:12:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/upload-from-desktop/m-p/987569#M73339</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-09-16T06:12:19Z</dc:date>
    </item>
    <item>
      <title>Re: Upload from desktop</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/upload-from-desktop/m-p/987570#M73340</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can write your own logic to construct filename (You will also have to rename filenames in your directory) and then LOOP it to upload using GUI_UPLOAD.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Sep 2005 06:15:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/upload-from-desktop/m-p/987570#M73340</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-09-16T06:15:03Z</dc:date>
    </item>
    <item>
      <title>Re: Upload from desktop</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/upload-from-desktop/m-p/987571#M73341</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Anu&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What is the format of files you want to upload?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Ashish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Sep 2005 06:23:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/upload-from-desktop/m-p/987571#M73341</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-09-16T06:23:50Z</dc:date>
    </item>
    <item>
      <title>Re: Upload from desktop</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/upload-from-desktop/m-p/987572#M73342</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;You collect all the file names into the internal table , and in the loop you call the GUI_UPLOAD FM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't thing any single function module doing this job.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Sasi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Sep 2005 06:32:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/upload-from-desktop/m-p/987572#M73342</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-09-16T06:32:53Z</dc:date>
    </item>
    <item>
      <title>Re: Upload from desktop</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/upload-from-desktop/m-p/987573#M73343</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;the format is tab delimited...and if possible plz can u send me some code if ther are multiplt files to be upload from desktop....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Sep 2005 06:42:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/upload-from-desktop/m-p/987573#M73343</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-09-16T06:42:25Z</dc:date>
    </item>
    <item>
      <title>Re: Upload from desktop</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/upload-from-desktop/m-p/987574#M73344</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Use the following static methods:&lt;/P&gt;&lt;P&gt;CL_GUI_FRONTEND_SERVICES=&amp;gt;DIRECTORY_LIST_FILES - to get your files names&lt;/P&gt;&lt;P&gt;CL_GUI_FRONTEND_SERVICES=&amp;gt;GUI_UPLOAD - to upload your files into internal tables&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Svetlin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Sep 2005 06:46:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/upload-from-desktop/m-p/987574#M73344</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-09-16T06:46:35Z</dc:date>
    </item>
    <item>
      <title>Re: Upload from desktop</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/upload-from-desktop/m-p/987575#M73345</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I suppose that this code could be useful for you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: wa_file type string.&lt;/P&gt;&lt;P&gt;data: tab_file like table of wa_file,&lt;/P&gt;&lt;P&gt;      pcount type i.&lt;/P&gt;&lt;P&gt;field-symbols &amp;lt;tab&amp;gt; type standard table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL METHOD CL_GUI_FRONTEND_SERVICES=&amp;gt;DIRECTORY_LIST_FILES&lt;/P&gt;&lt;P&gt;      exporting&lt;/P&gt;&lt;P&gt;        DIRECTORY = 'C:\test'&lt;/P&gt;&lt;P&gt;        FILTER = '&lt;STRONG&gt;.&lt;/STRONG&gt;'&lt;/P&gt;&lt;P&gt;        FILES_ONLY = 'X'&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;       DIRECTORIES_ONLY&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;      changing&lt;/P&gt;&lt;P&gt;        FILE_TABLE = tab_file&lt;/P&gt;&lt;P&gt;        count = pcount.&lt;/P&gt;&lt;P&gt;        &lt;/P&gt;&lt;P&gt;ASSIGN ('internal_table') TO &amp;lt;tab&amp;gt;.   &lt;/P&gt;&lt;P&gt;loop at tab_file into wa_file.&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 = wa_file&lt;/P&gt;&lt;P&gt;        changing&lt;/P&gt;&lt;P&gt;          data_tab = &amp;lt;tab&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Svetlin&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;P.S. If you find an answer useful, please assign reward points.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Svetlin Rusev&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Sep 2005 07:02:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/upload-from-desktop/m-p/987575#M73345</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-09-16T07:02:05Z</dc:date>
    </item>
    <item>
      <title>Re: Upload from desktop</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/upload-from-desktop/m-p/987576#M73346</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 with this code&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data :itab1 like mara occurs 0 with header line.&lt;/P&gt;&lt;P&gt;data : begin of ist,&lt;/P&gt;&lt;P&gt;         fname type string,&lt;/P&gt;&lt;P&gt;       end of ist.&lt;/P&gt;&lt;P&gt;data : itab2 like ist occurs 0 with header line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;itab2-fname = 'c:\text111.txt'.&lt;/P&gt;&lt;P&gt;append itab2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;itab2-fname = 'c:\text112.txt'.&lt;/P&gt;&lt;P&gt;append itab2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;itab2-fname = 'c:\text113.txt'.&lt;/P&gt;&lt;P&gt;append itab2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at itab2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'GUI_UPLOAD'&lt;/P&gt;&lt;P&gt;  EXPORTING&lt;/P&gt;&lt;P&gt;    filename                      = itab2-fname&lt;/P&gt;&lt;P&gt;   FILETYPE                      = 'ASC'&lt;/P&gt;&lt;P&gt;    HAS_FIELD_SEPARATOR           = '#'&lt;/P&gt;&lt;P&gt;  tables&lt;/P&gt;&lt;P&gt;    data_tab                      = itab1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Sep 2005 07:23:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/upload-from-desktop/m-p/987576#M73346</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-09-16T07:23:34Z</dc:date>
    </item>
    <item>
      <title>Re: Upload from desktop</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/upload-from-desktop/m-p/987577#M73347</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI svetlin..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can u plz elaborate a code little bit. I am not able to run the program if i am using the code..ASSIGN ('internal_table') TO &amp;lt;tab&amp;gt;.  in this which interan table u means i have to assign...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can u plz help on this...&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Sep 2005 05:35:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/upload-from-desktop/m-p/987577#M73347</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-09-19T05:35:39Z</dc:date>
    </item>
    <item>
      <title>Re: Upload from desktop</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/upload-from-desktop/m-p/987578#M73348</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;i am facing problem in uploading mutiple files together from desktop.&lt;/P&gt;&lt;P&gt;please can someone send me the code for that. i am not able to upload multiple files together..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;plz help in this object&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Sep 2005 05:47:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/upload-from-desktop/m-p/987578#M73348</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-09-19T05:47:43Z</dc:date>
    </item>
  </channel>
</rss>

