<?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 regarding duplicate entries in table control in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-duplicate-entries-in-table-control/m-p/3901207#M936085</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;   i have created one table control in module pool. while entering values into the table control how can we validate the table control if we enter duplicate values.ie in the first line i entered 200 500 400&lt;/P&gt;&lt;P&gt;again inthe second line i &lt;/P&gt;&lt;P&gt;entered 200 500 400.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;validation should tabke place and error msg should be populated. pls help...&lt;/P&gt;&lt;P&gt;i have used the below code.&lt;/P&gt;&lt;P&gt;LOOP AT IT_TC2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    CHAIN.&lt;/P&gt;&lt;P&gt;      FIELD:ZTC_ATMP-BUKRS,&lt;/P&gt;&lt;P&gt;            ZTC_ATMP-LEGACCNO,&lt;/P&gt;&lt;P&gt;            ZTC_ATMP-ZZDESKCODE,&lt;/P&gt;&lt;P&gt;            ZTC_ATMP-SAKNR.&lt;/P&gt;&lt;P&gt;      MODULE READ_TABLE_CONTROL.&lt;/P&gt;&lt;P&gt;     MODULE check_duplicates ON CHAIN-REQUEST.&lt;/P&gt;&lt;P&gt;    ENDCHAIN.&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;but here module check_duplicates is not triggering why? any idea..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 03 Jun 2008 09:31:49 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-06-03T09:31:49Z</dc:date>
    <item>
      <title>regarding duplicate entries in table control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-duplicate-entries-in-table-control/m-p/3901207#M936085</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;   i have created one table control in module pool. while entering values into the table control how can we validate the table control if we enter duplicate values.ie in the first line i entered 200 500 400&lt;/P&gt;&lt;P&gt;again inthe second line i &lt;/P&gt;&lt;P&gt;entered 200 500 400.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;validation should tabke place and error msg should be populated. pls help...&lt;/P&gt;&lt;P&gt;i have used the below code.&lt;/P&gt;&lt;P&gt;LOOP AT IT_TC2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    CHAIN.&lt;/P&gt;&lt;P&gt;      FIELD:ZTC_ATMP-BUKRS,&lt;/P&gt;&lt;P&gt;            ZTC_ATMP-LEGACCNO,&lt;/P&gt;&lt;P&gt;            ZTC_ATMP-ZZDESKCODE,&lt;/P&gt;&lt;P&gt;            ZTC_ATMP-SAKNR.&lt;/P&gt;&lt;P&gt;      MODULE READ_TABLE_CONTROL.&lt;/P&gt;&lt;P&gt;     MODULE check_duplicates ON CHAIN-REQUEST.&lt;/P&gt;&lt;P&gt;    ENDCHAIN.&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;but here module check_duplicates is not triggering why? any idea..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Jun 2008 09:31:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-duplicate-entries-in-table-control/m-p/3901207#M936085</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-03T09:31:49Z</dc:date>
    </item>
    <item>
      <title>Re: regarding duplicate entries in table control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-duplicate-entries-in-table-control/m-p/3901208#M936086</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi there.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Two questions:&lt;/P&gt;&lt;P&gt;1 - is that code in PAI of table control screen?&lt;/P&gt;&lt;P&gt;2 - go to screen layout (graphical) and check in the lines of table control if the fields are really named ZTC_ATMP-BUKRS, etc ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards.&lt;/P&gt;&lt;P&gt;Valter Oliveira.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Jun 2008 09:41:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-duplicate-entries-in-table-control/m-p/3901208#M936086</guid>
      <dc:creator>valter_oliveira</dc:creator>
      <dc:date>2008-06-03T09:41:56Z</dc:date>
    </item>
    <item>
      <title>Re: regarding duplicate entries in table control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-duplicate-entries-in-table-control/m-p/3901209#M936087</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;you can try like this...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;************************************&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT IT_TC2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CHAIN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FIELD ZTC_ATMP-BUKRS module CHK1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FIELD ZTC_ATMP-LEGACCNO module CHK1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FIELD ZTC_ATMP-ZZDESKCODE module CHK1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FIELD ZTC_ATMP-SAKNR module CHK1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODULE READ_TABLE_CONTROL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDCHAIN.&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;&lt;/P&gt;&lt;P&gt;Now write the validations for the corresopnding Fields in there Respective Modules.... for example Validation for  ZTC_ATMP-BUKRS  filed in module CHK1 and so on..&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;Reward if helpful.&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;Syed&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Jun 2008 10:35:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-duplicate-entries-in-table-control/m-p/3901209#M936087</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-03T10:35:41Z</dc:date>
    </item>
    <item>
      <title>Re: regarding duplicate entries in table control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-duplicate-entries-in-table-control/m-p/3901210#M936088</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank You&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Jun 2008 16:55:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-duplicate-entries-in-table-control/m-p/3901210#M936088</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-10T16:55:51Z</dc:date>
    </item>
  </channel>
</rss>

