<?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: Problem in creating zip file in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-creating-zip-file/m-p/7819538#M1588863</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;can't you open the Zip file from application server?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After an OPEN DATASET in BINARY MODE , i think you could use SCMS_BINARY_TO_XSTRING and CL_ABAP_ZIP-&amp;gt;LOAD method to load the zip in application server (using the XSTRING)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then,you can use CL_ABAP_ZIP-&amp;gt;ADD  for additional data and CL_ABAP_ZIP-&amp;gt;SAVE&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 27 Apr 2011 13:29:33 GMT</pubDate>
    <dc:creator>AlessandroSpadoni</dc:creator>
    <dc:date>2011-04-27T13:29:33Z</dc:date>
    <item>
      <title>Problem in creating zip file</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-creating-zip-file/m-p/7819537#M1588862</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;these are the following steps i followed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1.i have table of type string.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2.I converted theat to xstring using SCMS_TEXT_TO_XSTRING.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3.using CL_ABAP_ZIP called add and save methods.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4.Took the compressed xstraem buffer from save and converted to binary using SCMS_XSTRING_TO_BINARY.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;5.Opened a zip file in application server and rite data into that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now i am having following issues&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1.i am unable to open the zip file&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i want o/p like this&lt;/P&gt;&lt;P&gt;e.g&lt;/P&gt;&lt;P&gt;if input data is&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;London&lt;/P&gt;&lt;P&gt;Chennai&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it has to be stored in ouptup.txt in zip file.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Apr 2011 13:04:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-creating-zip-file/m-p/7819537#M1588862</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-04-27T13:04:47Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in creating zip file</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-creating-zip-file/m-p/7819538#M1588863</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;can't you open the Zip file from application server?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After an OPEN DATASET in BINARY MODE , i think you could use SCMS_BINARY_TO_XSTRING and CL_ABAP_ZIP-&amp;gt;LOAD method to load the zip in application server (using the XSTRING)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then,you can use CL_ABAP_ZIP-&amp;gt;ADD  for additional data and CL_ABAP_ZIP-&amp;gt;SAVE&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Apr 2011 13:29:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-creating-zip-file/m-p/7819538#M1588863</guid>
      <dc:creator>AlessandroSpadoni</dc:creator>
      <dc:date>2011-04-27T13:29:33Z</dc:date>
    </item>
  </channel>
</rss>

