<?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: Identify the Duplicate record in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/identify-the-duplicate-record/m-p/6469062#M1416930</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rohit&lt;/P&gt;&lt;P&gt;This dump maybe because of either of the two reasons.&lt;/P&gt;&lt;P&gt;1) The table to which the records are being inserted, already has the record you are inserting.&lt;/P&gt;&lt;P&gt;2) The records which you are inserting has some record repeated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If it is the first case then you will have to have a code which checks wether the record already exists in the table or not. If this record is in the table then drop that and insert the others.&lt;/P&gt;&lt;P&gt;If it is the second scenario, then make use of &lt;STRONG&gt;DELETE ADJECENT DUPLICATE&lt;/STRONG&gt; on the sorted internal table before the insert statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Gaurav&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 07 Jan 2010 11:21:01 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-01-07T11:21:01Z</dc:date>
    <item>
      <title>Identify the Duplicate record</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/identify-the-duplicate-record/m-p/6469059#M1416927</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Guys,&lt;/P&gt;&lt;P&gt;             I'm receiveing a short dump: SAPSQL_ARRAY_INSERT_DUPREC on INSERT operation on a table.&lt;/P&gt;&lt;P&gt;I want to know which record is causing the dump. &lt;/P&gt;&lt;P&gt;Is there a transaction where i can retrieve the contents of internal table which caused the dump?&lt;/P&gt;&lt;P&gt;I could not find it in ST22.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help!&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rohit.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Jan 2010 11:03:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/identify-the-duplicate-record/m-p/6469059#M1416927</guid>
      <dc:creator>rohit_trivedi</dc:creator>
      <dc:date>2010-01-07T11:03:31Z</dc:date>
    </item>
    <item>
      <title>Re: Identify the Duplicate record</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/identify-the-duplicate-record/m-p/6469060#M1416928</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I dont think there are many options available other than debugging and comparing the internal table data with that of the DB table to find the duplicate. Else you could write a small logic before the update statement to identify the duplicate records and delete them in the internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Vikranth&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Jan 2010 11:08:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/identify-the-duplicate-record/m-p/6469060#M1416928</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-01-07T11:08:12Z</dc:date>
    </item>
    <item>
      <title>Re: Identify the Duplicate record</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/identify-the-duplicate-record/m-p/6469061#M1416929</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;Put a break point at the place of INSERT statement in your program.You will be able to debug the program and can find which record is causing the dump. Else,on the dump screen you will be having a button Debugger .Press that button and it will take you to the statement which is causing the dump.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Instead of doing all these put a statement DELETE ADJACENT DUPLICATES Before insert statement&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Lakshman.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Jan 2010 11:08:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/identify-the-duplicate-record/m-p/6469061#M1416929</guid>
      <dc:creator>former_member209217</dc:creator>
      <dc:date>2010-01-07T11:08:48Z</dc:date>
    </item>
    <item>
      <title>Re: Identify the Duplicate record</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/identify-the-duplicate-record/m-p/6469062#M1416930</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rohit&lt;/P&gt;&lt;P&gt;This dump maybe because of either of the two reasons.&lt;/P&gt;&lt;P&gt;1) The table to which the records are being inserted, already has the record you are inserting.&lt;/P&gt;&lt;P&gt;2) The records which you are inserting has some record repeated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If it is the first case then you will have to have a code which checks wether the record already exists in the table or not. If this record is in the table then drop that and insert the others.&lt;/P&gt;&lt;P&gt;If it is the second scenario, then make use of &lt;STRONG&gt;DELETE ADJECENT DUPLICATE&lt;/STRONG&gt; on the sorted internal table before the insert statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Gaurav&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Jan 2010 11:21:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/identify-the-duplicate-record/m-p/6469062#M1416930</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-01-07T11:21:01Z</dc:date>
    </item>
    <item>
      <title>Re: Identify the Duplicate record</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/identify-the-duplicate-record/m-p/6469063#M1416931</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;Try using transaction code: SM13.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps you,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Abhijit G. Borkar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Jan 2010 11:42:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/identify-the-duplicate-record/m-p/6469063#M1416931</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-01-07T11:42:19Z</dc:date>
    </item>
    <item>
      <title>Re: Identify the Duplicate record</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/identify-the-duplicate-record/m-p/6469064#M1416932</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use modify command ... it updates the duplicate record and inserts the new record.&lt;/P&gt;&lt;P&gt;see the f1 help of modify statement&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Jan 2010 11:46:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/identify-the-duplicate-record/m-p/6469064#M1416932</guid>
      <dc:creator>kesavadas_thekkillath</dc:creator>
      <dc:date>2010-01-07T11:46:29Z</dc:date>
    </item>
  </channel>
</rss>

