<?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: simple module pool program in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/simple-module-pool-program/m-p/3450944#M829031</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;CHECK THIS LINK FOR DIALOG PROGRAMMING&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.savefile.com/download/750840?PHPSESSID=ab23180edc2632f75ad8b43adc1a216b" target="test_blank"&gt;http://www.savefile.com/download/750840?PHPSESSID=ab23180edc2632f75ad8b43adc1a216b&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw04/helpdata/en/9f/db9cdc35c111d1829f0000e829fbfe/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw04/helpdata/en/9f/db9cdc35c111d1829f0000e829fbfe/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MOdule user_command_0100 inut.&lt;/P&gt;&lt;P&gt;case sy-ucomm.&lt;/P&gt;&lt;P&gt;when 'B_ADD'&lt;/P&gt;&lt;P&gt;w_res = w_num1 + w_num2.&lt;/P&gt;&lt;P&gt;when 'B_SUB'.&lt;/P&gt;&lt;P&gt;w_res = w_num1 - w_num2.&lt;/P&gt;&lt;P&gt;endcase.&lt;/P&gt;&lt;P&gt;endmodule.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Reward Ponits if usefull&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;fareedas&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Fareeda Tabassum S on May 2, 2008 4:16 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 02 May 2008 10:45:59 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-05-02T10:45:59Z</dc:date>
    <item>
      <title>simple module pool program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/simple-module-pool-program/m-p/3450941#M829028</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;can anybody tell me how to go about doing module pool programming ....... to start with ....... how to add 2 nos. using screen with 2 i\o fields for user to input 2 nos. and a output field for result......... &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can u tell the coding and the way plz ..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Feb 2008 05:54:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/simple-module-pool-program/m-p/3450941#M829028</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-22T05:54:56Z</dc:date>
    </item>
    <item>
      <title>Re: simple module pool program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/simple-module-pool-program/m-p/3450942#M829029</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;First design a screen. Transaction SE 80 -&amp;gt; Right Click on Programs -&amp;gt; Create a Program  -&amp;gt; Choose type as Module Pool.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Within the program which will be typically named like SAPMZ&amp;lt;name&amp;gt; right click -&amp;gt; Create screen -&amp;gt; Go to Layout -&amp;gt; take three input/output fields and a pushbutton.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Double click on the pushbutton -&amp;gt; assign a function code (example 'ADD') .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Go to Element List -&amp;gt; enter 'ok_code' corresponding to the last entry (ok_code).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Activate.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the TOP include define there global data types which will be of the screen field types.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;e.g : DATA: number1 TYPE '&amp;lt;screenfield-number1&amp;gt;'&lt;/P&gt;&lt;P&gt;        DATA: number2 TYPE '&amp;lt;screenfield-number2&amp;gt;'&lt;/P&gt;&lt;P&gt;        DATA: result TYPE '&amp;lt;screenfield-result&amp;gt;'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the PAI of the screen, write CASE: ok_code.&lt;/P&gt;&lt;P&gt; WHEN 'ADD'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;result = number1 + number2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDCASE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Activate the whole program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When you click the push button the addition result should come.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward if Helpful.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Feb 2008 13:02:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/simple-module-pool-program/m-p/3450942#M829029</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-22T13:02:24Z</dc:date>
    </item>
    <item>
      <title>Re: simple module pool program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/simple-module-pool-program/m-p/3450943#M829030</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;Firstly, you can go to Tcode SE80 and here create a package.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On that package name right  click  and  select program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then choose program type modulepool program.&lt;/P&gt;&lt;P&gt;Similarly, you can create screen and then select layout and drag and drop  labels and  pushbuttons as per your requirements..  Then double click on th push buttons.You will see property window and there we will find FCTCODE and there type the names e.g suppose you want to &lt;/P&gt;&lt;P&gt;display then typy on the fctcode Display or any name as you wish.&lt;/P&gt;&lt;P&gt;After that save and activate it. and then close the window.&lt;/P&gt;&lt;P&gt;And then go back to the intial screen . &lt;/P&gt;&lt;P&gt; And then click Flow logic button and then uncomment the statement &lt;/P&gt;&lt;P&gt; module status_1000 PBO block and then doible click on status_1000&lt;/P&gt;&lt;P&gt;save and activate and then go back and then PAI block uncomment the statement module status_1000 and the dobule click on status_1000 and on that type the code below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the PAI of the screen, write CASE: sy-ucomm.&lt;/P&gt;&lt;P&gt;WHEN 'ADD'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;result = number1 + number2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDCASE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Activate the whole program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When you click the push button the addition result should come.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If helpful then rewards me.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 23 Feb 2008 17:21:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/simple-module-pool-program/m-p/3450943#M829030</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-23T17:21:33Z</dc:date>
    </item>
    <item>
      <title>Re: simple module pool program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/simple-module-pool-program/m-p/3450944#M829031</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;CHECK THIS LINK FOR DIALOG PROGRAMMING&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.savefile.com/download/750840?PHPSESSID=ab23180edc2632f75ad8b43adc1a216b" target="test_blank"&gt;http://www.savefile.com/download/750840?PHPSESSID=ab23180edc2632f75ad8b43adc1a216b&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw04/helpdata/en/9f/db9cdc35c111d1829f0000e829fbfe/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw04/helpdata/en/9f/db9cdc35c111d1829f0000e829fbfe/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MOdule user_command_0100 inut.&lt;/P&gt;&lt;P&gt;case sy-ucomm.&lt;/P&gt;&lt;P&gt;when 'B_ADD'&lt;/P&gt;&lt;P&gt;w_res = w_num1 + w_num2.&lt;/P&gt;&lt;P&gt;when 'B_SUB'.&lt;/P&gt;&lt;P&gt;w_res = w_num1 - w_num2.&lt;/P&gt;&lt;P&gt;endcase.&lt;/P&gt;&lt;P&gt;endmodule.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Reward Ponits if usefull&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;fareedas&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Fareeda Tabassum S on May 2, 2008 4:16 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 May 2008 10:45:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/simple-module-pool-program/m-p/3450944#M829031</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-02T10:45:59Z</dc:date>
    </item>
  </channel>
</rss>

