<?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: CL_ABAP_GZIP - Compression Level in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/cl-abap-gzip-compression-level/m-p/9415818#M1737395</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Suhas,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Not saying you don't check it, just sometimes we (at least I) forget to check individual methods doco and read only the class doco.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyway, I think you are right, I probably misinterpreted the doco.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Custodio&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 17 May 2013 11:56:22 GMT</pubDate>
    <dc:creator>custodio_deoliveira</dc:creator>
    <dc:date>2013-05-17T11:56:22Z</dc:date>
    <item>
      <title>CL_ABAP_GZIP - Compression Level</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/cl-abap-gzip-compression-level/m-p/9415813#M1737390</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;does anyone of you has experience with the optional compression level parameter?&amp;nbsp; I have compressed several xstrings with different length but all compression levels from 1-9 result in the same file size for each xstring. It is like the parameter is not used by the routine. Maybe there are changes in newer Netweaver releases but as I can tell from NW 6.20 (4.7) and 7.00 this parameter does not change the compression level resp. the file size.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards Sebastian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 May 2013 09:06:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/cl-abap-gzip-compression-level/m-p/9415813#M1737390</guid>
      <dc:creator>SebastianK</dc:creator>
      <dc:date>2013-05-17T09:06:30Z</dc:date>
    </item>
    <item>
      <title>Re: CL_ABAP_GZIP - Compression Level</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/cl-abap-gzip-compression-level/m-p/9415814#M1737391</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 the compression levels wont matter much if then data is small and also if data cannot be compressed any further. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Arindam&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 May 2013 10:21:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/cl-abap-gzip-compression-level/m-p/9415814#M1737391</guid>
      <dc:creator>arindam_m</dc:creator>
      <dc:date>2013-05-17T10:21:07Z</dc:date>
    </item>
    <item>
      <title>Re: CL_ABAP_GZIP - Compression Level</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/cl-abap-gzip-compression-level/m-p/9415815#M1737392</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Sebastian,&lt;/P&gt;&lt;P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;SPAN style="color: #333333; font-size: 12px; background-color: #ffffff;"&gt;It is like the parameter is not used by the routine&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;/P&gt;&lt;P&gt;This method uses the Kernel magic wand (read: method) &lt;EM&gt;ab_compressBinary&lt;/EM&gt;. So there is no way us ABAPers can influence it in any way rather than &lt;EM&gt;thinking&lt;/EM&gt; &amp;amp; &lt;EM&gt;speculating&lt;/EM&gt; &lt;SPAN __jive_emoticon_name="sad" __jive_macro_name="emoticon" class="jive_macro jive_emote" src="https://community.sap.com/1434/images/emoticons/sad.gif"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;&lt;P&gt;Suhas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 May 2013 10:37:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/cl-abap-gzip-compression-level/m-p/9415815#M1737392</guid>
      <dc:creator>SuhaSaha</dc:creator>
      <dc:date>2013-05-17T10:37:53Z</dc:date>
    </item>
    <item>
      <title>Re: CL_ABAP_GZIP - Compression Level</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/cl-abap-gzip-compression-level/m-p/9415816#M1737393</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sebastian,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;According to method documentation (believe or not, Suhas, there's documentation!!!), compression level has more to do with speed than size:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;UL&gt;&lt;LI&gt;COMPRESS_LEVEL&lt;/LI&gt;&lt;LI&gt;Optional specification of the compression level. This must be between 0 and 9, where 1 is the fastest and 9 the highest compression. 0 means that no compression takes place. The deafult value is 6.&lt;/LI&gt;&lt;/UL&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;To read full method doco, place cursor in a method and click on documentation icon:&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/218540" width="450" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Custodio&lt;/P&gt;&lt;P&gt;@zcust01&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 May 2013 11:40:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/cl-abap-gzip-compression-level/m-p/9415816#M1737393</guid>
      <dc:creator>custodio_deoliveira</dc:creator>
      <dc:date>2013-05-17T11:40:20Z</dc:date>
    </item>
    <item>
      <title>Re: CL_ABAP_GZIP - Compression Level</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/cl-abap-gzip-compression-level/m-p/9415817#M1737394</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;SPAN style="color: #333333; font-size: 12px; background-color: #ffffff;"&gt;According to method documentation (believe or not, Suhas, there's documentation!!!), compression level has more to do with speed than size:&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;/P&gt;&lt;P&gt;Hey Custodio,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SAP documentation is the first thing i check before using any method/function &lt;SPAN __jive_emoticon_name="wink" __jive_macro_name="emoticon" class="jive_macro jive_emote" src="https://community.sap.com/1434/images/emoticons/wink.gif"&gt;&lt;/SPAN&gt; May be in this case we interpreted the documentation in different ways - &lt;/P&gt;&lt;P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;SPAN style="color: #333333; font-size: 12px; background-color: #ffffff;"&gt;This must be between 0 and 9, where 1 is the fastest and 9 the highest compression.&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;/P&gt;&lt;P&gt;I think that 1 is the fastest (&amp;amp; the lowest) compression with 9 being the highest compression (&amp;amp; the slowest) . Try to add a file to any ZIP archive (using WinZip, WinRAR et al.) you'll see the compression level from the Fastest ---&amp;gt; Highest.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Happy to hear your comments.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;&lt;P&gt;Suhas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 May 2013 11:49:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/cl-abap-gzip-compression-level/m-p/9415817#M1737394</guid>
      <dc:creator>SuhaSaha</dc:creator>
      <dc:date>2013-05-17T11:49:14Z</dc:date>
    </item>
    <item>
      <title>Re: CL_ABAP_GZIP - Compression Level</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/cl-abap-gzip-compression-level/m-p/9415818#M1737395</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Suhas,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Not saying you don't check it, just sometimes we (at least I) forget to check individual methods doco and read only the class doco.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyway, I think you are right, I probably misinterpreted the doco.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Custodio&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 May 2013 11:56:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/cl-abap-gzip-compression-level/m-p/9415818#M1737395</guid>
      <dc:creator>custodio_deoliveira</dc:creator>
      <dc:date>2013-05-17T11:56:22Z</dc:date>
    </item>
    <item>
      <title>Re: CL_ABAP_GZIP - Compression Level</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/cl-abap-gzip-compression-level/m-p/9415819#M1737396</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That was exactly my expectation when I was reading the documentation in the first place. In fact the documentation tells something about speed and compression BUT if I create a simple report and run this method with all numbers from 0 to 9 (even 0 compresses!) then the runtime and compression rate is the same for all 10 variations. Even if I vary the xstring input between large and mid size binarys there is no difference. I think that compression level is just a placeholder and SAP did not implement this feature in its kernel yet &lt;span class="lia-unicode-emoji" title=":confused_face:"&gt;😕&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 May 2013 12:09:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/cl-abap-gzip-compression-level/m-p/9415819#M1737396</guid>
      <dc:creator>SebastianK</dc:creator>
      <dc:date>2013-05-17T12:09:51Z</dc:date>
    </item>
  </channel>
</rss>

