<?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 pgm in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool-pgm/m-p/1708868#M310243</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Does this field belong to a table.&lt;/P&gt;&lt;P&gt;If yes, declare an internal table of this type of table &amp;amp; move the value to other screen &amp;amp; on the same screen(not previous screen) from this internal table &amp;amp; not from dictionary table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps.&lt;/P&gt;&lt;P&gt;Reward if helpful.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sipra&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 24 Nov 2006 11:53:13 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-11-24T11:53:13Z</dc:date>
    <item>
      <title>Module pool pgm</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool-pgm/m-p/1708860#M310235</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi experts,&lt;/P&gt;&lt;P&gt;In a module pool pgm,there are 2 screens.In the first screen there is a value for a field.After some coding ..after calling some FM some new value will be generated for that field.So this new value need to assinged to the same screen..and this new value needs to be passed to next screen also some times.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can any body tell me how can we do this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Nov 2006 11:44:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool-pgm/m-p/1708860#M310235</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-24T11:44:25Z</dc:date>
    </item>
    <item>
      <title>Re: Module pool pgm</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool-pgm/m-p/1708861#M310236</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Store the value in a global variable which can be accessed from both the screens.&lt;/P&gt;&lt;P&gt;In the PBO of the screens assign the local variable to the screen field and you should have the new value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ravi&lt;/P&gt;&lt;P&gt;Note - Please mark all the helpful answers&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Nov 2006 11:45:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool-pgm/m-p/1708861#M310236</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-24T11:45:53Z</dc:date>
    </item>
    <item>
      <title>Re: Module pool pgm</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool-pgm/m-p/1708862#M310237</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Declare that varible globally in the program so that it can be used in any screen.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Nov 2006 11:46:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool-pgm/m-p/1708862#M310237</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-24T11:46:34Z</dc:date>
    </item>
    <item>
      <title>Re: Module pool pgm</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool-pgm/m-p/1708863#M310238</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;   May be by assigning PARAMETER ID to it you can store it in the SAP memory and then get it using GET PARAMETER in the second screen. You can also concider using EXPORT and IMPORT as you are in one external session you can share the data between internal session using ABAP memory IMPORT and EXPORT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Nov 2006 11:47:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool-pgm/m-p/1708863#M310238</guid>
      <dc:creator>seshatalpasai_madala</dc:creator>
      <dc:date>2006-11-24T11:47:05Z</dc:date>
    </item>
    <item>
      <title>Re: Module pool pgm</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool-pgm/m-p/1708864#M310239</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;Call the FM in PAI and assign the value in PBO of the screen. this is even valid for your next part of the query.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;santhosh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Nov 2006 11:49:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool-pgm/m-p/1708864#M310239</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-24T11:49:01Z</dc:date>
    </item>
    <item>
      <title>Re: Module pool pgm</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool-pgm/m-p/1708865#M310240</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 out these link, which will help you &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sapgenie.com/abap/example_code.htm" target="test_blank"&gt;http://www.sapgenie.com/abap/example_code.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sap-img.com/" target="test_blank"&gt;http://www.sap-img.com/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_46c/helpdata/en/08/bef2dadb5311d1ad10080009b0fb56/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_46c/helpdata/en/08/bef2dadb5311d1ad10080009b0fb56/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sapgenie.com/links/abap.htm" target="test_blank"&gt;http://www.sapgenie.com/links/abap.htm&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/c9/5472fc787f11d194c90000e8353423/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw04/helpdata/en/c9/5472fc787f11d194c90000e8353423/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sapdevelopment.co.uk/dialog/dialoghome.htm" target="test_blank"&gt;http://www.sapdevelopment.co.uk/dialog/dialoghome.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;--Chandra&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Nov 2006 11:49:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool-pgm/m-p/1708865#M310240</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-24T11:49:02Z</dc:date>
    </item>
    <item>
      <title>Re: Module pool pgm</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool-pgm/m-p/1708866#M310241</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;Declare a variable in the main program.&lt;/P&gt;&lt;P&gt;Assign the value for the fields from screen1 once it's getting populated.&lt;/P&gt;&lt;P&gt;From screen2,assign the values from variables to screen fields in PBO.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Nov 2006 11:49:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool-pgm/m-p/1708866#M310241</guid>
      <dc:creator>jayanthi_jayaraman</dc:creator>
      <dc:date>2006-11-24T11:49:43Z</dc:date>
    </item>
    <item>
      <title>Re: Module pool pgm</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool-pgm/m-p/1708867#M310242</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;Here is a sample program module program with data transfer between two screens......&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PROGRAM demo_dynpro_field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: ok_code TYPE sy-ucomm,&lt;/P&gt;&lt;P&gt;      save_ok LIKE ok_code,&lt;/P&gt;&lt;P&gt;      box1(1) TYPE c, box2(1) TYPE c, box3(1) TYPE c, box4(1) TYPE c,&lt;/P&gt;&lt;P&gt;      mod1_result1(1) TYPE c, mod1_result2(1) TYPE c,&lt;/P&gt;&lt;P&gt;      mod1_result3(1) TYPE c, mod1_result4(1) TYPE c,&lt;/P&gt;&lt;P&gt;      mod2_result1(1) TYPE c, mod2_result2(1) TYPE c,&lt;/P&gt;&lt;P&gt;      mod2_result3(1) TYPE c, mod2_result4(1) TYPE c,&lt;/P&gt;&lt;P&gt;      mod3_result1(1) TYPE c, mod3_result2(1) TYPE c,&lt;/P&gt;&lt;P&gt;      mod3_result3(1) TYPE c, mod3_result4(1) TYPE c.&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;  CLEAR:  box1, box2, box3, box4.&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;  save_ok = ok_code.&lt;/P&gt;&lt;P&gt;  CLEAR ok_code.&lt;/P&gt;&lt;P&gt;  IF save_ok = 'CANCEL'.&lt;/P&gt;&lt;P&gt;    LEAVE PROGRAM.&lt;/P&gt;&lt;P&gt;  ENDIF.&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;  mod1_result1 = box1.&lt;/P&gt;&lt;P&gt;  mod1_result2 = box2.&lt;/P&gt;&lt;P&gt;  mod1_result3 = box3.&lt;/P&gt;&lt;P&gt;  mod1_result4 = box4.&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;  mod2_result1 = box1.&lt;/P&gt;&lt;P&gt;  mod2_result2 = box2.&lt;/P&gt;&lt;P&gt;  mod2_result3 = box3.&lt;/P&gt;&lt;P&gt;  mod2_result4 = box4.&lt;/P&gt;&lt;P&gt;ENDMODULE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODULE module_3 INPUT.&lt;/P&gt;&lt;P&gt;  mod3_result1 = box1.&lt;/P&gt;&lt;P&gt;  mod3_result2 = box2.&lt;/P&gt;&lt;P&gt;  mod3_result3 = box3.&lt;/P&gt;&lt;P&gt;  mod3_result4 = box4.&lt;/P&gt;&lt;P&gt;ENDMODULE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The next screen (statically defined) for screen 100 is 100. It has the following layout:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The screen fields box1, box2, box3and box4are assigned to the checkboxes on the left that are ready for input. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The screen flow logic is as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PROCESS BEFORE OUTPUT.&lt;/P&gt;&lt;P&gt;  MODULE init_screen_100.&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.&lt;/P&gt;&lt;P&gt;  MODULE module_1.&lt;/P&gt;&lt;P&gt;  FIELD box2.&lt;/P&gt;&lt;P&gt;  MODULE module_2.&lt;/P&gt;&lt;P&gt;  FIELD: box1, box3.&lt;/P&gt;&lt;P&gt;  MODULE module_3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the GUI status STATUS_100, the icon  (F12) is active with function code CANCEL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When the user selects the checkboxes and chooses ENTER to trigger the PAI event, the output fields show the dialog modules in which each screen field is available.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If all of the checkboxes are selected, the result is:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;·         The screen field box4 is transported in the PAI event, since it does not occur in any FIELDstatements.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;·         box2 is not transported until before the dialog module module_2, and is therefore not available in user_command_0100 und module_1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;·         box1 and box3 are transported before dialog module module_3, and are therefore only available in that module.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If it solved your problem, pls award points.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Nov 2006 11:52:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool-pgm/m-p/1708867#M310242</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-24T11:52:43Z</dc:date>
    </item>
    <item>
      <title>Re: Module pool pgm</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool-pgm/m-p/1708868#M310243</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Does this field belong to a table.&lt;/P&gt;&lt;P&gt;If yes, declare an internal table of this type of table &amp;amp; move the value to other screen &amp;amp; on the same screen(not previous screen) from this internal table &amp;amp; not from dictionary table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps.&lt;/P&gt;&lt;P&gt;Reward if helpful.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sipra&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Nov 2006 11:53:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool-pgm/m-p/1708868#M310243</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-24T11:53:13Z</dc:date>
    </item>
    <item>
      <title>Re: Module pool pgm</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool-pgm/m-p/1708869#M310244</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;Thanks for replies.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Nov 2006 11:55:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool-pgm/m-p/1708869#M310244</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-24T11:55:18Z</dc:date>
    </item>
  </channel>
</rss>

