<?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 in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/re-module-pool/m-p/2886270#M677995</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;Can any one explain me with a sample code .wht is the purpose of using AT CURSOR-SELECTION in PAI module in module pool.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;Alex.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 21 Sep 2007 09:18:26 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-09-21T09:18:26Z</dc:date>
    <item>
      <title>RE:module pool</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/re-module-pool/m-p/2886270#M677995</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;Can any one explain me with a sample code .wht is the purpose of using AT CURSOR-SELECTION in PAI module in module pool.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;Alex.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Sep 2007 09:18:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/re-module-pool/m-p/2886270#M677995</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-21T09:18:26Z</dc:date>
    </item>
    <item>
      <title>Re: RE:module pool</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/re-module-pool/m-p/2886271#M677996</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Alex,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Best explanation with example comes from our help.sap.com....&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;Also this might help...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODULE mod [ AT {EXIT-COMMAND|CURSOR-SELECTION} ] &lt;/P&gt;&lt;P&gt;[ ON {CHAIN-INPUT|CHAIN-REQUEST} ] &lt;/P&gt;&lt;P&gt;[ SWITCH switch ]. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;... AT CURSOR-SELECTION &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The AT CURSOR-SELECTION addition at the event PAI causes the module mod to be called only if &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The function used to trigger event PAI has function code "CS" and function type "S" &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The cursor is placed on a single input or output field of the screen at the moment of the user action &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The call occurs within the usual PAI processing, meaning that the automatic input checks defined in the system or in the ABAP Dictionary are executed and the MODULE statement is called according to its position in the event block. You can use the addition in connection with the FIELD statement. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the PAI event is triggered under the above circumstances, the function code is not passed to sy-ucomm and the OK field. They keep their previous values. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note &lt;/P&gt;&lt;P&gt;The function type and function code of a function are determined in the Screen Painter or in the Menu Painter. We recommend to assign function code "CS" in the Menu Painter to function key F2 in order to simultaneously assign the double-click function of the mouse to it. This allows you to assign dialog modules to the selection of input or output fields. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Refer thread: &lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="3178456"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;reward If Helpful.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Sep 2007 09:22:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/re-module-pool/m-p/2886271#M677996</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-21T09:22:46Z</dc:date>
    </item>
    <item>
      <title>Re: RE:module pool</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/re-module-pool/m-p/2886272#M677997</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here is the example&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PROGRAM DEMO_DYNPRO_ON_CONDITION.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: OK_CODE LIKE SY-UCOMM,&lt;/P&gt;&lt;P&gt;      INPUT1(20), INPUT2(20), INPUT3(20),&lt;/P&gt;&lt;P&gt;      FLD(20).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL SCREEN 100.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODULE INIT_SCREEN_100 OUTPUT.&lt;/P&gt;&lt;P&gt;  SET PF-STATUS 'STATUS_100'.&lt;/P&gt;&lt;P&gt;ENDMODULE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODULE CANCEL INPUT.&lt;/P&gt;&lt;P&gt;  LEAVE PROGRAM.&lt;/P&gt;&lt;P&gt;ENDMODULE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODULE CURSOR INPUT.&lt;/P&gt;&lt;P&gt;  GET CURSOR FIELD FLD.&lt;/P&gt;&lt;P&gt;  MESSAGE I888(BCTRAIN) WITH TEXT-001 FLD.&lt;/P&gt;&lt;P&gt;ENDMODULE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODULE MODULE_1 INPUT.&lt;/P&gt;&lt;P&gt;  MESSAGE I888(BCTRAIN) WITH TEXT-002.&lt;/P&gt;&lt;P&gt;ENDMODULE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODULE MODULE_2 INPUT.&lt;/P&gt;&lt;P&gt;  MESSAGE I888(BCTRAIN) WITH TEXT-003.&lt;/P&gt;&lt;P&gt;ENDMODULE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODULE MODULE_* INPUT.&lt;/P&gt;&lt;P&gt;  MESSAGE I888(BCTRAIN) WITH TEXT-004 INPUT3.&lt;/P&gt;&lt;P&gt;ENDMODULE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODULE C1 INPUT.&lt;/P&gt;&lt;P&gt;  MESSAGE I888(BCTRAIN) WITH TEXT-005 '1'.&lt;/P&gt;&lt;P&gt;ENDMODULE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODULE C2 INPUT.&lt;/P&gt;&lt;P&gt;  MESSAGE I888(BCTRAIN) WITH TEXT-005 '2' TEXT-006 '3'.&lt;/P&gt;&lt;P&gt;ENDMODULE.&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;Pavan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Sep 2007 09:27:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/re-module-pool/m-p/2886272#M677997</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-21T09:27:04Z</dc:date>
    </item>
  </channel>
</rss>

