<?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: Module pool prog Fields in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool-prog-fields/m-p/3046107#M721063</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; Create a structure with all the screen fields. when you are creating a screen refer these structure fields to the screen elements.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Just write &amp;lt;b&amp;gt;clear &amp;lt;structure name&amp;gt;&amp;lt;/b&amp;gt; before it is triggering error message.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;&amp;lt;REMOVED BY MODERATOR&amp;gt;&amp;lt;/b&amp;gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Satish&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        Satish Panakala&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        Alvaro Tejada Galindo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 30 Oct 2007 17:48:32 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-10-30T17:48:32Z</dc:date>
    <item>
      <title>Module pool prog Fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool-prog-fields/m-p/3046106#M721062</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;Req &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A selection screen is build as below in se51 screen . Each field is a   paramter. i have 15 line fields as below example . when i fill the data in the&lt;/P&gt;&lt;P&gt;all fields if an error message occurs for example then it clears off the whole&lt;/P&gt;&lt;P&gt;screen and its need to be filled again , can you please let me know how to avoid it .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;f1:-- , f2:-- ,f3:--&lt;DEL&gt;, f4:&lt;/DEL&gt;&lt;DEL&gt;,f5:&lt;/DEL&gt;&lt;DEL&gt;, f6:&lt;/DEL&gt;--&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;f11:-- , f12:-- ,f13:--&lt;DEL&gt;, f14:&lt;/DEL&gt;&lt;DEL&gt;,f15:&lt;/DEL&gt;&lt;DEL&gt;, f16:&lt;/DEL&gt;--&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;f21:-- , f22:-- ,f23:--&lt;DEL&gt;, f24:&lt;/DEL&gt;&lt;DEL&gt;,f25:&lt;/DEL&gt;&lt;DEL&gt;, f26:&lt;/DEL&gt;--&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;f31:-- , f32:-- ,f33:--&lt;DEL&gt;, f34:&lt;/DEL&gt;&lt;DEL&gt;,f35:&lt;/DEL&gt;&lt;DEL&gt;, f36:&lt;/DEL&gt;--&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The above fields should be in a single line .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Vind.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Oct 2007 17:46:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool-prog-fields/m-p/3046106#M721062</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-30T17:46:13Z</dc:date>
    </item>
    <item>
      <title>Re: Module pool prog Fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool-prog-fields/m-p/3046107#M721063</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; Create a structure with all the screen fields. when you are creating a screen refer these structure fields to the screen elements.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Just write &amp;lt;b&amp;gt;clear &amp;lt;structure name&amp;gt;&amp;lt;/b&amp;gt; before it is triggering error message.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;&amp;lt;REMOVED BY MODERATOR&amp;gt;&amp;lt;/b&amp;gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Satish&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        Satish Panakala&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        Alvaro Tejada Galindo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Oct 2007 17:48:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool-prog-fields/m-p/3046107#M721063</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-30T17:48:32Z</dc:date>
    </item>
    <item>
      <title>Re: Module pool prog Fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool-prog-fields/m-p/3046108#M721064</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;We use the CHAIN..ENDCHAIN command to validate the screen fields in Module pool program.You can use this for a single field or group of fields&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;see the doc and do accordingly&lt;/P&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;&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;P&gt;&lt;/P&gt;&lt;P&gt;When this command is used, all of the fields on the screen that belong to the processing chain (all of the fields listed in the field statements) are made ready for input again. Other fields are not ready for input. Whenever the MODULE statement appears within a processing chain, even if there is only one FIELD attached to it, all of the fields in the chain (not only the affected field) are made ready for input again, allowing the user to enter new values. If the fields in the processing chain are only checked once, the PAI processing continues directly after the FIELD statement, and the preceding modules are not called again.&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;Check this out&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;/P&gt;&lt;P&gt;ON INPUT The ABAP module is called only if the field contains a value other than its initial value. This initial value is determined by the data type of the field: Space for character fields, zero for numeric fields. Even if the user enters the initial value of the screen as the initial value, the module is not called. (ON REQUEST, on the other hand, does trigger the call in this case.)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ON REQUEST&lt;/P&gt;&lt;P&gt;The module &amp;lt;mod&amp;gt; is only called if the user has entered something in the field. This includes cases when the user overwrites an existing value with the same value, or explicitly enters the initial value. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In general, the ON REQUEST condition is triggered through any form of "manual input". &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;Anji&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Oct 2007 17:48:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool-prog-fields/m-p/3046108#M721064</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-30T17:48:45Z</dc:date>
    </item>
    <item>
      <title>Re: Module pool prog Fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool-prog-fields/m-p/3046109#M721065</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;Req &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A selection screen is build as below in se51 screen . Each field is a   paramter. i have 15 line fields as below example . when i fill the data in the&lt;/P&gt;&lt;P&gt;all fields if an error message occurs for example then it clears off the whole&lt;/P&gt;&lt;P&gt;screen and its need to be filled again , The error message usually comes from '&amp;lt;b&amp;gt;BAPI'&amp;lt;/b&amp;gt; .can you please let me know how to avoid it .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;f1:-- , f2:-- ,f3:--&lt;DEL&gt;, f4:&lt;/DEL&gt;&lt;DEL&gt;,f5:&lt;/DEL&gt;&lt;DEL&gt;, f6:&lt;/DEL&gt;--&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;f11:-- , f12:-- ,f13:--&lt;DEL&gt;, f14:&lt;/DEL&gt;&lt;DEL&gt;,f15:&lt;/DEL&gt;&lt;DEL&gt;, f16:&lt;/DEL&gt;--&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;f21:-- , f22:-- ,f23:--&lt;DEL&gt;, f24:&lt;/DEL&gt;&lt;DEL&gt;,f25:&lt;/DEL&gt;&lt;DEL&gt;, f26:&lt;/DEL&gt;--&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;f31:-- , f32:-- ,f33:--&lt;DEL&gt;, f34:&lt;/DEL&gt;&lt;DEL&gt;,f35:&lt;/DEL&gt;&lt;DEL&gt;, f36:&lt;/DEL&gt;--&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Vind.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Oct 2007 18:01:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool-prog-fields/m-p/3046109#M721065</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-30T18:01:56Z</dc:date>
    </item>
  </channel>
</rss>

