<?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: restrict duplicate entry in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/restrict-duplicate-entry/m-p/3645380#M877858</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Naveen&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You have to evaluate at &lt;STRONG&gt;PAI&lt;/STRONG&gt; (i.e. after having entered possible duplicated entries) whether your itab contains duplicates or not.&lt;/P&gt;&lt;P&gt;You see the same behaviour with maintenance views. You can always enter duplicated entries but if you push ENTER or the SAVE button the system throws an error due to the duplicated entries.&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;  Uwe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 12 Apr 2008 09:19:40 GMT</pubDate>
    <dc:creator>uwe_schieferstein</dc:creator>
    <dc:date>2008-04-12T09:19:40Z</dc:date>
    <item>
      <title>restrict duplicate entry</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/restrict-duplicate-entry/m-p/3645378#M877856</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;how to restrict duplicate entries to be entered in a table control...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanx,&lt;/P&gt;&lt;P&gt;naveen vishal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 12 Apr 2008 08:26:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/restrict-duplicate-entry/m-p/3645378#M877856</guid>
      <dc:creator>naveenvishal</dc:creator>
      <dc:date>2008-04-12T08:26:50Z</dc:date>
    </item>
    <item>
      <title>Re: restrict duplicate entry</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/restrict-duplicate-entry/m-p/3645379#M877857</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 ur PAI table control loop, write another module.&lt;/P&gt;&lt;P&gt;in tht u can declare one temporary int table and copy the original int table to the temp table.&lt;/P&gt;&lt;P&gt;then sort this new internal table and delete adjacent duplicates comparing your key fields.&lt;/P&gt;&lt;P&gt;if sy-subrc = 0.&lt;/P&gt;&lt;P&gt;give some error msg.&lt;/P&gt;&lt;P&gt;else.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;do nothing..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this helps...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;naveen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 12 Apr 2008 09:17:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/restrict-duplicate-entry/m-p/3645379#M877857</guid>
      <dc:creator>naveen1241</dc:creator>
      <dc:date>2008-04-12T09:17:37Z</dc:date>
    </item>
    <item>
      <title>Re: restrict duplicate entry</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/restrict-duplicate-entry/m-p/3645380#M877858</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Naveen&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You have to evaluate at &lt;STRONG&gt;PAI&lt;/STRONG&gt; (i.e. after having entered possible duplicated entries) whether your itab contains duplicates or not.&lt;/P&gt;&lt;P&gt;You see the same behaviour with maintenance views. You can always enter duplicated entries but if you push ENTER or the SAVE button the system throws an error due to the duplicated entries.&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;  Uwe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 12 Apr 2008 09:19:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/restrict-duplicate-entry/m-p/3645380#M877858</guid>
      <dc:creator>uwe_schieferstein</dc:creator>
      <dc:date>2008-04-12T09:19:40Z</dc:date>
    </item>
    <item>
      <title>Re: restrict duplicate entry</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/restrict-duplicate-entry/m-p/3645381#M877859</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;well, the solution to it is like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;a pointer needs to move from 1st row of table control till the current row, for each table control read.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;that is, reading the rows only above it, not below ones. That will throw error at appropriate place.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanx for msg postings..&lt;/P&gt;&lt;P&gt;Naveen Vishal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Jul 2008 07:14:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/restrict-duplicate-entry/m-p/3645381#M877859</guid>
      <dc:creator>naveenvishal</dc:creator>
      <dc:date>2008-07-04T07:14:07Z</dc:date>
    </item>
  </channel>
</rss>

