<?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: Error message in table control in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-message-in-table-control/m-p/6512492#M1423711</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;where you wrote the code for that...&lt;/P&gt;&lt;P&gt;you have to check in &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;chain.&lt;/P&gt;&lt;P&gt;field &amp;lt;fieldname&amp;gt; module &amp;lt;modulename&amp;gt;&lt;/P&gt;&lt;P&gt;endchain.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: shilpi agarwal on Jan 12, 2010 12:29 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 12 Jan 2010 11:29:00 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-01-12T11:29:00Z</dc:date>
    <item>
      <title>Error message in table control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-message-in-table-control/m-p/6512490#M1423709</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;&lt;/P&gt;&lt;P&gt;I have created a table control in which i have attached a search help for the first field in the &lt;/P&gt;&lt;P&gt;table control. Now i want to put a validation such that if the user enters any value other than&lt;/P&gt;&lt;P&gt;that displayed in the search help, then it should fire a message saying wrong or invalid entry.&lt;/P&gt;&lt;P&gt;Like for example, if the first field contains material number and if the user enters any number&lt;/P&gt;&lt;P&gt;like 12345, the it should fire a message.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried to fire an error message saying 'This material does not exist'. But the problem is that&lt;/P&gt;&lt;P&gt;the entire screen gets disabled. I cannot enter anything in any of the fields. The entire screen&lt;/P&gt;&lt;P&gt;is disabled. None of the field is editable. then how will the user be able to reenter the &lt;/P&gt;&lt;P&gt;correct value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please suggest some solution as to how to carry this validation&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Jan 2010 11:21:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-message-in-table-control/m-p/6512490#M1423709</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-01-12T11:21:54Z</dc:date>
    </item>
    <item>
      <title>Re: Error message in table control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-message-in-table-control/m-p/6512491#M1423710</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 sholud use CHAIN ENDCHAIN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your validating must be inside these, like this:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
CHAIN.
      FIELD gs_ger_cont-matnr.
      MODULE check_matnr ON CHAIN-REQUEST.
    ENDCHAIN.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There you can set a error message and only fields inside CHAIN will be editable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Frisoni&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Jan 2010 11:28:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-message-in-table-control/m-p/6512491#M1423710</guid>
      <dc:creator>guilherme_frisoni</dc:creator>
      <dc:date>2010-01-12T11:28:38Z</dc:date>
    </item>
    <item>
      <title>Re: Error message in table control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-message-in-table-control/m-p/6512492#M1423711</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;where you wrote the code for that...&lt;/P&gt;&lt;P&gt;you have to check in &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;chain.&lt;/P&gt;&lt;P&gt;field &amp;lt;fieldname&amp;gt; module &amp;lt;modulename&amp;gt;&lt;/P&gt;&lt;P&gt;endchain.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: shilpi agarwal on Jan 12, 2010 12:29 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Jan 2010 11:29:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-message-in-table-control/m-p/6512492#M1423711</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-01-12T11:29:00Z</dc:date>
    </item>
    <item>
      <title>Re: Error message in table control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-message-in-table-control/m-p/6512493#M1423712</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks a lot Frisoni.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Jan 2010 12:39:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-message-in-table-control/m-p/6512493#M1423712</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-01-12T12:39:16Z</dc:date>
    </item>
    <item>
      <title>Re: Error message in table control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-message-in-table-control/m-p/6512494#M1423713</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;to avoid this you can either display the f4 help as list box, its possible to change in screen attributes.&lt;/P&gt;&lt;P&gt;or validate in PAI.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in PAI&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; LOOP AT it INTO wa. &lt;/P&gt;&lt;P&gt;      FIELD wa-matnr&lt;/P&gt;&lt;P&gt;      MODULE check.&lt;/P&gt;&lt;P&gt;      MODULE update.&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;here in module check you can validate it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Jan 2010 12:48:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-message-in-table-control/m-p/6512494#M1423713</guid>
      <dc:creator>kesavadas_thekkillath</dc:creator>
      <dc:date>2010-01-12T12:48:54Z</dc:date>
    </item>
  </channel>
</rss>

