<?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 error message in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-error-message/m-p/1846561#M359061</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Insert the call of that fm in the module for the validation:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;MODULE VALIDATION.
  CALL FUNCTION 'CTCV_VALUE_SYNTAX_CHECK'
    EXPORTING
      CHARACTERISTIC                    = &amp;lt;.....&amp;gt;
      STRING                            = &amp;lt;.....&amp;gt;
      ........................................... 
    TABLES
      TSTRG                             = ITAB
 EXCEPTIONS
   CHARACTERISTIC_NOT_PREPARED       = 1
   CURRENCY_CHECK                    = 2
   DATE_CHECK                        = 3
   FORMAT_CHECK                      = 4
   ILLEGAL_INTERNAL_BASEUNIT         = 5
   INTERVAL_CHECK                    = 6
   PATTERN_CHECK                     = 7
   TIME_CHECK                        = 8
   UNIT_CHECK                        = 9
   NO_VALID_DIMENSION                = 10
   INTERVAL_NOT_ALLOWED              = 11
   OTHERS                            = 12
            .
  IF SY-SUBRC &amp;lt;&amp;gt; 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
  ENDIF.

ENDMODULE.                    "VALIDATION&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Max&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 05 Jan 2007 11:14:26 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-01-05T11:14:26Z</dc:date>
    <item>
      <title>table control error message</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-error-message/m-p/1846557#M359057</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I m doing validation in table control. Validation is working fine.&lt;/P&gt;&lt;P&gt;If the error message is raised the table contrl goes to disable mode even if i press back button also its remaining in tha same screen with the error message.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My requirement is after entering value in table control it must be checked for validation and an error should be raised and then i have to enter correct value in table contrl.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;validation is over but it remains in disable mode itself.&lt;/P&gt;&lt;P&gt;Can any one suggest me how to resolve this problem.&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Jan 2007 10:53:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-error-message/m-p/1846557#M359057</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-05T10:53:45Z</dc:date>
    </item>
    <item>
      <title>Re: table control error message</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-error-message/m-p/1846558#M359058</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Validate the field inside &amp;lt;b&amp;gt;CHAIN .. ENDCHAIN.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;If the user enters the invalid value then that field alone will be open for input.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If useful rreward.&lt;/P&gt;&lt;P&gt;Vasanth&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Jan 2007 10:59:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-error-message/m-p/1846558#M359058</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-05T10:59:25Z</dc:date>
    </item>
    <item>
      <title>Re: table control error message</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-error-message/m-p/1846559#M359059</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;Use FIELD statament in PAI into LOOP/ENDLOOP&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;PROCESS PAI.
  LOOP AT ITAB.
     FIELD ITAB-FIELD MODULE VALIDATION.
  ENDLOOP.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In module VALIDATION insert your control and raise the message.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here only field ITAB-FIELD will be editable after raising the error message, if you need to enter values in several fields:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;PROCESS PAI.
  LOOP AT ITAB.
   CHAIN  
    FIELD: ITAB-FIELD,
           ITAB-FIELD2, 
           ITAB-FIELD3,
           ITAB-FIELD4.
    MODULE VALIDATION.
   ENDCHAIN.
  ENDLOOP.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Max&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Jan 2007 11:00:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-error-message/m-p/1846559#M359059</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-05T11:00:03Z</dc:date>
    </item>
    <item>
      <title>Re: table control error message</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-error-message/m-p/1846560#M359060</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I m using standard function module for validation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ctcv_value_syntax_check. and passing values to this FM and the error message is raised. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can i use chain .. endchain &amp;amp; field statement here&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Jan 2007 11:04:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-error-message/m-p/1846560#M359060</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-05T11:04:11Z</dc:date>
    </item>
    <item>
      <title>Re: table control error message</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-error-message/m-p/1846561#M359061</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Insert the call of that fm in the module for the validation:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;MODULE VALIDATION.
  CALL FUNCTION 'CTCV_VALUE_SYNTAX_CHECK'
    EXPORTING
      CHARACTERISTIC                    = &amp;lt;.....&amp;gt;
      STRING                            = &amp;lt;.....&amp;gt;
      ........................................... 
    TABLES
      TSTRG                             = ITAB
 EXCEPTIONS
   CHARACTERISTIC_NOT_PREPARED       = 1
   CURRENCY_CHECK                    = 2
   DATE_CHECK                        = 3
   FORMAT_CHECK                      = 4
   ILLEGAL_INTERNAL_BASEUNIT         = 5
   INTERVAL_CHECK                    = 6
   PATTERN_CHECK                     = 7
   TIME_CHECK                        = 8
   UNIT_CHECK                        = 9
   NO_VALID_DIMENSION                = 10
   INTERVAL_NOT_ALLOWED              = 11
   OTHERS                            = 12
            .
  IF SY-SUBRC &amp;lt;&amp;gt; 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
  ENDIF.

ENDMODULE.                    "VALIDATION&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Max&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Jan 2007 11:14:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-error-message/m-p/1846561#M359061</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-05T11:14:26Z</dc:date>
    </item>
  </channel>
</rss>

