<?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: ModulePool Initialization in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/modulepool-initialization/m-p/4703159#M1105098</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Nishant,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As far as I understand you need to initialize the fields only once i.e. when the program in started ...... right????.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And I also assume that the fields on the screen are pointing to the program fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For this you need to write your code in 'LOAD-OF-PROGRAM' event.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Define this event in the TOP INCLUDE of the program or the main program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This event is trigerred only once when your program is loaded for execution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this helps. &lt;/P&gt;&lt;P&gt;&lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Prakash Pandey&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 04 Nov 2008 10:44:46 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-11-04T10:44:46Z</dc:date>
    <item>
      <title>ModulePool Initialization</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/modulepool-initialization/m-p/4703155#M1105094</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Folks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a requirement where i need to initialize the modulepool screen for first time and those values in the text field can be changed later.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Nov 2008 10:31:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/modulepool-initialization/m-p/4703155#M1105094</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-04T10:31:21Z</dc:date>
    </item>
    <item>
      <title>Re: ModulePool Initialization</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/modulepool-initialization/m-p/4703156#M1105095</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;In PBO initialize the values.&lt;/P&gt;&lt;P&gt;Suppose.&lt;/P&gt;&lt;P&gt;Zdate-DATE = Sy-datum.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So when you trigger the module pool program automatically the date will be initialized in the I/O field of date.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers!!&lt;/P&gt;&lt;P&gt;VEnk@&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Nov 2008 10:33:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/modulepool-initialization/m-p/4703156#M1105095</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-04T10:33:34Z</dc:date>
    </item>
    <item>
      <title>Re: ModulePool Initialization</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/modulepool-initialization/m-p/4703157#M1105096</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Declare a variable in the TOP INCLUDE&lt;/P&gt;&lt;P&gt;DATA w_init TYPE c value 'X'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the PBO&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF w_init EQ 'X'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;**Initialize&lt;/P&gt;&lt;P&gt;CLEAR w_init.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Nov 2008 10:36:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/modulepool-initialization/m-p/4703157#M1105096</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-04T10:36:11Z</dc:date>
    </item>
    <item>
      <title>Re: ModulePool Initialization</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/modulepool-initialization/m-p/4703158#M1105097</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'll have to code the initial values in the PBO section of the module pool program. Double click on the module &amp;lt;name&amp;gt; Output, which would take you to the editor and in between the module ... endmodule statement initialize the screen fields with the appropriate values., such as txtname = '&amp;lt;value&amp;gt;'. &lt;/P&gt;&lt;P&gt;Now when you run your program the screen field input box) will contain the &amp;lt;value&amp;gt; intialized and can be changed at runtime.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sachin Dargan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Nov 2008 10:38:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/modulepool-initialization/m-p/4703158#M1105097</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-04T10:38:40Z</dc:date>
    </item>
    <item>
      <title>Re: ModulePool Initialization</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/modulepool-initialization/m-p/4703159#M1105098</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Nishant,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As far as I understand you need to initialize the fields only once i.e. when the program in started ...... right????.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And I also assume that the fields on the screen are pointing to the program fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For this you need to write your code in 'LOAD-OF-PROGRAM' event.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Define this event in the TOP INCLUDE of the program or the main program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This event is trigerred only once when your program is loaded for execution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this helps. &lt;/P&gt;&lt;P&gt;&lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Prakash Pandey&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Nov 2008 10:44:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/modulepool-initialization/m-p/4703159#M1105098</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-04T10:44:46Z</dc:date>
    </item>
  </channel>
</rss>

