<?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: reg. cursor-selection in module pool....have ur points. in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/reg-cursor-selection-in-module-pool-have-ur-points/m-p/2659356#M613443</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Pradeep,&lt;/P&gt;&lt;P&gt;        You can specify that a module should only be called if the cursor is positioned on a particular screen element.&lt;/P&gt;&lt;P&gt;MODULE &amp;lt;mod&amp;gt; AT CURSOR-SELECTION .&lt;/P&gt;&lt;P&gt;The module &amp;lt;mod&amp;gt; is called whenever the function code of the user action is CS with function type S. If you use this statement, u assign the same function code CS to function key F2. This also assigns it to the mouse double-click. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Suppose u have assigned like above.So if you want to got to customer master transaction on double clicking  customer no: from ur program u can code&lt;/P&gt;&lt;P&gt;when 'CLCK'.&lt;/P&gt;&lt;P&gt;   set parameter id &amp;lt;name&amp;gt; &amp;lt;fieldname&amp;gt;.&lt;/P&gt;&lt;P&gt;   call transaction &amp;lt;tcode&amp;gt; and skip first screen.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 20 Aug 2007 11:20:44 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-08-20T11:20:44Z</dc:date>
    <item>
      <title>reg. cursor-selection in module pool....have ur points.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reg-cursor-selection-in-module-pool-have-ur-points/m-p/2659352#M613439</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;Pleas. help me with  a simple example of at cursor-selection in module pool programming.&lt;/P&gt;&lt;P&gt;with simple code &amp;amp; steps&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Have ur points.&amp;lt;/b&amp;gt; &lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;pradeep.phogat@gmail.com&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Aug 2007 11:03:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reg-cursor-selection-in-module-pool-have-ur-points/m-p/2659352#M613439</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-20T11:03:36Z</dc:date>
    </item>
    <item>
      <title>Re: reg. cursor-selection in module pool....have ur points.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reg-cursor-selection-in-module-pool-have-ur-points/m-p/2659353#M613440</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;&amp;lt;b&amp;gt;AT CURSOR-SELECTION&amp;lt;/b&amp;gt; &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;&amp;lt;b&amp;gt;pls reward points for useful ans&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;i&amp;gt;Regards&lt;/P&gt;&lt;P&gt;Vivek&amp;lt;/i&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Aug 2007 11:07:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reg-cursor-selection-in-module-pool-have-ur-points/m-p/2659353#M613440</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-20T11:07:23Z</dc:date>
    </item>
    <item>
      <title>Re: reg. cursor-selection in module pool....have ur points.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reg-cursor-selection-in-module-pool-have-ur-points/m-p/2659354#M613441</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Pradeep,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Checkout sample program&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DEMO_DYNPRO_SET_CURSOR&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards, ABY&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Aug 2007 11:16:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reg-cursor-selection-in-module-pool-have-ur-points/m-p/2659354#M613441</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-20T11:16:59Z</dc:date>
    </item>
    <item>
      <title>Re: reg. cursor-selection in module pool....have ur points.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reg-cursor-selection-in-module-pool-have-ur-points/m-p/2659355#M613442</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Pradeep,&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;&amp;lt;i&amp;gt;&amp;lt;b&amp;gt;http://help.sap.com/saphelp_nw04/helpdata/en/9f/dbabbd35c111d1829f0000e829fbfe/content.htm&amp;lt;/b&amp;gt;&amp;lt;/i&amp;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;&amp;lt;b&amp;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&amp;lt;/b&amp;gt; &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;&amp;lt;b&amp;gt;Note&amp;lt;/b&amp;gt; &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;&amp;lt;b&amp;gt;&amp;lt;u&amp;gt;Refer thread:&amp;lt;/u&amp;gt;&amp;lt;/b&amp;gt; &amp;lt;i&amp;gt;&amp;lt;b&amp;gt;&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;Hope that helps!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;i&amp;gt;&amp;lt;b&amp;gt;*&lt;STRONG&gt;Reward useful answers&lt;/STRONG&gt;*&amp;lt;/b&amp;gt;&amp;lt;/i&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Naveenan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Aug 2007 11:19:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reg-cursor-selection-in-module-pool-have-ur-points/m-p/2659355#M613442</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-20T11:19:56Z</dc:date>
    </item>
    <item>
      <title>Re: reg. cursor-selection in module pool....have ur points.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reg-cursor-selection-in-module-pool-have-ur-points/m-p/2659356#M613443</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Pradeep,&lt;/P&gt;&lt;P&gt;        You can specify that a module should only be called if the cursor is positioned on a particular screen element.&lt;/P&gt;&lt;P&gt;MODULE &amp;lt;mod&amp;gt; AT CURSOR-SELECTION .&lt;/P&gt;&lt;P&gt;The module &amp;lt;mod&amp;gt; is called whenever the function code of the user action is CS with function type S. If you use this statement, u assign the same function code CS to function key F2. This also assigns it to the mouse double-click. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Suppose u have assigned like above.So if you want to got to customer master transaction on double clicking  customer no: from ur program u can code&lt;/P&gt;&lt;P&gt;when 'CLCK'.&lt;/P&gt;&lt;P&gt;   set parameter id &amp;lt;name&amp;gt; &amp;lt;fieldname&amp;gt;.&lt;/P&gt;&lt;P&gt;   call transaction &amp;lt;tcode&amp;gt; and skip first screen.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Aug 2007 11:20:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reg-cursor-selection-in-module-pool-have-ur-points/m-p/2659356#M613443</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-20T11:20:44Z</dc:date>
    </item>
  </channel>
</rss>

