<?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: Table Control Data Validation in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-data-validation/m-p/4020255#M960625</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi for data validation in table controll the second approach is generally followed..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The user will insert the value and then will hit Enter key...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In a module in PAI..u can validate then as&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if sy-ucomm eq 'ENTE'.&lt;/P&gt;&lt;P&gt;&amp;lt;give error message&amp;gt;&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so after hitting enter key validation will be done...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope the above helps..reward points if ans is useful...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 24 Jun 2008 10:06:18 GMT</pubDate>
    <dc:creator>former_member195383</dc:creator>
    <dc:date>2008-06-24T10:06:18Z</dc:date>
    <item>
      <title>Table Control Data Validation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-data-validation/m-p/4020253#M960623</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a table control (through internal table). The user can punch in his data in this table field. I want to validate the data as soon as user has moved from one of the columns (in the row). User can move from the column either by using the tab key or using his mouse. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Another vaidation approach that is not suitable to us is to let user fill in his details, collect eveything in the internal table and do the validation in one go. I am however interested in run time validation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Appreciate any help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jun 2008 10:01:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-data-validation/m-p/4020253#M960623</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-24T10:01:59Z</dc:date>
    </item>
    <item>
      <title>Re: Table Control Data Validation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-data-validation/m-p/4020254#M960624</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vaibhav,&lt;/P&gt;&lt;P&gt;Put condition in PAI event.. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or you can use Chain EndChain.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_46c/helpdata/en/9f/dbabbd35c111d1829f0000e829fbfe/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_46c/helpdata/en/9f/dbabbd35c111d1829f0000e829fbfe/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;amp;***********&lt;STRONG&gt;Reward Point if helpful&lt;/STRONG&gt;*************&amp;amp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jun 2008 10:04:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-data-validation/m-p/4020254#M960624</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-24T10:04:27Z</dc:date>
    </item>
    <item>
      <title>Re: Table Control Data Validation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-data-validation/m-p/4020255#M960625</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi for data validation in table controll the second approach is generally followed..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The user will insert the value and then will hit Enter key...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In a module in PAI..u can validate then as&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if sy-ucomm eq 'ENTE'.&lt;/P&gt;&lt;P&gt;&amp;lt;give error message&amp;gt;&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so after hitting enter key validation will be done...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope the above helps..reward points if ans is useful...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jun 2008 10:06:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-data-validation/m-p/4020255#M960625</guid>
      <dc:creator>former_member195383</dc:creator>
      <dc:date>2008-06-24T10:06:18Z</dc:date>
    </item>
    <item>
      <title>Re: Table Control Data Validation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-data-validation/m-p/4020256#M960626</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please see the sample code.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="---" /&gt;code in flow logic*****&lt;P&gt;&lt;/P&gt;&lt;P&gt;PROCESS AFTER INPUT.&lt;/P&gt;&lt;P&gt;  LOOP AT IT_PARTS.&lt;/P&gt;&lt;P&gt;    CHAIN.&lt;/P&gt;&lt;P&gt;      FIELD IT_PARTS-PARTNO.&lt;/P&gt;&lt;P&gt;      FIELD IT_PARTS-PART_DESC.&lt;/P&gt;&lt;P&gt;      FIELD IT_PARTS-ITEMNO.&lt;/P&gt;&lt;P&gt;      FIELD IT_PARTS-QUANTITY.&lt;/P&gt;&lt;P&gt;      FIELD IT_PARTS-UNIT.&lt;/P&gt;&lt;P&gt;      FIELD IT_PARTS-PLANT." MODULE plant_help.&lt;/P&gt;&lt;P&gt;      FIELD IT_PARTS-SLOC.&lt;/P&gt;&lt;P&gt;      FIELD IT_PARTS-BATCH.&lt;/P&gt;&lt;P&gt;      FIELD IT_PARTS-USAGE.&lt;/P&gt;&lt;P&gt;      FIELD IT_PARTS-ISSUEQTY.&lt;/P&gt;&lt;P&gt;      FIELD IT_PARTS-ISSUED_QTY.&lt;/P&gt;&lt;P&gt;      FIELD IT_PARTS-REVERSE_QTY.&lt;/P&gt;&lt;P&gt;    ENDCHAIN.&lt;/P&gt;&lt;P&gt;*&lt;STRONG&gt;This is where you canvalidate your field&lt;/STRONG&gt;***&lt;/P&gt;&lt;P&gt;    FIELD IT_PARTS-PARTNO MODULE validate_parts ON INPUT.&lt;/P&gt;&lt;P&gt;    MODULE INIT_TC.&lt;/P&gt;&lt;P&gt;  ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*----&lt;/P&gt;&lt;HR originaltext="----------" /&gt;&lt;P&gt;Code in Program *&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODULE validate_parts.&lt;/P&gt;&lt;P&gt;GET CURSOR LINE w_index.&lt;/P&gt;&lt;P&gt;&amp;lt;your logic for validation&amp;gt;&lt;/P&gt;&lt;P&gt;SET CURSOR FIELD &amp;lt;your intrnal table&amp;gt; LINE w_index. &lt;/P&gt;&lt;P&gt;end module.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rewards points if finds helpful&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;swarup&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jun 2008 10:19:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-data-validation/m-p/4020256#M960626</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-24T10:19:56Z</dc:date>
    </item>
    <item>
      <title>Re: Table Control Data Validation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-data-validation/m-p/4020257#M960627</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Swarup,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; can you tell me where you actually defined " w_index " . and how ??&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 05 May 2012 06:06:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-data-validation/m-p/4020257#M960627</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-05-05T06:06:40Z</dc:date>
    </item>
  </channel>
</rss>

