<?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: Fields disabled when error message (MESSAGE EXXX) encountered in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/fields-disabled-when-error-message-message-exxx-encountered/m-p/3488319#M838740</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You have to use &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CHAIN&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;......&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;END CHAIN&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;statements. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 13 Mar 2008 15:39:06 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-03-13T15:39:06Z</dc:date>
    <item>
      <title>Fields disabled when error message (MESSAGE EXXX) encountered</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fields-disabled-when-error-message-message-exxx-encountered/m-p/3488316#M838737</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a screen with 2 tabs (TAB1, TAB2) created using the tabstrip wizard (with &lt;EM&gt;Scrolling in the Application Server&lt;/EM&gt; radio button selected).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On TAB1, I have 2 fields FIELD1_1 and FIELD1_2.&lt;/P&gt;&lt;P&gt;I want to perform validation on FIELD1_1 so that when errors are encountered, an error message (e.g. E001) will be displayed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, when an error message is encountered, all the fields on TAB1 will be disabled. How do I change my codes below so that:&lt;/P&gt;&lt;P&gt;(1) TAB1 will still be in focus, and&lt;/P&gt;&lt;P&gt;(2) the fields in TAB1 will still be enabled?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;===========================================&lt;/P&gt;&lt;P&gt;My codes:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;U&gt;&lt;STRONG&gt;MAIN SCREEN (9000) Flow Logic&lt;/STRONG&gt;&lt;/U&gt;&lt;/P&gt;&lt;P&gt;PROCESS BEFORE OUTPUT.&lt;/P&gt;&lt;P&gt;*&amp;amp;SPWIZARD: PBO FLOW LOGIC&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;  MODULE PBO_9000.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PROCESS AFTER INPUT.&lt;/P&gt;&lt;P&gt;*&amp;amp;SPWIZARD: PAI FLOW LOGIC &lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;  MODULE VALIDATE_FIELDS.&lt;/P&gt;&lt;P&gt;  MODULE USER_COMMAND_9000.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;U&gt;&lt;STRONG&gt;Main Program Codes&lt;/STRONG&gt;&lt;/U&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;MODULE VALIDATE_FIELDS INPUT.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;  PERFORM VALIDATE_LOAD_ID.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;ENDMODULE.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;FORM VALIDATE_LOAD_ID.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;  DATA: CHECK_LOAD_ID TYPE I. "0 = DON'T EXIST, 1 = EXIST&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  SELECT COUNT(*) INTO CHECK_LOAD_ID FROM ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  IF CHECK_LOAD_ID &amp;gt; 0.&lt;/P&gt;&lt;P&gt;    MESSAGE E103(ZSCSDM_DMT) WITH 'LOAD ID'.&lt;/P&gt;&lt;P&gt;    PERFORM ENABLE_SCREEN. &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;"I tried to call this subroutine to enable the fields, but this subroutine is never called once the previous MESSAGE statement is hit.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;    SET CURSOR FIELD 'ZKKA301-LOAD_ID'.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;ENDFORM.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Kian Keong on Mar 13, 2008 11:30 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Mar 2008 15:29:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fields-disabled-when-error-message-message-exxx-encountered/m-p/3488316#M838737</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-13T15:29:57Z</dc:date>
    </item>
    <item>
      <title>Re: Fields disabled when error message (MESSAGE EXXX) encountered</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fields-disabled-when-error-message-message-exxx-encountered/m-p/3488317#M838738</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use the FIELD command in the flow logic if you want to perform validation on a single field.  If you have many fields look up the CHAIN, ENDCHAIN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
PROCESS AFTER INPUT.
 field: field1_1 module validate_fields.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Mar 2008 15:35:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fields-disabled-when-error-message-message-exxx-encountered/m-p/3488317#M838738</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-13T15:35:18Z</dc:date>
    </item>
    <item>
      <title>Re: Fields disabled when error message (MESSAGE EXXX) encountered</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fields-disabled-when-error-message-message-exxx-encountered/m-p/3488318#M838739</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try to put these fields in chain .. endchain ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also .. put error message after enable_screen ... &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF CHECK_LOAD_ID &amp;gt; 0.&lt;/P&gt;&lt;P&gt;PERFORM ENABLE_SCREEN. &lt;/P&gt;&lt;P&gt;SET CURSOR FIELD 'ZKKA301-LOAD_ID'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MESSAGE E103(ZSCSDM_DMT) WITH 'LOAD ID'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;ENDFORM.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Mar 2008 15:35:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fields-disabled-when-error-message-message-exxx-encountered/m-p/3488318#M838739</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-13T15:35:23Z</dc:date>
    </item>
    <item>
      <title>Re: Fields disabled when error message (MESSAGE EXXX) encountered</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fields-disabled-when-error-message-message-exxx-encountered/m-p/3488319#M838740</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You have to use &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CHAIN&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;......&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;END CHAIN&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;statements. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Mar 2008 15:39:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fields-disabled-when-error-message-message-exxx-encountered/m-p/3488319#M838740</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-13T15:39:06Z</dc:date>
    </item>
  </channel>
</rss>

