<?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: regarding field validations in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-field-validations/m-p/2606305#M597373</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;chain endchain is grouping the more than one field if any field fails in validation then all the fields will be ready for input.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in module you can use on chain-input or on chain-request.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;module m1 on chain-input.&lt;/P&gt;&lt;P&gt;if user is entering a  value(not initial) in any field of the chain endchain from its initial value this module will execute(generally for the first time entry from initial to any other value).&lt;/P&gt;&lt;P&gt;module m1 on chain-request.&lt;/P&gt;&lt;P&gt;if user is entering any value to the any field of the chain endcahin this module m1 will execute.&lt;/P&gt;&lt;P&gt;but as per my suggestion better to go through this link ..you can get more knowledge on this..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;a href="http://help.sap.com/saphelp_nw04/helpdata/en/9f/dbabbd35c111d1829f0000e829fbfe/content.htm"&amp;gt;http://help.sap.com/saphelp_nw04/helpdata/en/9f/dbabbd35c111d1829f0000e829fbfe/content.htm&amp;lt;/a&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;shiba dutta&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 07 Aug 2007 04:16:33 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-08-07T04:16:33Z</dc:date>
    <item>
      <title>regarding field validations</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-field-validations/m-p/2606302#M597370</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    good mrng,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;                     i used fields statement and chain endchain for field validations in module pool cud u plz let me know is der any other chain endchain statement for field validations actually i heard  chain endchain input something like this may be i m wrong here ,,,,,plz throw some light on this plz dnt copy and paste from net......&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thnx in advance......&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Aug 2007 03:52:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-field-validations/m-p/2606302#M597370</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-07T03:52:55Z</dc:date>
    </item>
    <item>
      <title>Re: regarding field validations</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-field-validations/m-p/2606303#M597371</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;To ensure that one or more PAI modules are only called when several screen fields meet a particular condition, you must combine the calls in the flow logic to form a processing chain. You define processing chains as follows:&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;ENDCHAIN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;All flow logic statements between CHAIN and ENDCHAIN belong to a processing chain. The fields in the various FIELD statements are combined, and can be used in shared conditions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CHAIN.&lt;/P&gt;&lt;P&gt;FIELD: &amp;lt;f1&amp;gt;, &amp;lt;f 2&amp;gt;,... &lt;/P&gt;&lt;P&gt;MODULE &amp;lt;mod1&amp;gt; ON CHAIN-INPUT|CHAIN-REQUEST.&lt;/P&gt;&lt;P&gt;FIELD: &amp;lt;g1&amp;gt;, &amp;lt;g 2&amp;gt;,... &lt;/P&gt;&lt;P&gt;MODULE &amp;lt;mod2&amp;gt; ON CHAIN-INPUT|CHAIN-REQUEST.&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;ENDCHAIN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The additions ON CHAIN-INPUT and ON CHAIN-REQUEST work like the additions ON INPUT and ON REQUEST that you use for individual fields. The exception is that the module is called whenever at least one of the fields listed in a preceding FIELD statement within the chain meets the condition. So &amp;lt;mod1&amp;gt; is called when one of the fields &amp;lt;fi&amp;gt; meets the condition. &amp;lt;mod2&amp;gt; is called when one of the fields &amp;lt;f i&amp;gt; or &amp;lt;g i&amp;gt; meets the condition.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Within a processing chain, you can combine individual FIELD statements with a MODULE statement to set a condition for a single field within the chain: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CHAIN.&lt;/P&gt;&lt;P&gt;FIELD: &amp;lt;f1&amp;gt;, &amp;lt;f 2&amp;gt;,... &lt;/P&gt;&lt;P&gt;FIELD &amp;lt;f&amp;gt; MODULE &amp;lt;mod1&amp;gt; ON INPUT|REQUEST|*-INPUT&lt;/P&gt;&lt;P&gt;|CHAIN-INPUT|CHAIN-REQUEST.&lt;/P&gt;&lt;P&gt;MODULE &amp;lt;mod2&amp;gt; ON CHAIN-INPUT|CHAIN-REQUEST.&lt;/P&gt;&lt;P&gt;ENDCHAIN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The module &amp;lt;mod1&amp;gt; is called when screen field &amp;lt;f&amp;gt; meets the specified condition for individual fields. &amp;lt;mod2&amp;gt; is called when one of the fields &amp;lt;fi&amp;gt; or &amp;lt;f&amp;gt; meets the condition. If you use the addition ON CHAIN-INPUT or ON CHAIN-REQUEST with FIELD &amp;lt;f&amp;gt;, the condition also applies to the entire chain and module &amp;lt;mod1&amp;gt; and &amp;lt;mod2&amp;gt; are both called. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In cases where you apply conditions to various combinations of screen fields, it is worth setting up a separate processing chain for each combination and calling different modules from within it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw04/helpdata/en/9f/dbabbd35c111d1829f0000e829fbfe/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw04/helpdata/en/9f/dbabbd35c111d1829f0000e829fbfe/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_47x200/helpdata/en/d1/801ca2454211d189710000e8322d00/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_47x200/helpdata/en/d1/801ca2454211d189710000e8322d00/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="3335517"&gt;&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Aug 2007 03:55:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-field-validations/m-p/2606303#M597371</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-07T03:55:43Z</dc:date>
    </item>
    <item>
      <title>Re: regarding field validations</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-field-validations/m-p/2606304#M597372</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;FIELD and MODULE are used to monitor a field on the screen and then on INPUT or ON REQUEST you would like to execute a module where in you want to validate the value and if there is an error you will raise an error message using MESSAGE statement and mesage type 'E'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So when you raise an error message from this module only this field will be made editable, I mean open for edit, rest all will be non-editable this is to make sure that you correct yor error for these field before you make entries in other fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Similarly if you want to monitor a group of fields on the screen and then on error want only this group of screen fields to be editable so that error is resolved. Then you need to use CHAIN and ENDCHAIN to group these fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CHAIN.&lt;/P&gt;&lt;P&gt;FIELD FLD1.&lt;/P&gt;&lt;P&gt;FIELD FLD2.&lt;/P&gt;&lt;P&gt;FIELD FLD3.&lt;/P&gt;&lt;P&gt;MODULE validate_input ON CHAIN-INPUT.&lt;/P&gt;&lt;P&gt;ENDCHAIN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope things are clear to you now.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Aug 2007 04:01:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-field-validations/m-p/2606304#M597372</guid>
      <dc:creator>seshatalpasai_madala</dc:creator>
      <dc:date>2007-08-07T04:01:01Z</dc:date>
    </item>
    <item>
      <title>Re: regarding field validations</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-field-validations/m-p/2606305#M597373</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;chain endchain is grouping the more than one field if any field fails in validation then all the fields will be ready for input.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in module you can use on chain-input or on chain-request.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;module m1 on chain-input.&lt;/P&gt;&lt;P&gt;if user is entering a  value(not initial) in any field of the chain endchain from its initial value this module will execute(generally for the first time entry from initial to any other value).&lt;/P&gt;&lt;P&gt;module m1 on chain-request.&lt;/P&gt;&lt;P&gt;if user is entering any value to the any field of the chain endcahin this module m1 will execute.&lt;/P&gt;&lt;P&gt;but as per my suggestion better to go through this link ..you can get more knowledge on this..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;a href="http://help.sap.com/saphelp_nw04/helpdata/en/9f/dbabbd35c111d1829f0000e829fbfe/content.htm"&amp;gt;http://help.sap.com/saphelp_nw04/helpdata/en/9f/dbabbd35c111d1829f0000e829fbfe/content.htm&amp;lt;/a&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;shiba dutta&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Aug 2007 04:16:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-field-validations/m-p/2606305#M597373</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-07T04:16:33Z</dc:date>
    </item>
    <item>
      <title>Re: regarding field validations</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-field-validations/m-p/2606306#M597374</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;field statement in module pools is used for providing validation at flow logic level. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;chain ....... endchain is used for grouping of all validations. u can use this at pbo or pai event as&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;chain.&lt;/P&gt;&lt;P&gt;     field1 ........................&lt;/P&gt;&lt;P&gt;     field2 ...................................&lt;/P&gt;&lt;P&gt;  ....................&lt;/P&gt;&lt;P&gt;     field n.&lt;/P&gt;&lt;P&gt;endchain.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if any of the validations are not satisfied then system will enable only that field and disable all other fields of the screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if helpful reward some points.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;with regards,&lt;/P&gt;&lt;P&gt;Suresh Aluri.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Aug 2007 04:48:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-field-validations/m-p/2606306#M597374</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-07T04:48:38Z</dc:date>
    </item>
  </channel>
</rss>

