<?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: Regarding module pool in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-module-pool/m-p/2449228#M548842</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 don't see any problem with your code. You better check this out&lt;/P&gt;&lt;P&gt;   ' Whether the function code is entered in the output fields and are same as the ones you have given in the program' .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 27 Jun 2007 14:21:59 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-06-27T14:21:59Z</dc:date>
    <item>
      <title>Regarding module pool</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-module-pool/m-p/2449213#M548827</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;         I am new to module pool programming. Actually i have created a simple screen where i have two input filds and one output field and 5 buttons..&lt;/P&gt;&lt;P&gt;ADD,SUBTRACT,MULTIPY ,DIVIDE and EXIT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so frnd in PAI i m not getting how to write the code for the following screen... so that i can put this logic.&lt;/P&gt;&lt;P&gt;If i enter two values and and push in any 4 buttons except exit it shuld give some result.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;fnrds plzz help...&lt;/P&gt;&lt;P&gt;&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;kavita&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Jun 2007 10:33:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-module-pool/m-p/2449213#M548827</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-27T10:33:19Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding module pool</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-module-pool/m-p/2449214#M548828</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;check this program &amp;lt;b&amp;gt;demo_dynpro_push_button&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Jun 2007 10:35:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-module-pool/m-p/2449214#M548828</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-27T10:35:22Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding module pool</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-module-pool/m-p/2449215#M548829</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;Let the fields be Number1,Number2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CASE sy-ucomm.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when '&amp;amp;ADD'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;outputfield = input1 + input2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when '&amp;amp;SUB'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;outputfield = input1 - input2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when '&amp;amp;MUL'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;outputfield = input1 * input2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when '&amp;amp;DIV'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;outputfield = input1 / input2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when '&amp;amp;EXIT'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;leave program.&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;Regards,&lt;/P&gt;&lt;P&gt;Priyanka.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Jun 2007 10:38:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-module-pool/m-p/2449215#M548829</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-27T10:38:38Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding module pool</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-module-pool/m-p/2449216#M548830</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Priyanka,&lt;/P&gt;&lt;P&gt;                  But how to link the text fields with variables.&lt;/P&gt;&lt;P&gt;                    i m unable to understand. Plz help me regarding this.&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;kavita&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Jun 2007 10:41:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-module-pool/m-p/2449216#M548830</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-27T10:41:22Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding module pool</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-module-pool/m-p/2449217#M548831</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;go to the layout editor of ur screen and click on the Dictionary/Program fields window(or click the function key F6), in the pop-up click on the button 'Get from Program' which lists all the variables declared in ur program, now select the variables and click on continue button. &lt;/P&gt;&lt;P&gt;         The varibles that are declared in the program can now be seen on ur screen, now perform ur arithmetic operations on these fields in the PAI of ur screen and populate the value of the result in the corresponding varaible.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Jun 2007 10:46:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-module-pool/m-p/2449217#M548831</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-27T10:46:45Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding module pool</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-module-pool/m-p/2449218#M548832</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Lets say your two inoput fields are called X and Y and you output field is called Z.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your PAI should look something like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PROCESS AFTER INPUT.&lt;/P&gt;&lt;P&gt;  MODULE USER_COMMAND.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The code in your user command module should look something like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODULE user_command INPUT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CASE sy-ucomm.&lt;/P&gt;&lt;P&gt;    WHEN 'ADD'.&lt;/P&gt;&lt;P&gt;      Z = X + Y.&lt;/P&gt;&lt;P&gt;    WHEN 'SUBTRACT'.&lt;/P&gt;&lt;P&gt;      Z = X - Y.&lt;/P&gt;&lt;P&gt;    WHEN 'MULTIPLY'.&lt;/P&gt;&lt;P&gt;      Z = X * Y.&lt;/P&gt;&lt;P&gt;    WHEN 'DIVIDE'.&lt;/P&gt;&lt;P&gt;      Z = X / Y.&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;You don;t really need anything in the PBO.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Jun 2007 10:47:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-module-pool/m-p/2449218#M548832</guid>
      <dc:creator>former_member378318</dc:creator>
      <dc:date>2007-06-27T10:47:10Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding module pool</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-module-pool/m-p/2449219#M548833</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hI FRNDS,&lt;/P&gt;&lt;P&gt;                I HAVE CREATED A SCREEN LIKE&lt;/P&gt;&lt;P&gt;&amp;lt;code&amp;gt;&lt;/P&gt;&lt;P&gt;    NUMBER1       TEXT-FIELD " INPUT FIELD1&lt;/P&gt;&lt;P&gt;    NUMBER2       TEXT-FIELD " INPUT FIELD2&lt;/P&gt;&lt;P&gt;    RESULT           RESULT     " OUTPUT FIELD&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    ADD SUBTRACT MULTIPLY DIVIDE EXIT &amp;lt;/code&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When i enter 20 and 10 in input and press and of the below button then i shuld get the result in result output field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Frnds i hav maintained the follwoing code, but in vain its not working out.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;code&amp;gt;&lt;/P&gt;&lt;P&gt;DATA : NUMBER1 TYPE I,&lt;/P&gt;&lt;P&gt;       NUMBER2 TYPE I,&lt;/P&gt;&lt;P&gt;       RESULT TYPE I.&lt;/P&gt;&lt;P&gt;       CASE sy-ucomm.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when '&amp;amp;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;when '&amp;amp;SUBTRACT'.&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;when '&amp;amp;MULTIPLY'.&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;when '&amp;amp;DIVIDE'.&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;when '&amp;amp;EXIT'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;leave program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Endcase.&lt;/P&gt;&lt;P&gt;&amp;lt;/code&amp;gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;kavita&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        kavita kashyap&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Jun 2007 11:05:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-module-pool/m-p/2449219#M548833</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-27T11:05:00Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding module pool</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-module-pool/m-p/2449220#M548834</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;u've to create 4 different push buttons(for each arithmetic operation) and assign the function codes(&amp;amp;ADD,&amp;amp;SUBSTRACT,&amp;amp;MULTIPLY,...) to each of them.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The function code of a pushbutton, checkbox, radio button, or dropdown box on the screen is set in the corresponding element attributes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        Rajesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Jun 2007 11:12:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-module-pool/m-p/2449220#M548834</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-27T11:12:02Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding module pool</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-module-pool/m-p/2449221#M548835</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Follow the simple example quoted by Rajesh demo_dynpro_push_button, how can you go wrong?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Jun 2007 11:12:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-module-pool/m-p/2449221#M548835</guid>
      <dc:creator>former_member378318</dc:creator>
      <dc:date>2007-06-27T11:12:04Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding module pool</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-module-pool/m-p/2449222#M548836</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hiii,&lt;/P&gt;&lt;P&gt;data:a(10), b(10), c(10). &lt;/P&gt;&lt;P&gt;case sy-ucomm.&lt;/P&gt;&lt;P&gt;when 'a'.&lt;/P&gt;&lt;P&gt;c = a + b.&lt;/P&gt;&lt;P&gt;wnen 'e'.&lt;/P&gt;&lt;P&gt;c = a / b.&lt;/P&gt;&lt;P&gt;when 'l'.&lt;/P&gt;&lt;P&gt;leave program.&lt;/P&gt;&lt;P&gt;end case.&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this is a sample prg&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;pradeep&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Jun 2007 11:26:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-module-pool/m-p/2449222#M548836</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-27T11:26:14Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding module pool</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-module-pool/m-p/2449223#M548837</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI.&lt;/P&gt;&lt;P&gt;refer this code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CASE sy-ucomm.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    WHEN 'PB_CREATE'.&lt;/P&gt;&lt;P&gt;whatever do u want to code, write here&lt;/P&gt;&lt;P&gt;    WHEN 'PB_UPDATE'.&lt;/P&gt;&lt;P&gt;whatever do u want to code, write here&lt;/P&gt;&lt;P&gt;    WHEN 'PB_DISPLAY'.&lt;/P&gt;&lt;P&gt;whatever do u want to code, write here&lt;/P&gt;&lt;P&gt;    WHEN 'PB_LIST'.&lt;/P&gt;&lt;P&gt;whatever do u want to code, write here&lt;/P&gt;&lt;P&gt;    WHEN 'PB_SAVE'.&lt;/P&gt;&lt;P&gt;whatever do u want to code, write here&lt;/P&gt;&lt;P&gt;endcase.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward all helpfull answers.&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;P&gt;Jay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Jun 2007 11:31:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-module-pool/m-p/2449223#M548837</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-27T11:31:32Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding module pool</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-module-pool/m-p/2449224#M548838</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi , Can anyone give me their id so that i can send me wht i have done so that they can rectify me ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;kavita&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Jun 2007 11:35:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-module-pool/m-p/2449224#M548838</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-27T11:35:36Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding module pool</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-module-pool/m-p/2449225#M548839</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi kavita,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-&amp;gt; U have created a screen. Say the buttons and function codes are as follows,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Two input fields  be INPUT1 and INPUT2&lt;/P&gt;&lt;P&gt;The output field be OUTPUT&lt;/P&gt;&lt;P&gt;Five buttons have FCODE as ADD, SUBTRACT, MULTIPLY, DIVIDE and EXIT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-&amp;gt; Define the screen fields in your program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Data: input1 type string, input2 type string, output type string.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-&amp;gt; Your PAI (Process After Input) has the code of what is to be done once user performs any action on the screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So all you have to do is write a logic which stores the input screen fields and the okcode to temporary variables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;say, okcode to save_okcode. and intput1 to i_input1, input2 to i_input2...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-&amp;gt; Your PBO (Process Before Output) has the code to perform whatever you have to do before showing the changes on the screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, write a logic like...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;case save_okcode.&lt;/P&gt;&lt;P&gt;when 'ADD'.&lt;/P&gt;&lt;P&gt;    output = input1 + input2.&lt;/P&gt;&lt;P&gt;endcase.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This should do..&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>Wed, 27 Jun 2007 11:46:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-module-pool/m-p/2449225#M548839</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-27T11:46:54Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding module pool</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-module-pool/m-p/2449226#M548840</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi frnds,&lt;/P&gt;&lt;P&gt;               still i m not getting.. Plz look into my code again.....&lt;/P&gt;&lt;P&gt;When i m creating screen .. follwoing data i hav given&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODULE USER_COMMAND_9001 INPUT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA : NUMBER1 TYPE I VALUE 10,&lt;/P&gt;&lt;P&gt;       NUMBER2 TYPE I VALUE 20,&lt;/P&gt;&lt;P&gt;       RESULT TYPE I.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CASE sy-ucomm.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when '&amp;amp;ADD'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;RESULT = NUMBER1 + NUMBER2.&lt;/P&gt;&lt;P&gt;when '&amp;amp;SUB'.&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;when '&amp;amp;MUL'.&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;when '&amp;amp;DIV'.&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;when '&amp;amp;EXIT'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;leave program.&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;My issue is when i m entering data in number1 and number2 and press ADD button nothing is coming in result output.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i need the addition result shuld be shown in result output field.&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;kavita&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Jun 2007 14:03:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-module-pool/m-p/2449226#M548840</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-27T14:03:31Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding module pool</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-module-pool/m-p/2449227#M548841</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try declaring NUMBER1, NUMBER2 and RESULT as globals in the TOP include of your dialog program. I know module declarations are global but moving them to the TOP include may help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Jun 2007 14:11:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-module-pool/m-p/2449227#M548841</guid>
      <dc:creator>former_member378318</dc:creator>
      <dc:date>2007-06-27T14:11:46Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding module pool</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-module-pool/m-p/2449228#M548842</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 don't see any problem with your code. You better check this out&lt;/P&gt;&lt;P&gt;   ' Whether the function code is entered in the output fields and are same as the ones you have given in the program' .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Jun 2007 14:21:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-module-pool/m-p/2449228#M548842</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-27T14:21:59Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding module pool</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-module-pool/m-p/2449229#M548843</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi kavita,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have done the same program. It works fine... try copying into ur's and run...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-&amp;gt; create a module pool program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;PROGRAM  ZNAN_TEST1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: input1 type string,&lt;/P&gt;&lt;P&gt;      i_input1 like input1,&lt;/P&gt;&lt;P&gt;      input2 type string,&lt;/P&gt;&lt;P&gt;      i_input2 like input2,&lt;/P&gt;&lt;P&gt;      output type string,&lt;/P&gt;&lt;P&gt;      okcode type sy-ucomm,&lt;/P&gt;&lt;P&gt;      save_okcode like okcode.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODULE STATUS_0100 output.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;case save_okcode.&lt;/P&gt;&lt;P&gt;when 'ADD'.&lt;/P&gt;&lt;P&gt;output = i_input1 + i_input2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WHEN 'SUBTRACT'.&lt;/P&gt;&lt;P&gt;OUTPUT = I_INPUT1 - I_INPUT2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WHEN 'MULTIPLY'.&lt;/P&gt;&lt;P&gt;OUTPUT = I_INPUT1 * I_INPUT2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WHEN 'DIVIDE'.&lt;/P&gt;&lt;P&gt;OUTPUT = I_INPUT1 / I_INPUT2.&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;MODULE USER_COMMAND_0100 input.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i_input1 = input1.&lt;/P&gt;&lt;P&gt;i_input2 = input2.&lt;/P&gt;&lt;P&gt;save_okcode = okcode.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endmodule.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-&amp;gt; The Screen has the following items.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INPUT1        AN INPUT BOX&lt;/P&gt;&lt;P&gt;INPUT2        AN INPUT BOX&lt;/P&gt;&lt;P&gt;OUTPUT      AN INPUT BOX with the OUTPUT ONLY option enabled.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ADD            BUTTON WITH FCODE -&amp;gt; ADD&lt;/P&gt;&lt;P&gt;SUBTRACT  BUTTON WITH FCODE -&amp;gt; SUBTRACT&lt;/P&gt;&lt;P&gt;MULTIPLY   BUTTON WITH FCODE -&amp;gt; MULTIPLY&lt;/P&gt;&lt;P&gt;DIVIDE        BUTTON WITH FCODE -&amp;gt; DIVIDE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DEFINE OKCODE ALSO.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-&amp;gt; screen code is as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;PROCESS BEFORE OUTPUT.&lt;/P&gt;&lt;P&gt; MODULE STATUS_0100.&lt;/P&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;PROCESS AFTER INPUT.&lt;/P&gt;&lt;P&gt; MODULE USER_COMMAND_0100.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This works fine!!&lt;/P&gt;&lt;P&gt;Pls. do let me know if it works!!&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>Thu, 28 Jun 2007 05:29:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-module-pool/m-p/2449229#M548843</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-28T05:29:01Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding module pool</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-module-pool/m-p/2449230#M548844</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Dear,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Please make sure that you have given I/O variables names as NUMBER1 AND NUMBER2 . If you did like so, please check your Function codes assigned.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Ramesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 01 May 2016 16:34:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-module-pool/m-p/2449230#M548844</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2016-05-01T16:34:59Z</dc:date>
    </item>
  </channel>
</rss>

