<?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 Validation in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-validation/m-p/1879104#M369334</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;write the code on PAI of ur screen to popup a error message if some condition for a particular field of Table control fails as follows - &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PROCESS AFTER INPUT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; LOOP AT ITAB2.                "ITAB2 is the table for table control.&lt;/P&gt;&lt;P&gt;    module read_table_control.&lt;/P&gt;&lt;P&gt;  ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;module read_table_control input.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if itab1-pernr eq '00000022'.&lt;/P&gt;&lt;P&gt;    message w000(000) with 'Enter other value than 22'.    "this is error message&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;else.&lt;/P&gt;&lt;P&gt;    MODIFY itab2 FROM itab1 INDEX tabcontrl-current_line.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endmodule.                 " read_table_control  INPUT&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 08 Jan 2007 06:33:26 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-01-08T06:33:26Z</dc:date>
    <item>
      <title>Table control Validation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-validation/m-p/1879103#M369333</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have worked in CT04 transaction. In that if we specify the character type (Eg . Characetr Foramt) &amp;amp; enter the number of characetrs as 3 means in value tab it wont allow as to enter value greater than 3. It wont show any error message but it restrict the cursor(the cursor wont move at all) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to do this kind of validation in my table control.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I debugged the program also But not able to get it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Main program is SAPLCTMV and screen number is 1200.&lt;/P&gt;&lt;P&gt;The table control field is CAWN-ATWRT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can any one help me to solve this problem.&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Jan 2007 06:23:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-validation/m-p/1879103#M369333</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-08T06:23:59Z</dc:date>
    </item>
    <item>
      <title>Re: Table control Validation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-validation/m-p/1879104#M369334</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;write the code on PAI of ur screen to popup a error message if some condition for a particular field of Table control fails as follows - &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PROCESS AFTER INPUT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; LOOP AT ITAB2.                "ITAB2 is the table for table control.&lt;/P&gt;&lt;P&gt;    module read_table_control.&lt;/P&gt;&lt;P&gt;  ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;module read_table_control input.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if itab1-pernr eq '00000022'.&lt;/P&gt;&lt;P&gt;    message w000(000) with 'Enter other value than 22'.    "this is error message&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;else.&lt;/P&gt;&lt;P&gt;    MODIFY itab2 FROM itab1 INDEX tabcontrl-current_line.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endmodule.                 " read_table_control  INPUT&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Jan 2007 06:33:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-validation/m-p/1879104#M369334</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-08T06:33:26Z</dc:date>
    </item>
    <item>
      <title>Re: Table control Validation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-validation/m-p/1879105#M369335</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i know this, by getting the number of characters we can validate &amp;amp; rasie error message but i dont want to do tht.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to stop the cursor movement when it reaches the maximum number of character.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for example see CT04 transacton.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it possible for me to validate like tht if yes means tell me how it can be done.&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>Mon, 08 Jan 2007 06:54:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-validation/m-p/1879105#M369335</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-08T06:54:06Z</dc:date>
    </item>
  </channel>
</rss>

