<?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 a ZIP file to Application Server in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/upload-a-zip-file-to-application-server/m-p/772566#M38457</link>
    <description>&lt;P&gt;Hello, &lt;/P&gt;&lt;P&gt;My dear client gave this requirement &lt;span class="lia-unicode-emoji" title=":grinning_face_with_smiling_eyes:"&gt;😄&lt;/span&gt; :D.&lt;/P&gt;&lt;P&gt;I used GUI Upload but it's restricted to only .txt files which is not my requirement.&lt;/P&gt;&lt;P&gt;Hope you can provide some help.&lt;/P&gt;</description>
    <pubDate>Tue, 08 Jan 2019 10:45:12 GMT</pubDate>
    <dc:creator>anurag_singh16</dc:creator>
    <dc:date>2019-01-08T10:45:12Z</dc:date>
    <item>
      <title>Upload a ZIP file to Application Server</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/upload-a-zip-file-to-application-server/m-p/772562#M38453</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
  &lt;P&gt;I have this requirement to upload multiple documents from presentation server to SAP Application server and then from that Application server to email as attachment. So, we are thinking of putting up all files in a ZIP file and upload it, then send this exact ZIPPED file ( which is first uploaded to Application Server ) to concerned person over email through another program.&lt;/P&gt;
  &lt;P&gt;The upload of ZIP file to Application Server has to be done through ALV cell like this.&lt;/P&gt;
  &lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/258679-upload-req.png" /&gt;&lt;/P&gt;
  &lt;P&gt;Kindly suggest.&lt;/P&gt;
  &lt;P&gt;Regards,&lt;BR /&gt;Anurag Singh&lt;/P&gt;</description>
      <pubDate>Tue, 08 Jan 2019 06:50:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/upload-a-zip-file-to-application-server/m-p/772562#M38453</guid>
      <dc:creator>anurag_singh16</dc:creator>
      <dc:date>2019-01-08T06:50:42Z</dc:date>
    </item>
    <item>
      <title>Re: Upload a ZIP file to Application Server</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/upload-a-zip-file-to-application-server/m-p/772563#M38454</link>
      <description>&lt;P&gt;Hello, nice requirement &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; Where did you find problem? And which ways did you tried?&lt;/P&gt;</description>
      <pubDate>Tue, 08 Jan 2019 07:13:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/upload-a-zip-file-to-application-server/m-p/772563#M38454</guid>
      <dc:creator>Tomas_Buryanek</dc:creator>
      <dc:date>2019-01-08T07:13:41Z</dc:date>
    </item>
    <item>
      <title>Re: Upload a ZIP file to Application Server</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/upload-a-zip-file-to-application-server/m-p/772564#M38455</link>
      <description>&lt;P&gt;So you use the F4 (ONF4 or similar event) to upload files, and the problem is?&lt;/P&gt;</description>
      <pubDate>Tue, 08 Jan 2019 10:16:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/upload-a-zip-file-to-application-server/m-p/772564#M38455</guid>
      <dc:creator>RaymondGiuseppi</dc:creator>
      <dc:date>2019-01-08T10:16:40Z</dc:date>
    </item>
    <item>
      <title>Re: Upload a ZIP file to Application Server</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/upload-a-zip-file-to-application-server/m-p/772565#M38456</link>
      <description>&lt;P&gt;The problem is I need some solution to Upload a zipped file containing different types of documents ( like .XLS, .DOC, .PDF, etc ).&lt;/P&gt;&lt;P&gt;And now this zipped file has to be saved in SAP somewhere so that later on I can provide a hyperlink to this zipped file in another ALV Report. When user clicks that hyperlink in ALV, the zipped file can be downloaded to Local PC and the user can see those documents wrapped into the zipped file then.&lt;/P&gt;&lt;P&gt;Kindly suggest.&lt;/P&gt;</description>
      <pubDate>Tue, 08 Jan 2019 10:43:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/upload-a-zip-file-to-application-server/m-p/772565#M38456</guid>
      <dc:creator>anurag_singh16</dc:creator>
      <dc:date>2019-01-08T10:43:19Z</dc:date>
    </item>
    <item>
      <title>Re: Upload a ZIP file to Application Server</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/upload-a-zip-file-to-application-server/m-p/772566#M38457</link>
      <description>&lt;P&gt;Hello, &lt;/P&gt;&lt;P&gt;My dear client gave this requirement &lt;span class="lia-unicode-emoji" title=":grinning_face_with_smiling_eyes:"&gt;😄&lt;/span&gt; :D.&lt;/P&gt;&lt;P&gt;I used GUI Upload but it's restricted to only .txt files which is not my requirement.&lt;/P&gt;&lt;P&gt;Hope you can provide some help.&lt;/P&gt;</description>
      <pubDate>Tue, 08 Jan 2019 10:45:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/upload-a-zip-file-to-application-server/m-p/772566#M38457</guid>
      <dc:creator>anurag_singh16</dc:creator>
      <dc:date>2019-01-08T10:45:12Z</dc:date>
    </item>
    <item>
      <title>Re: Upload a ZIP file to Application Server</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/upload-a-zip-file-to-application-server/m-p/772567#M38458</link>
      <description>&lt;P&gt;GUI Upload is not restricted to only .txt files. It has no problem with a .zip or any other file.&lt;/P&gt;</description>
      <pubDate>Tue, 08 Jan 2019 12:29:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/upload-a-zip-file-to-application-server/m-p/772567#M38458</guid>
      <dc:creator>Tomas_Buryanek</dc:creator>
      <dc:date>2019-01-08T12:29:05Z</dc:date>
    </item>
    <item>
      <title>Re: Upload a ZIP file to Application Server</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/upload-a-zip-file-to-application-server/m-p/772568#M38459</link>
      <description>&lt;P&gt;Uploading files is a FAQ, to build a zip, look at classes such as cl_abap_zip, you could also consider GOS or similar tool to store the generated document and provide link. (Use search tool)&lt;/P&gt;</description>
      <pubDate>Tue, 08 Jan 2019 15:27:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/upload-a-zip-file-to-application-server/m-p/772568#M38459</guid>
      <dc:creator>RaymondGiuseppi</dc:creator>
      <dc:date>2019-01-08T15:27:14Z</dc:date>
    </item>
    <item>
      <title>Re: Upload a ZIP file to Application Server</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/upload-a-zip-file-to-application-server/m-p/772569#M38460</link>
      <description>&lt;P&gt;You can use cl_abap_zip class to create zip file.&lt;/P&gt;&lt;P&gt;Following is the sample code to covert text to zip. It returns a binary string which can be written to file.&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;data: lo_bcs_exception type ref to cx_bcs,
        lex_text         type string,
        l_xstring        type xstring.


  data: l_zipper   type ref to cl_abap_zip,
        filename   type string,
        zip        type xstring,
        filelenght type i.

  try.
      l_xstring = cl_bcs_convert=&amp;gt;string_to_xstring( iv_string = p_output iv_codepage = '4103'  iv_add_bom  = 'X').
      filename = 'alvfile.xls'.
      create object l_zipper.
      l_zipper-&amp;gt;add( name = filename  content = l_xstring )."add object to zip
      call method l_zipper-&amp;gt;save( receiving zip = zip ). "save zip


    catch cx_bcs into lo_bcs_exception.
      lex_text  = lo_bcs_exception-&amp;gt;get_text( ).


  endtry.&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 09 Jan 2019 14:54:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/upload-a-zip-file-to-application-server/m-p/772569#M38460</guid>
      <dc:creator>monalisa_biswal</dc:creator>
      <dc:date>2019-01-09T14:54:29Z</dc:date>
    </item>
  </channel>
</rss>

