<?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 programing: triggering of PAI module in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool-programing-triggering-of-pai-module/m-p/7442621#M1551897</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Answer is no.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&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&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 15 Nov 2010 13:18:44 GMT</pubDate>
    <dc:creator>kesavadas_thekkillath</dc:creator>
    <dc:date>2010-11-15T13:18:44Z</dc:date>
    <item>
      <title>Module Pool programing: triggering of PAI module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool-programing-triggering-of-pai-module/m-p/7442620#M1551896</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;In SAP standard program,there is a PAI module to be executed on change request. If the field value changes on screen then only that module gets triggered.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to execute that module even value of th efield is not changed. Is it possible?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CHAIN.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Ist das eingegebene Material oder Charge vorhanden ?&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;      FIELD:&lt;/P&gt;&lt;P&gt;             VBAP-PSTYV,&lt;/P&gt;&lt;P&gt;             VBAP-WERKS,&lt;/P&gt;&lt;P&gt;             VBAP-CHARG,&lt;/P&gt;&lt;P&gt;             VBAP-LGORT,&lt;/P&gt;&lt;P&gt;             VBAP-KDMAT,&lt;/P&gt;&lt;P&gt;             VBAP-MATNR,&lt;/P&gt;&lt;P&gt;             VBAPD-MATNR_G,&lt;/P&gt;&lt;P&gt;             RV45A-MABNR,&lt;/P&gt;&lt;P&gt;             VBKD-WMINR,&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;IS2ERP Media enhancement&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;             vbap-idcodetype,                           "ISBN-Nr.&lt;/P&gt;&lt;P&gt;             vbap-ismidentcode,                         "ISBN-Nr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;             RV45A-CCODE,&lt;/P&gt;&lt;P&gt;             VBAP-MATWA&lt;/P&gt;&lt;P&gt;               MODULE VBAP-MATNR_PRUEFEN ON CHAIN-REQUEST.&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;/P&gt;&lt;P&gt;Is there any way to execute above module even if not a single field value is not changed?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thans in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Nov 2010 13:13:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool-programing-triggering-of-pai-module/m-p/7442620#M1551896</guid>
      <dc:creator>prashant_nandanikar</dc:creator>
      <dc:date>2010-11-15T13:13:48Z</dc:date>
    </item>
    <item>
      <title>Re: Module Pool programing: triggering of PAI module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool-programing-triggering-of-pai-module/m-p/7442621#M1551897</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Answer is no.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&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&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Nov 2010 13:18:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool-programing-triggering-of-pai-module/m-p/7442621#M1551897</guid>
      <dc:creator>kesavadas_thekkillath</dc:creator>
      <dc:date>2010-11-15T13:18:44Z</dc:date>
    </item>
    <item>
      <title>Re: Module Pool programing: triggering of PAI module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool-programing-triggering-of-pai-module/m-p/7442622#M1551898</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What you can do is working with a global field g_switch. That you set in the module 'set_switch_on',&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
CHAIN.
FIELD:
VBAP-PSTYV,
VBAP-WERKS,
...
MODULE set_switch_on ON CHAIN-REQUEST.
ENDCHAIN.

if g_switch NE 'X'.
MODULE VBAP-MATNR_PRUEFEN.
endif.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Don't forget to put this global field g_switch off afterwards.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Tom Verstocken on Nov 15, 2010 2:24 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Nov 2010 13:24:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool-programing-triggering-of-pai-module/m-p/7442622#M1551898</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-11-15T13:24:46Z</dc:date>
    </item>
  </channel>
</rss>

