<?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: Related to the Module Pool Programming in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/related-to-the-module-pool-programming/m-p/5552980#M1267638</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can use at user command within your table control logic.&lt;/P&gt;&lt;P&gt;For fast and better answers you should post questions related to module pool programming in UI programming.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Lalit Mohan  Gupta.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 16 Apr 2009 16:09:49 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-04-16T16:09:49Z</dc:date>
    <item>
      <title>Related to the Module Pool Programming</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/related-to-the-module-pool-programming/m-p/5552977#M1267635</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have user a Table Controls in the screen program.&lt;/P&gt;&lt;P&gt;Not what I want is when I click on a particular cell of a Table Control it should take me to  some other screen where that details of the selected row has to be displayed.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Apr 2009 15:52:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/related-to-the-module-pool-programming/m-p/5552977#M1267635</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-16T15:52:13Z</dc:date>
    </item>
    <item>
      <title>Re: Related to the Module Pool Programming</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/related-to-the-module-pool-programming/m-p/5552978#M1267636</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;You can add a filed SEL in your tab control and give a push button to display the details of selected record.&lt;/P&gt;&lt;P&gt;Code to display the details in PAI of screen when push button is pressed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Write module to get selected record.&lt;/P&gt;&lt;P&gt; FIELD &amp;lt;work area of table&amp;gt;-sel&lt;/P&gt;&lt;P&gt;      MODULE tab_9200_mark ON REQUEST.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Apr 2009 15:57:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/related-to-the-module-pool-programming/m-p/5552978#M1267636</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-16T15:57:00Z</dc:date>
    </item>
    <item>
      <title>Re: Related to the Module Pool Programming</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/related-to-the-module-pool-programming/m-p/5552979#M1267637</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;Welcome to SCN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please [search|https://www.sdn.sap.com/irj/scn/directforumsearch?threadid=&amp;amp;q=double&lt;EM&gt;click&lt;/EM&gt;in&lt;EM&gt;module&lt;/EM&gt;pool+programing&amp;amp;objID=c42&amp;amp;dateRange=all&amp;amp;numResults=30&amp;amp;rankBy=10001] the SCN before posting the your question. There are lot many post's on this question.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Apr 2009 16:00:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/related-to-the-module-pool-programming/m-p/5552979#M1267637</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-16T16:00:59Z</dc:date>
    </item>
    <item>
      <title>Re: Related to the Module Pool Programming</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/related-to-the-module-pool-programming/m-p/5552980#M1267638</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can use at user command within your table control logic.&lt;/P&gt;&lt;P&gt;For fast and better answers you should post questions related to module pool programming in UI programming.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Lalit Mohan  Gupta.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Apr 2009 16:09:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/related-to-the-module-pool-programming/m-p/5552980#M1267638</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-16T16:09:49Z</dc:date>
    </item>
    <item>
      <title>Re: Related to the Module Pool Programming</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/related-to-the-module-pool-programming/m-p/5552981#M1267639</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Nivash,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When you want to pick the value and take over that value to next screen, you got to make PF-STATUS, and for F2 that is Choose, type function code PICK.&lt;/P&gt;&lt;P&gt;And then go to PAI section of screen and provide behavior to PICK command i.e Double Click;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODULE user_command_0200 INPUT.&lt;/P&gt;&lt;P&gt;  ok_code = sy-ucomm.&lt;/P&gt;&lt;P&gt;  CASE ok_code.&lt;/P&gt;&lt;P&gt;    WHEN 'BACK'.&lt;/P&gt;&lt;P&gt;      CALL SCREEN 100.&lt;/P&gt;&lt;P&gt;    WHEN 'PICK'.&lt;/P&gt;&lt;P&gt;      &lt;STRONG&gt;GET CURSOR FIELD fs_likp-vbeln LINE line_sel VALUE w_vbeln.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;      IF fs_likp-vbeln  NE 'FS_LIKP-VB'.&lt;/P&gt;&lt;P&gt;        MESSAGE 'Click on Delivery Number Only'(003) TYPE 'S'&lt;/P&gt;&lt;P&gt;        DISPLAY LIKE 'E'.&lt;/P&gt;&lt;P&gt;        fl_flg2 = 'NO'.&lt;/P&gt;&lt;P&gt;      ELSEIF fs_likp-vbeln EQ 'FS_LIKP-VB'.&lt;/P&gt;&lt;P&gt;        fl_flg2 = 'YA'.&lt;/P&gt;&lt;P&gt;      ENDIF.                           " IF FS_LIPS-VLELN...&lt;/P&gt;&lt;P&gt;      IF fl_flg2 EQ 'YA'.&lt;/P&gt;&lt;P&gt;        &lt;STRONG&gt;w_tabix =  t_tablecontrol-top_line + line_sel - 1 .&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;        &lt;STRONG&gt;CALL SCREEN 300.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;      ELSEIF fl_flg2 EQ 'NO'.          " IF FL_FLG2 EQ 'YA'&lt;/P&gt;&lt;P&gt;        CALL SCREEN 200.&lt;/P&gt;&lt;P&gt;      ENDIF.                           " ELSEIF FL_FLG2 EQ 'NO'&lt;/P&gt;&lt;P&gt;  ENDCASE.                             " CASE OK_CODE&lt;/P&gt;&lt;P&gt;ENDMODULE.                             " USER_COMMAND_0200  INPUT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Moreover, declaration should be given as;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA:&lt;/P&gt;&lt;P&gt;  w_vbeln     type likp-vbeln,       " Delivery Number&lt;/P&gt;&lt;P&gt;  line_sel     like sy-stepl,          " Selected Line in Table&lt;/P&gt;&lt;P&gt;  w_tabix     like sy-tabix.          " Table Index&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please check the code above, you'll definitely get solution.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Apr 2009 06:15:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/related-to-the-module-pool-programming/m-p/5552981#M1267639</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-17T06:15:51Z</dc:date>
    </item>
    <item>
      <title>Re: Related to the Module Pool Programming</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/related-to-the-module-pool-programming/m-p/5552982#M1267640</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;Refer:-&lt;/P&gt;&lt;P&gt;Check ur pf-status. in that did you give PICK to the functionkey F2 which will enable the double click facility.&lt;/P&gt;&lt;P&gt;Apart from setting the PF-status with PICK (F2) also set the property "respond to double click" for the tablecontrol column in screen painter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Goto SE41&lt;/STRONG&gt; --&amp;gt; &lt;STRONG&gt;PF-STATUS&lt;/STRONG&gt; ---&amp;gt; &lt;STRONG&gt;SET  F2 = PICK&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;P&gt;In PAI:-&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
MODULE USER_COMMAND_8001.
  CASE SY-UCOMM.
    WHEN 'PICK'.
      GET CURSOR FIELD v_fieldname Value v_fieldval.       
      IF v_fieldname EQ 'VBELN'.
        "select query (in  where clause us v_fieldval to fetch associted records)
        SET SCREEN '8002'.
        LEAVE SCREEN.
      ENDIF.
  ENDCASE.
ENDMODULE.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now in PBO of other screen i.e, 8002, display data in table control.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Tarun&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Apr 2009 06:21:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/related-to-the-module-pool-programming/m-p/5552982#M1267640</guid>
      <dc:creator>I355602</dc:creator>
      <dc:date>2009-04-17T06:21:28Z</dc:date>
    </item>
  </channel>
</rss>

