<?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: DUPLICATE PROCESS in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/duplicate-process/m-p/1672765#M297148</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Lei Xiang,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Add one more field in IT_1 which is use ful to delte the unwanted records from this table after the loop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IT_1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;F1 F2 F3   F4&lt;/P&gt;&lt;P&gt;AA 10 QWE&lt;/P&gt;&lt;P&gt;AA 11 SSD&lt;/P&gt;&lt;P&gt;AA 10 ZXC&lt;/P&gt;&lt;P&gt;AA 10 SDF&lt;/P&gt;&lt;P&gt;BB 33 FGH&lt;/P&gt;&lt;P&gt;BB 33 TYU&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   sort it_1 by field1 field2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: W_FLAG(1). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at it_1.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;This flag is use ful to keep only the required entries(last entries in table)&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;W_FLAG = 'X'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT END OF IT_1&lt;/P&gt;&lt;P&gt;Clear w_flag.&lt;/P&gt;&lt;P&gt;endat.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If w_flag = 'X'.&lt;/P&gt;&lt;P&gt;Move correspondingfields of it_1 to it_2.&lt;/P&gt;&lt;P&gt;append it_2.&lt;/P&gt;&lt;P&gt;clear it_2.&lt;/P&gt;&lt;P&gt;it_1-F4 = 'X'.&lt;/P&gt;&lt;P&gt;modify it_1 transporting F4.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;delete it_1 where F4 = 'X'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If it is helpful to u do reqard the points.&lt;/P&gt;&lt;P&gt;Reagrds,&lt;/P&gt;&lt;P&gt;Kiran I&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 09 Nov 2006 09:33:33 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-11-09T09:33:33Z</dc:date>
    <item>
      <title>DUPLICATE PROCESS</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/duplicate-process/m-p/1672760#M297143</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,All.&lt;/P&gt;&lt;P&gt;I am so sorry that!I asked a question yesterday,but no one completely solved it. still sth wrong with it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That is:&lt;/P&gt;&lt;P&gt;there are some records in a IT, if they have  the same KEY feilds F1 F2, we call them the same records,that is they are duplicate records.&lt;/P&gt;&lt;P&gt;Now I want to remove the duplicate records into another IT_2 except the last duplicate record,and set the status of the dupliate records 'X' in the IT_2.&lt;/P&gt;&lt;P&gt;How to do it.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Nov 2006 08:07:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/duplicate-process/m-p/1672760#M297143</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-09T08:07:16Z</dc:date>
    </item>
    <item>
      <title>Re: DUPLICATE PROCESS</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/duplicate-process/m-p/1672761#M297144</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Such as:&lt;/P&gt;&lt;P&gt;IT_1&lt;/P&gt;&lt;P&gt;AA   10   QWE&lt;/P&gt;&lt;P&gt;AA   11   SSD&lt;/P&gt;&lt;P&gt;AA   10   ZXC&lt;/P&gt;&lt;P&gt;AA   10   SDF&lt;/P&gt;&lt;P&gt;BB   33   FGH&lt;/P&gt;&lt;P&gt;BB   33   TYU&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;after the process, i want to let the records in 2 diffrence IT&lt;/P&gt;&lt;P&gt;one is the original IT_1, it contains:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AA   10   SDF&lt;/P&gt;&lt;P&gt;AA   11   SSD&lt;/P&gt;&lt;P&gt;BB   33   TYU&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and another IT_2 it contanis:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AA   10   QWE       X&lt;/P&gt;&lt;P&gt;AA   10   ZXC        X&lt;/P&gt;&lt;P&gt;BB   33   FGH        X&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: lei xiang&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Nov 2006 08:11:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/duplicate-process/m-p/1672761#M297144</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-09T08:11:57Z</dc:date>
    </item>
    <item>
      <title>Re: DUPLICATE PROCESS</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/duplicate-process/m-p/1672762#M297145</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;sort it by f1 f2 stable.&lt;/P&gt;&lt;P&gt;Loop at it.&lt;/P&gt;&lt;P&gt;at end of f2.&lt;/P&gt;&lt;P&gt; continue.&lt;/P&gt;&lt;P&gt;endat.&lt;/P&gt;&lt;P&gt;it_2 = it.&lt;/P&gt;&lt;P&gt;it_2-status = 'X'.&lt;/P&gt;&lt;P&gt;append it_2.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Tomasz Kozerski&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Nov 2006 08:12:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/duplicate-process/m-p/1672762#M297145</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-09T08:12:48Z</dc:date>
    </item>
    <item>
      <title>Re: DUPLICATE PROCESS</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/duplicate-process/m-p/1672763#M297146</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;sort it_1 by f1 f2 (stable).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at it_1.&lt;/P&gt;&lt;P&gt;it_2 = it_1.&lt;/P&gt;&lt;P&gt;  at new f1.&lt;/P&gt;&lt;P&gt;   append it_2.&lt;/P&gt;&lt;P&gt;  endat.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DELETE ADJACENT DUPLICATES FROM it_1 comparing f1 f2.&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;Ramesh.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Nov 2006 08:33:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/duplicate-process/m-p/1672763#M297146</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-09T08:33:23Z</dc:date>
    </item>
    <item>
      <title>Re: DUPLICATE PROCESS</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/duplicate-process/m-p/1672764#M297147</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;earlier one which i posted is wrong xiang...soory..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this is correct one..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at it_1.&lt;/P&gt;&lt;P&gt;at new f1.&lt;/P&gt;&lt;P&gt;continue.&lt;/P&gt;&lt;P&gt;endat.&lt;/P&gt;&lt;P&gt;it_2 = it_1.&lt;/P&gt;&lt;P&gt;append it_2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DELETE ADJACENT DUPLICATES FROM it_1 comparing f1 f2.&lt;/P&gt;&lt;P&gt;&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;Ramesh.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Nov 2006 08:43:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/duplicate-process/m-p/1672764#M297147</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-09T08:43:43Z</dc:date>
    </item>
    <item>
      <title>Re: DUPLICATE PROCESS</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/duplicate-process/m-p/1672765#M297148</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Lei Xiang,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Add one more field in IT_1 which is use ful to delte the unwanted records from this table after the loop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IT_1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;F1 F2 F3   F4&lt;/P&gt;&lt;P&gt;AA 10 QWE&lt;/P&gt;&lt;P&gt;AA 11 SSD&lt;/P&gt;&lt;P&gt;AA 10 ZXC&lt;/P&gt;&lt;P&gt;AA 10 SDF&lt;/P&gt;&lt;P&gt;BB 33 FGH&lt;/P&gt;&lt;P&gt;BB 33 TYU&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   sort it_1 by field1 field2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: W_FLAG(1). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at it_1.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;This flag is use ful to keep only the required entries(last entries in table)&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;W_FLAG = 'X'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT END OF IT_1&lt;/P&gt;&lt;P&gt;Clear w_flag.&lt;/P&gt;&lt;P&gt;endat.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If w_flag = 'X'.&lt;/P&gt;&lt;P&gt;Move correspondingfields of it_1 to it_2.&lt;/P&gt;&lt;P&gt;append it_2.&lt;/P&gt;&lt;P&gt;clear it_2.&lt;/P&gt;&lt;P&gt;it_1-F4 = 'X'.&lt;/P&gt;&lt;P&gt;modify it_1 transporting F4.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;delete it_1 where F4 = 'X'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If it is helpful to u do reqard the points.&lt;/P&gt;&lt;P&gt;Reagrds,&lt;/P&gt;&lt;P&gt;Kiran I&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Nov 2006 09:33:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/duplicate-process/m-p/1672765#M297148</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-09T09:33:33Z</dc:date>
    </item>
    <item>
      <title>Re: DUPLICATE PROCESS</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/duplicate-process/m-p/1672766#M297149</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;YES&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Dec 2006 01:09:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/duplicate-process/m-p/1672766#M297149</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-08T01:09:04Z</dc:date>
    </item>
  </channel>
</rss>

