<?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: validations on fields in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/validations-on-fields/m-p/9946901#M1798079</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Edamana for the reply but i only want error fields should be in editable others in&amp;nbsp; non editable mode.as we can't judge in which fields we got error before to put the fields in chain-endchain i think now you understand my requirement.plz provide solution&amp;nbsp; for this .&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Thankyou,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 19 Dec 2013 03:54:33 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2013-12-19T03:54:33Z</dc:date>
    <item>
      <title>validations on fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/validations-on-fields/m-p/9946894#M1798072</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 12px;"&gt;Hi&amp;nbsp; Experts,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 12px;"&gt;If i use chain endchain all the fields which i put Under chain-endchain are in enable mode.&amp;nbsp; if i use FIELD---MODULE it validates first field and shows error .after correcting it it goes for second error field . If i want all the error fields only in editable(i.e AT A TIME) .and remaing fields in&amp;nbsp; noneditable MODE.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Dec 2013 09:28:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/validations-on-fields/m-p/9946894#M1798072</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-12-18T09:28:21Z</dc:date>
    </item>
    <item>
      <title>Re: validations on fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/validations-on-fields/m-p/9946895#M1798073</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi rajendra ,&lt;/P&gt;&lt;P&gt;write the error using message . &lt;/P&gt;&lt;P&gt;write as &lt;/P&gt;&lt;P&gt;MESSAGE ' error' type 'E'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;siva&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Dec 2013 09:33:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/validations-on-fields/m-p/9946895#M1798073</guid>
      <dc:creator>sivaganesh_krishnan</dc:creator>
      <dc:date>2013-12-18T09:33:17Z</dc:date>
    </item>
    <item>
      <title>Re: validations on fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/validations-on-fields/m-p/9946896#M1798074</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rajendra,&lt;/P&gt;&lt;P&gt;please clarify your questions, and tell me what is your requirement exactly ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Dec 2013 09:34:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/validations-on-fields/m-p/9946896#M1798074</guid>
      <dc:creator>former_member187748</dc:creator>
      <dc:date>2013-12-18T09:34:16Z</dc:date>
    </item>
    <item>
      <title>Re: validations on fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/validations-on-fields/m-p/9946897#M1798075</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rajendra,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;let me clarify you the functioning of error messages in ABAP. at any point you are trying to populate an error message, the system stops the execution and throws te error to UI.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in your requirement it works like, if there are 2 errors in your values, at 1st error point the system stops execution and throws it. after correcting it it goes to 2nd one.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to know what you are expecting from the screen in case of 2 errors.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Remember one error is nothing but an error message. &lt;SPAN __jive_emoticon_name="happy" __jive_macro_name="emoticon" class="jive_macro jive_emote" src="https://community.sap.com/408/images/emoticons/happy.gif"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Bhaskar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Dec 2013 09:37:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/validations-on-fields/m-p/9946897#M1798075</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-12-18T09:37:54Z</dc:date>
    </item>
    <item>
      <title>Re: validations on fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/validations-on-fields/m-p/9946898#M1798076</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Rajendra,&lt;/P&gt;&lt;P&gt;Check this demo program ... DEMO_DYNPRO_FIELD_CHAIN.. &lt;/P&gt;&lt;P&gt;If you want the error fields in editable mode and all other in non editable mode ... put the fields in the chain.... end chain ...The fields in the chain ....end chain. will be in editable mode by making all others in non editable mode ... you will better understand by checking the above mentioned program ..&lt;/P&gt;&lt;P&gt;I hope it will help you ..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Shravan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Dec 2013 09:39:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/validations-on-fields/m-p/9946898#M1798076</guid>
      <dc:creator>former_member193512</dc:creator>
      <dc:date>2013-12-18T09:39:38Z</dc:date>
    </item>
    <item>
      <title>Re: validations on fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/validations-on-fields/m-p/9946899#M1798077</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I guess the hint to your answer is there in your question itself.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;All the fields that are between chain and endchain will be editable mode.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want only one error field to be editable at a time, just do not put any chain endchain statements.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;process after &lt;SPAN class="L1S52"&gt;input.&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L1S52"&gt;field&lt;/SPAN&gt; fld1 &lt;SPAN class="L1S52"&gt;module&lt;/SPAN&gt; mod1.&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L1S52"&gt;field&lt;/SPAN&gt; fld2 &lt;SPAN class="L1S52"&gt;module&lt;/SPAN&gt; mod2.&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L1S52"&gt;field&lt;/SPAN&gt; fld3 &lt;SPAN class="L1S52"&gt;module&lt;/SPAN&gt; mod3.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Dec 2013 10:14:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/validations-on-fields/m-p/9946899#M1798077</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-12-18T10:14:02Z</dc:date>
    </item>
    <item>
      <title>Re: validations on fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/validations-on-fields/m-p/9946900#M1798078</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;One way is to put all the fields required for error in a chain endhain and the others outside/after the endchain.This ensures that if error is encountered all the fields inside the chain ebdchain is editable and others outside non-editable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CHAIN.&lt;/P&gt;&lt;P&gt;FIELD VBELN. MODULE M_CHECK_VBELN.&lt;/P&gt;&lt;P&gt;FIELD AUART. MODULE M_CHECK_AUART.&lt;/P&gt;&lt;P&gt;ENDCHAIN.&lt;/P&gt;&lt;P&gt;FIELD VBAK-VBTYP. MODULE M_CHECK_VBTYP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here , if M_CHECK_VBELN has an error message then field VBELN and AUART is editable but VBTYP is not.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it Helps.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Dec 2013 10:34:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/validations-on-fields/m-p/9946900#M1798078</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-12-18T10:34:43Z</dc:date>
    </item>
    <item>
      <title>Re: validations on fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/validations-on-fields/m-p/9946901#M1798079</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Edamana for the reply but i only want error fields should be in editable others in&amp;nbsp; non editable mode.as we can't judge in which fields we got error before to put the fields in chain-endchain i think now you understand my requirement.plz provide solution&amp;nbsp; for this .&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Thankyou,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Dec 2013 03:54:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/validations-on-fields/m-p/9946901#M1798079</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-12-19T03:54:33Z</dc:date>
    </item>
    <item>
      <title>Re: validations on fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/validations-on-fields/m-p/9946902#M1798080</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks baskar as i am new to abap i don't know much may be the question looks silly to you.as&amp;nbsp; you said if error message comes program flow stops there itself.so is there any other alternative for this(IF I GOT TWO ERRORS ONLY THAT BOTH ERRORS SHOULD BE IN EDITABLE MODE AND THE REMAINING ALL FIELDS IN NON EDITABLE MODE )..is this requirement possible.means atleast without error message but data should not inserted into database without validating all fields.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Dec 2013 04:04:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/validations-on-fields/m-p/9946902#M1798080</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-12-19T04:04:16Z</dc:date>
    </item>
    <item>
      <title>Re: validations on fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/validations-on-fields/m-p/9946903#M1798081</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hai Rajendra,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Please put the statement 'chain...endchain' in comment and try then you get the exact error fields.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Dec 2013 04:41:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/validations-on-fields/m-p/9946903#M1798081</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-12-19T04:41:26Z</dc:date>
    </item>
    <item>
      <title>Re: validations on fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/validations-on-fields/m-p/9946904#M1798082</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hii Rajendra,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you only want error field in editable mode then don't use chain and endchain processing chain.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just validate the field individually like below,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FIELD carrid MODULE validate_carrid.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FIELD connid MODULE validate_connid.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FIELD fldate MODULE validate_fldate. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODULE validate_carrid.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; IF carrid IS INITAIL.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SET CURSOR FIELD 'CARRID'.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MESSAGE 'Enter the flight carrier name' TYPE 'E'.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ELSE.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SELECT SINGLE COUNT(*)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "For checking the correctness of carrid&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; FROM SFLIGHT&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; WHERE CARRID EQ carrid.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; IF sy-subrc NE 0.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MESSAGE 'Carrid is not not valid' TYPE 'E'.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ENDIF.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ENDIF.&lt;/P&gt;&lt;P&gt;ENDMODULE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Proceed like this for other fields too.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So if any error occurred in field carrid then only this field will be in editable mode and others like connid and fldate will be in non editable mode.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For testing purpose you can also try with the conditional module call by adding ON INPUT / ON REQUEST to a module like below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FIELD carrid MODULE validate_carrid ON INPUT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This module will trigger only when the user enter non initail value. for example CARRID datatype is character and the default / initail value of character is space so when user enter any value to this field this module will be envoked .other wise this will not trigger.If you will hit enter without entering any value then also this module will not trigger because by default it's initial value is space.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In case of ON REQUEST the module will be trigger only when user enter some value to the field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For complete conditional module call follow this link&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw04/helpdata/en/9f/dbabbd35c111d1829f0000e829fbfe/content.htm" title="http://help.sap.com/saphelp_nw04/helpdata/en/9f/dbabbd35c111d1829f0000e829fbfe/content.htm"&gt;Conditional Module Calls (SAP Library - ABAP Programming (BC-ABA))&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Syed&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Dec 2013 04:49:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/validations-on-fields/m-p/9946904#M1798082</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-12-19T04:49:42Z</dc:date>
    </item>
    <item>
      <title>Re: validations on fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/validations-on-fields/m-p/9946905#M1798083</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rajendra,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;According to my knowledge, field validations doesn't take place all together.It will be validated one by one and whenever an error occurs the corresponding message will be shown in the screen, ie. the execution stops after displaying&amp;nbsp; the error message. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example , suppose you have 3 fields and you are entering wrong values in 1st and 3rd field. During the execution the validation code for 1st field works and error will be thrown and hence the execution has stopped, validation code for 2nd and 3rd field will not get executed. Now assume that you have corrected the 1st field value and trying to run it again and in this case the execution stops with the validation of 3rd field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So I don't think it is not possible to do a validation as you specified in your requirement. If you find any alternatives please share with us.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Anoop&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Dec 2013 04:59:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/validations-on-fields/m-p/9946905#M1798083</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-12-19T04:59:36Z</dc:date>
    </item>
    <item>
      <title>Re: validations on fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/validations-on-fields/m-p/9946906#M1798084</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi sanjeev I only want&amp;nbsp; all the error fields to be in editable mode (i.e AT a time) and remaining fields in non editable mode.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Dec 2013 05:34:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/validations-on-fields/m-p/9946906#M1798084</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-12-19T05:34:41Z</dc:date>
    </item>
    <item>
      <title>Re: validations on fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/validations-on-fields/m-p/9946907#M1798085</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rajendra,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This looks silly but little complicated issue you are facing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First we need to display error message to the screen all at once like a popup.&lt;/P&gt;&lt;P&gt;make the error fields as editable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;we can achieve 1st one by using message display as popup using any one of below FMs&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;POPUP_DISPLAY_TEXT&lt;/P&gt;&lt;P&gt;POPUP_TO_DISPLAY_TEXT&lt;/P&gt;&lt;P&gt;OIRC_MR_ERROR_POPUP_WITH_TAB&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select any one which suits to you and to your user. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) keep all fields in chain end chain statement.&lt;/P&gt;&lt;P&gt;maintain one error flag for each field. mark this flag if the corresponding field is errored one.&lt;/P&gt;&lt;P&gt;make a module in the chain end chain statement which has to be executed in last.&lt;/P&gt;&lt;P&gt;in that module, loop at the screen and make the corresponding fields as editable. we already have the error marked flags ready right. based on those we can make the fields editable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try this it may work. Let us know if you find any issues.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and Regards,&lt;/P&gt;&lt;P&gt;bhaskar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Dec 2013 06:59:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/validations-on-fields/m-p/9946907#M1798085</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-12-19T06:59:51Z</dc:date>
    </item>
    <item>
      <title>Re: validations on fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/validations-on-fields/m-p/9946908#M1798086</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi rajendra,&lt;/P&gt;&lt;P&gt;The standard flow is like , showing error messages one by one.. you can use chain endchain .. it is a good option . &lt;/P&gt;&lt;P&gt;It will make sure that user enters correct value also it highlights the particular field which has error.&lt;/P&gt;&lt;P&gt;as this error gets complete , the focus goes to next error.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Dec 2013 07:42:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/validations-on-fields/m-p/9946908#M1798086</guid>
      <dc:creator>sivaganesh_krishnan</dc:creator>
      <dc:date>2013-12-19T07:42:01Z</dc:date>
    </item>
    <item>
      <title>Re: validations on fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/validations-on-fields/m-p/9946909#M1798087</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Put your control in two blocks:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
