<?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 entries in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/duplicate-entries/m-p/3455951#M830317</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;after the query..sort the table with belnr then,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sort it_bsis by belnr,&lt;/P&gt;&lt;P&gt;delete adjacent duplicates from it_bsis comparing belnr.&lt;/P&gt;&lt;P&gt;hope it helps,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;pls reward if helps,&lt;/P&gt;&lt;P&gt;regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 18 Feb 2008 06:40:10 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-02-18T06:40:10Z</dc:date>
    <item>
      <title>duplicate entries</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/duplicate-entries/m-p/3455947#M830313</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;my select command is fetching duplicate entries..however in the database there are no such entries..tell me wat is the reason for this..m sending u the code of my select commands.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT A&lt;SUB&gt;BELNR A&lt;/SUB&gt;DMBTR A&lt;SUB&gt;BUDAT A&lt;/SUB&gt;XBLNR A&lt;SUB&gt;SGTXT A&lt;/SUB&gt;SHKZG A&lt;SUB&gt;BLART A&lt;/SUB&gt;HKONT A&lt;SUB&gt;ZUONR B&lt;/SUB&gt;STBLG A~BLART INTO CORRESPONDING FIELDS OF TABLE  IT_BSIS&lt;/P&gt;&lt;P&gt;                                           FROM BKPF AS B INNER JOIN BSIS AS A ON ( A&lt;SUB&gt;BELNR = B&lt;/SUB&gt;BELNR )&lt;/P&gt;&lt;P&gt;                                                             WHERE A&lt;SUB&gt;BUKRS = BUKRS AND A&lt;/SUB&gt;BUDAT IN POSTDAT&lt;/P&gt;&lt;P&gt;                                                               AND  A&lt;SUB&gt;BLART = 'DG'  AND A&lt;/SUB&gt;GJAHR = YEAR&lt;/P&gt;&lt;P&gt;                                                               AND B~STBLG = ' ' AND ZUONR IN CUST&lt;/P&gt;&lt;P&gt;                                                              AND ( A~HKONT  BETWEEN '0000235001' AND  '0000235050'&lt;/P&gt;&lt;P&gt;                                                              OR A~HKONT BETWEEN '0000235101' AND '0000235201' )..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;                                                              CLEAR IT_BSIS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT A&lt;SUB&gt;BELNR A&lt;/SUB&gt;DMBTR A&lt;SUB&gt;BUDAT A&lt;/SUB&gt;XBLNR A&lt;SUB&gt;SGTXT A&lt;/SUB&gt;SHKZG A&lt;SUB&gt;BLART A&lt;/SUB&gt;HKONT A&lt;SUB&gt;ZUONR B&lt;/SUB&gt;STBLG A~BLART INTO CORRESPONDING FIELDS OF   IT_BSIS&lt;/P&gt;&lt;P&gt;                                           FROM BSAS AS A INNER JOIN BKPF AS B ON ( A&lt;SUB&gt;BELNR = B&lt;/SUB&gt;BELNR )&lt;/P&gt;&lt;P&gt;                                                             WHERE A&lt;SUB&gt;BUKRS = BUKRS AND A&lt;/SUB&gt;BUDAT IN POSTDAT&lt;/P&gt;&lt;P&gt;                                                               AND  A&lt;SUB&gt;BLART = 'DG'  AND A&lt;/SUB&gt;GJAHR = YEAR&lt;/P&gt;&lt;P&gt;                                                               AND B~STBLG = SPACE AND ZUONR IN CUST&lt;/P&gt;&lt;P&gt;                                                              AND ( A~HKONT  BETWEEN '0000235001' AND  '0000235050'&lt;/P&gt;&lt;P&gt;                                                              OR A~HKONT BETWEEN '0000235101' AND '0000235201' )..&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;&lt;/P&gt;&lt;P&gt;                                                           APPEND IT_BSIS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;                                                           CLEAR IT_BSIS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;                                                           ENDSELECT..&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;raman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Feb 2008 06:25:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/duplicate-entries/m-p/3455947#M830313</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-18T06:25:21Z</dc:date>
    </item>
    <item>
      <title>Re: duplicate entries</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/duplicate-entries/m-p/3455948#M830314</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;Since you are using the Joins, because of this the system checks the all the tables which are there joins and adds the fields which are having multiple entries to the itab&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;check the record which is having multiple entries and validate in all the tabels used by joins&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;delete which are not required&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Shiva&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Feb 2008 06:35:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/duplicate-entries/m-p/3455948#M830314</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-18T06:35:30Z</dc:date>
    </item>
    <item>
      <title>Re: duplicate entries</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/duplicate-entries/m-p/3455949#M830315</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;After fetching the data,use DELETE ADJACENT DUPLICATES&lt;/P&gt;&lt;P&gt;statement.&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ravindra&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Feb 2008 06:36:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/duplicate-entries/m-p/3455949#M830315</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-18T06:36:11Z</dc:date>
    </item>
    <item>
      <title>Re: duplicate entries</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/duplicate-entries/m-p/3455950#M830316</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just check..the second query will append the records after the first fetch...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Split ur query and process it...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Feb 2008 06:38:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/duplicate-entries/m-p/3455950#M830316</guid>
      <dc:creator>kesavadas_thekkillath</dc:creator>
      <dc:date>2008-02-18T06:38:27Z</dc:date>
    </item>
    <item>
      <title>Re: duplicate entries</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/duplicate-entries/m-p/3455951#M830317</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;after the query..sort the table with belnr then,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sort it_bsis by belnr,&lt;/P&gt;&lt;P&gt;delete adjacent duplicates from it_bsis comparing belnr.&lt;/P&gt;&lt;P&gt;hope it helps,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;pls reward if helps,&lt;/P&gt;&lt;P&gt;regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Feb 2008 06:40:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/duplicate-entries/m-p/3455951#M830317</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-18T06:40:10Z</dc:date>
    </item>
  </channel>
</rss>

