<?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: Re:regarding delete adjacent in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/re-regarding-delete-adjacent/m-p/2410317#M537563</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 didnt go through ur earlier thread !!!!!!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And this program is working perfectly !!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Wats ur doubt actually ???&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Before using Delete Adjacent duplicates.. we have to sort the table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;sai ramesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 05 Jul 2007 06:46:15 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-07-05T06:46:15Z</dc:date>
    <item>
      <title>Re:regarding delete adjacent</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/re-regarding-delete-adjacent/m-p/2410315#M537561</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi friends,&lt;/P&gt;&lt;P&gt;again with the same program.&lt;/P&gt;&lt;P&gt;everyone is telling me that the program is already sorted by col1.&lt;/P&gt;&lt;P&gt;but here key field is col2.&lt;/P&gt;&lt;P&gt;if u look at col2 up to sixth row all are sorted except seventh row .&lt;/P&gt;&lt;P&gt;but still it is taking it as correct one .&lt;/P&gt;&lt;P&gt;please clear my doubt.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA OFF TYPE I.&lt;/P&gt;&lt;P&gt;DATA: BEGIN OF LINE,&lt;/P&gt;&lt;P&gt;COL1 TYPE I,&lt;/P&gt;&lt;P&gt;COL2 TYPE C,&lt;/P&gt;&lt;P&gt;END OF LINE.&lt;/P&gt;&lt;P&gt;DATA ITAB LIKE STANDARD TABLE OF LINE&lt;/P&gt;&lt;P&gt;WITH NON-UNIQUE KEY COL2.&lt;/P&gt;&lt;P&gt;LINE-COL1 = 1. LINE-COL2 = 'A'. APPEND LINE TO ITAB.&lt;/P&gt;&lt;P&gt;LINE-COL1 = 1. LINE-COL2 = 'A'. APPEND LINE TO ITAB.&lt;/P&gt;&lt;P&gt;LINE-COL1 = 1. LINE-COL2 = 'B'. APPEND LINE TO ITAB.&lt;/P&gt;&lt;P&gt;LINE-COL1 = 2. LINE-COL2 = 'B'. APPEND LINE TO ITAB.&lt;/P&gt;&lt;P&gt;LINE-COL1 = 3. LINE-COL2 = 'B'. APPEND LINE TO ITAB.&lt;/P&gt;&lt;P&gt;LINE-COL1 = 4. LINE-COL2 = 'B'. APPEND LINE TO ITAB.&lt;/P&gt;&lt;P&gt;LINE-COL1 = 5. LINE-COL2 = 'A'. APPEND LINE TO ITAB.&lt;/P&gt;&lt;P&gt;OFF = 0. PERFORM LIST.&lt;/P&gt;&lt;P&gt;DELETE ADJACENT DUPLICATES FROM ITAB COMPARING ALL FIELDS.&lt;/P&gt;&lt;P&gt;OFF = 14. PERFORM LIST.&lt;/P&gt;&lt;P&gt;DELETE ADJACENT DUPLICATES FROM ITAB COMPARING COL1.&lt;/P&gt;&lt;P&gt;OFF = 28. PERFORM LIST.&lt;/P&gt;&lt;P&gt;DELETE ADJACENT DUPLICATES FROM ITAB.&lt;/P&gt;&lt;P&gt;OFF = 42. PERFORM LIST.&lt;/P&gt;&lt;P&gt;FORM LIST.&lt;/P&gt;&lt;P&gt;SKIP TO LINE 3.&lt;/P&gt;&lt;P&gt;LOOP AT ITAB INTO LINE.&lt;/P&gt;&lt;P&gt;WRITE: AT /OFF LINE-COL1, LINE-COL2.&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;ENDFORM.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jul 2007 06:24:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/re-regarding-delete-adjacent/m-p/2410315#M537561</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-05T06:24:15Z</dc:date>
    </item>
    <item>
      <title>Re: Re:regarding delete adjacent</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/re-regarding-delete-adjacent/m-p/2410316#M537562</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You need to sort the table on COL2.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jul 2007 06:42:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/re-regarding-delete-adjacent/m-p/2410316#M537562</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-05T06:42:40Z</dc:date>
    </item>
    <item>
      <title>Re: Re:regarding delete adjacent</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/re-regarding-delete-adjacent/m-p/2410317#M537563</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 didnt go through ur earlier thread !!!!!!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And this program is working perfectly !!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Wats ur doubt actually ???&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Before using Delete Adjacent duplicates.. we have to sort the table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;sai ramesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jul 2007 06:46:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/re-regarding-delete-adjacent/m-p/2410317#M537563</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-05T06:46:15Z</dc:date>
    </item>
    <item>
      <title>Re: Re:regarding delete adjacent</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/re-regarding-delete-adjacent/m-p/2410318#M537564</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;my doubt is &lt;/P&gt;&lt;P&gt;it is working properly eventhough without sorting.&lt;/P&gt;&lt;P&gt;but when we are using delete adjacent entries,&lt;/P&gt;&lt;P&gt;before using it we should first sort the table then after that we should go for it.&lt;/P&gt;&lt;P&gt;here without sorting it is giving correct output.&lt;/P&gt;&lt;P&gt;ONETHING HERE KEY IS &amp;lt;b&amp;gt;COL2&amp;lt;/b&amp;gt; NOT COL1.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jul 2007 07:06:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/re-regarding-delete-adjacent/m-p/2410318#M537564</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-05T07:06:11Z</dc:date>
    </item>
    <item>
      <title>Re: Re:regarding delete adjacent</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/re-regarding-delete-adjacent/m-p/2410319#M537565</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;the values you are appending is already in sorted order. So if u want to see the difference append the values as below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LINE-COL1 = 1. LINE-COL2 = 'A'. APPEND LINE TO ITAB.&lt;/P&gt;&lt;P&gt;LINE-COL1 = 1. LINE-COL2 = 'A'. APPEND LINE TO ITAB.&lt;/P&gt;&lt;P&gt;LINE-COL1 = 5. LINE-COL2 = 'A'. APPEND LINE TO ITAB.&lt;/P&gt;&lt;P&gt;LINE-COL1 = 1. LINE-COL2 = 'B'. APPEND LINE TO ITAB.&lt;/P&gt;&lt;P&gt;LINE-COL1 = 3. LINE-COL2 = 'B'. APPEND LINE TO ITAB.&lt;/P&gt;&lt;P&gt;LINE-COL1 = 2. LINE-COL2 = 'B'. APPEND LINE TO ITAB.&lt;/P&gt;&lt;P&gt;LINE-COL1 = 4. LINE-COL2 = 'B'. APPEND LINE TO ITAB.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jul 2007 07:12:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/re-regarding-delete-adjacent/m-p/2410319#M537565</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-05T07:12:29Z</dc:date>
    </item>
  </channel>
</rss>