&lt;P&gt;PROCESS AFTER &lt;SPAN class="L0S52"&gt;INPUT&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S31"&gt;" only one field input-allowed&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;FIELD &lt;/SPAN&gt;field1 &lt;SPAN class="L0S52"&gt;MODULE &lt;/SPAN&gt;check_field1 &lt;SPAN class="L0S52"&gt;ON &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;INPUT&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;. &lt;/SPAN&gt;&lt;SPAN class="L0S31"&gt;" standalone check&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;FIELD &lt;/SPAN&gt;field2 &lt;SPAN class="L0S52"&gt;MODULE &lt;/SPAN&gt;check_field2 &lt;SPAN class="L0S52"&gt;ON &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;INPUT&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;. &lt;/SPAN&gt;&lt;SPAN class="L0S31"&gt;" standalone check&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S31"&gt;" both fields input-allowed&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; CHAIN&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;FIELD &lt;/SPAN&gt;field1&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;FIELD &lt;/SPAN&gt;field2&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;MODULE &lt;/SPAN&gt;check_both_field &lt;SPAN class="L0S52"&gt;ON &lt;/SPAN&gt;CHAIN&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;INPUT&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;. &lt;/SPAN&gt;&lt;SPAN class="L0S31"&gt;" both fields checked&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; ENDCHAIN&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;&lt;SPAN class="L0S55"&gt;Regards,&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;&lt;SPAN class="L0S55"&gt;Raymond&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Dec 2013 08:40:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/validations-on-fields/m-p/9946909#M1798087</guid>
      <dc:creator>RaymondGiuseppi</dc:creator>
      <dc:date>2013-12-19T08:40:54Z</dc:date>
    </item>
    <item>
      <title>Re: validations on fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/validations-on-fields/m-p/9946910#M1798088</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;At any point of time,irrespective of the number of fields,error will be displayed for one field at a time,I believe this is your requirement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Although I am not sure if this is a misuse of the chain..endchain command...but if you put every field in a chain endchain...it will satisfy your requirement&lt;BR /&gt;Chain. field field1 module1.endchain.&lt;/P&gt;&lt;P&gt;Chain. field field2 module2.endchain.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Dec 2013 08:55:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/validations-on-fields/m-p/9946910#M1798088</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-12-19T08:55:00Z</dc:date>
    </item>
    <item>
      <title>Re: validations on fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/validations-on-fields/m-p/9946911#M1798089</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 cant give it in chain end chain if you have make the other fields in disable mode. The option is u can give seperate validation and make the screen and editable and non editable using loop at screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Warm Regards&lt;/P&gt;&lt;P&gt;Suneesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Dec 2013 07:17:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/validations-on-fields/m-p/9946911#M1798089</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-12-20T07:17:31Z</dc:date>
    </item>
  </channel>
</rss>

