<?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 compress issue in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/compress-issue/m-p/1701520#M307516</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;is there any way to compress a 35 char field to 10 char fields to compare with in select query and without using any function module .&lt;/P&gt;&lt;P&gt;gaurav&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 24 Oct 2006 11:11:29 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-10-24T11:11:29Z</dc:date>
    <item>
      <title>compress issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/compress-issue/m-p/1701520#M307516</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;is there any way to compress a 35 char field to 10 char fields to compare with in select query and without using any function module .&lt;/P&gt;&lt;P&gt;gaurav&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Oct 2006 11:11:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/compress-issue/m-p/1701520#M307516</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-24T11:11:29Z</dc:date>
    </item>
    <item>
      <title>Re: compress issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/compress-issue/m-p/1701521#M307517</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What do you exactly mean by COMPRESS?&lt;/P&gt;&lt;P&gt;You want to extract a Substring?&lt;/P&gt;&lt;P&gt;V_ss = v_val+0(10). "V_val is a 35 char field V_ss is a 10 char field.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;ravi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Oct 2006 11:13:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/compress-issue/m-p/1701521#M307517</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-24T11:13:38Z</dc:date>
    </item>
    <item>
      <title>Re: compress issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/compress-issue/m-p/1701522#M307518</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi ravi the problem is as such in code&lt;/P&gt;&lt;P&gt;in this code dfkkop-gpart is 10 char consumer no and selw1-dfkkzp is another 35 char variable and i want to compare these two fields at the time of select query as dfkkzp contains 5 lakhs entries and it will fetch all the entries at the run time and i dont want to use function module into this.&lt;/P&gt;&lt;P&gt;select opbel&lt;/P&gt;&lt;P&gt;             augst&lt;/P&gt;&lt;P&gt;             gpart&lt;/P&gt;&lt;P&gt;             vkont&lt;/P&gt;&lt;P&gt;             hvorg&lt;/P&gt;&lt;P&gt;             tvorg&lt;/P&gt;&lt;P&gt;             bldat&lt;/P&gt;&lt;P&gt;             budat&lt;/P&gt;&lt;P&gt;             faedn&lt;/P&gt;&lt;P&gt;             betrw&lt;/P&gt;&lt;P&gt;             blart&lt;/P&gt;&lt;P&gt;             xblnr&lt;/P&gt;&lt;P&gt;        into table int_dfkkop&lt;/P&gt;&lt;P&gt;        from dfkkop&lt;/P&gt;&lt;P&gt;        for all entries in int_erch&lt;/P&gt;&lt;P&gt;        where augst in ('9','')&lt;/P&gt;&lt;P&gt;        and gpart = int_erch-gpartner&lt;/P&gt;&lt;P&gt;        and bukrs = '0002'.&lt;/P&gt;&lt;P&gt;        sort int_dfkkop by gpart opbel.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select keyz1&lt;/P&gt;&lt;P&gt;          posza&lt;/P&gt;&lt;P&gt;          selw1&lt;/P&gt;&lt;P&gt;          selw2&lt;/P&gt;&lt;P&gt;          selw3&lt;/P&gt;&lt;P&gt;          betrz&lt;/P&gt;&lt;P&gt;          bldat&lt;/P&gt;&lt;P&gt;      into table int_dfkkzp&lt;/P&gt;&lt;P&gt;      from dfkkzp.&lt;/P&gt;&lt;P&gt;      sort int_dfkkzp by selw1 selw2 selw3 bldat descending .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      delete int_dfkkzp where selw1 is initial .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      loop at int_dfkkzp.&lt;/P&gt;&lt;P&gt;      int_dfkkzp-gpart = int_dfkkzp-selw1.&lt;/P&gt;&lt;P&gt;      int_dfkkzp-vkont = int_dfkkzp-selw2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT'&lt;/P&gt;&lt;P&gt;        EXPORTING&lt;/P&gt;&lt;P&gt;          INPUT        = int_dfkkzp-gpart&lt;/P&gt;&lt;P&gt;       IMPORTING&lt;/P&gt;&lt;P&gt;         OUTPUT        = int_dfkkzp-gpart .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT'&lt;/P&gt;&lt;P&gt;         EXPORTING&lt;/P&gt;&lt;P&gt;           INPUT        = int_dfkkzp-vkont&lt;/P&gt;&lt;P&gt;        IMPORTING&lt;/P&gt;&lt;P&gt;         OUTPUT         = int_dfkkzp-vkont .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;         modify int_dfkkzp.&lt;/P&gt;&lt;P&gt;      endloop.&lt;/P&gt;&lt;P&gt;         sort int_dfkkzp by gpart vkont .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Oct 2006 11:24:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/compress-issue/m-p/1701522#M307518</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-24T11:24:24Z</dc:date>
    </item>
    <item>
      <title>Re: compress issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/compress-issue/m-p/1701523#M307519</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;gaurav,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;off the rules &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;declare in ur itab like this &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: begin of itab occurs 0,&lt;/P&gt;&lt;P&gt;      f1(35)  &lt;/P&gt;&lt;P&gt;      --- &lt;/P&gt;&lt;P&gt;      ---&lt;/P&gt;&lt;P&gt;      fx(10)  &lt;/P&gt;&lt;P&gt;      end of itab .  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;im sure u want to use this in for all entries may be my guess.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at itab.&lt;/P&gt;&lt;P&gt;itab-fx = itab-f1.&lt;/P&gt;&lt;P&gt;modify itab index sy-tabix. &lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now ur 35 length is compressed to 10 chars .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;with this u can go ..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select '''''''&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for all entries &lt;/P&gt;&lt;P&gt;where  -&lt;/P&gt;&lt;HR originaltext="------" /&gt;&lt;P&gt; = itab-fx.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;itab-fx is a 10 char field ..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;vijay&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Vijay&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Oct 2006 11:56:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/compress-issue/m-p/1701523#M307519</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-24T11:56:19Z</dc:date>
    </item>
  </channel>
</rss>

