<?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 module on request in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/module-on-request/m-p/2022001#M413903</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;DIFF B/W MODULE ON REQUEST AND MODULE ON INPUT......&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 16 Mar 2007 10:09:57 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-03-16T10:09:57Z</dc:date>
    <item>
      <title>module on request</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/module-on-request/m-p/2022001#M413903</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;DIFF B/W MODULE ON REQUEST AND MODULE ON INPUT......&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Mar 2007 10:09:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/module-on-request/m-p/2022001#M413903</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-16T10:09:57Z</dc:date>
    </item>
    <item>
      <title>Re: module on request</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/module-on-request/m-p/2022002#M413904</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI Nisha..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can ensure that a PAI module is only called when a &lt;/P&gt;&lt;P&gt;certain condition applies by using the following &lt;/P&gt;&lt;P&gt;statement:&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;FIELD &amp;lt;f&amp;gt; MODULE &amp;lt;mod&amp;gt; ON INPUT|REQUEST|*-INPUT.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;The additions have the following effects:&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;ON INPUT&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;The ABAP module is called only if the field contains a &lt;/P&gt;&lt;P&gt;value other than its initial value. This initial value is &lt;/P&gt;&lt;P&gt;determined by the data type of the field: Space for &lt;/P&gt;&lt;P&gt;character fields, zero for numeric fields. Even if the &lt;/P&gt;&lt;P&gt;user enters the initial value of the screen as the &lt;/P&gt;&lt;P&gt;initial value, the module is not called. (ON REQUEST, on &lt;/P&gt;&lt;P&gt;the other hand, does trigger the call in this case.)&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;ON REQUEST&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;The module &amp;lt;mod&amp;gt; is only called if the user has entered &lt;/P&gt;&lt;P&gt;something in the field. This includes cases when the user &lt;/P&gt;&lt;P&gt;overwrites an existing value with the same value, or &lt;/P&gt;&lt;P&gt;explicitly enters the initial value. &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;In general, the &amp;lt;b&amp;gt;ON REQUEST&amp;lt;/b&amp;gt; condition is triggered &lt;/P&gt;&lt;P&gt;through any form of "manual input". As well as user &lt;/P&gt;&lt;P&gt;input, the following additional methods of entering &lt;/P&gt;&lt;P&gt;values also call the module:&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;The element attribute PARAMETER-ID (SPA/GPA parameters). &lt;/P&gt;&lt;P&gt;The element attribute HOLD DATA &lt;/P&gt;&lt;P&gt;CALL TRANSACTION ... USING &lt;/P&gt;&lt;P&gt;Automatic settings of particular global fields &lt;/P&gt;&lt;P&gt;ON *-INPUT&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;The ABAP module is called if the user has entered a "*" &lt;/P&gt;&lt;P&gt;in the first character of the field, and the field has &lt;/P&gt;&lt;P&gt;the attribute *-entry in the Screen Painter. When the &lt;/P&gt;&lt;P&gt;input field is passed to the program, the * is removed. * &lt;/P&gt;&lt;P&gt;behaves like an initial field in the ON INPUT condition.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If it helps Reward with Points&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rk&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Mar 2007 10:11:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/module-on-request/m-p/2022002#M413904</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-16T10:11:53Z</dc:date>
    </item>
  </channel>
</rss>

