<?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: Check value in table control in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/check-value-in-table-control/m-p/7579805#M1566266</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;Write ur code in side condition when sy-ucomm is set for delete.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 01 Feb 2011 10:52:26 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2011-02-01T10:52:26Z</dc:date>
    <item>
      <title>Check value in table control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/check-value-in-table-control/m-p/7579804#M1566265</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt; Im new to table control and have some doubt about it. Hope everyone can provide some advise.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) In SM30, user may do deletion to the particular record..&lt;/P&gt;&lt;P&gt;   I would like to add in the validation check if this record is being used in some others table. If yes, error message will display and disallow for deletion for this records. (eg: XX is being used, cant do deletion)&lt;/P&gt;&lt;P&gt;   How can I Identify what record user perform  delete in SM30? I did add the w/selcolumn in my table control.&lt;/P&gt;&lt;P&gt;  (eg:  VIM_MARKED). I did debug the program and doesnt see any value assign to VIM_MARKED.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) Check duplicate data in SM30.&lt;/P&gt;&lt;P&gt;- When user perform update/ insert -&amp;gt; program will do the checking if these values are already exist either in this table database or in the table control screen. How do I do the coding to perform checking on this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Process After Input&lt;/P&gt;&lt;P&gt;Loop extract.&lt;/P&gt;&lt;P&gt;chain&lt;/P&gt;&lt;P&gt;field 1&lt;/P&gt;&lt;P&gt;field 2&lt;/P&gt;&lt;P&gt;Module f_validate_duplicate &amp;lt;- my code insert here&lt;/P&gt;&lt;P&gt;endchain&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 30 Jan 2011 07:53:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/check-value-in-table-control/m-p/7579804#M1566265</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-01-30T07:53:28Z</dc:date>
    </item>
    <item>
      <title>Re: Check value in table control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/check-value-in-table-control/m-p/7579805#M1566266</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;Write ur code in side condition when sy-ucomm is set for delete.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Feb 2011 10:52:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/check-value-in-table-control/m-p/7579805#M1566266</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-02-01T10:52:26Z</dc:date>
    </item>
  </channel>
</rss>

