<?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 module pool programing in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool-programing/m-p/1766599#M331394</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;while writing module pool programing by using table controls, we r using loop at and endloop in both pbo and pai.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;pls can any one answer why we need this and functionality of loop in both pbo and pai&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 15 Dec 2006 13:38:38 GMT</pubDate>
    <dc:creator>hareesh_tadepalli</dc:creator>
    <dc:date>2006-12-15T13:38:38Z</dc:date>
    <item>
      <title>module pool programing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool-programing/m-p/1766599#M331394</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;while writing module pool programing by using table controls, we r using loop at and endloop in both pbo and pai.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;pls can any one answer why we need this and functionality of loop in both pbo and pai&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Dec 2006 13:38:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool-programing/m-p/1766599#M331394</guid>
      <dc:creator>hareesh_tadepalli</dc:creator>
      <dc:date>2006-12-15T13:38:38Z</dc:date>
    </item>
    <item>
      <title>Re: module pool programing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool-programing/m-p/1766600#M331395</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;in PAI we use so that the process will be done record by record and &lt;/P&gt;&lt;P&gt;in PBO we use in order to transfer to multiple records to the table control.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;seenu&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;reward with necessary points if helpful&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Dec 2006 13:45:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool-programing/m-p/1766600#M331395</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-15T13:45:07Z</dc:date>
    </item>
    <item>
      <title>Re: module pool programing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool-programing/m-p/1766601#M331396</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Hareesh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We need the loop..endloop in both the PBO &amp;amp; PAI events of your screen because the LOOP statement causes the screen fields to be copied back and forth between the ABAP program and the screen field. For this reason, at least an empty LOOP...ENDLOOP must be there.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For more details on this, go to the documentation provided by SAP as under:&lt;/P&gt;&lt;P&gt;&amp;lt;a href="http://help.sap.com/saphelp_47x200/helpdata/en/9f/dbac1d35c111d1829f0000e829fbfe/frameset.htm"&amp;gt;http://help.sap.com/saphelp_47x200/helpdata/en/9f/dbac1d35c111d1829f0000e829fbfe/frameset.htm&amp;lt;/a&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Chetan.&lt;/P&gt;&lt;P&gt;PS: Reward points if this is helpful.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Dec 2006 13:45:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool-programing/m-p/1766601#M331396</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-15T13:45:29Z</dc:date>
    </item>
    <item>
      <title>Re: module pool programing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool-programing/m-p/1766602#M331397</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 addition to the above post ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;At the PBO event ,&lt;/P&gt;&lt;P&gt;the loop ..endloop , the data/records/fields are populated in the table control &lt;/P&gt;&lt;P&gt;acoording to the select condition/querry.Thus u get multiple rows in the table &lt;/P&gt;&lt;P&gt;control at PBO event .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;At  PAI event , the records of table control are generally read to monitor /check any changes done to the fields in the table control.In case of the affirmative , these changes are saved in the underlying database tables. for this purpose , the Dbase tables are modified from the internal tables in the ABAP program , which in turn are updated from the table control.&lt;/P&gt;&lt;P&gt;This requires the LOOP..Endlop block to check changes at record level.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;During the process , there is the movement of data from the screen fields to the ABAP program fields and vice versa . This is done /performed at PBO/PAI event automatically. However , the flow of data from screen fields to program fields can be controlled using CHAIN...ENDCHAIN block in the Flowlogic of the screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i hope this resolves ur query to a certain extent.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Pankaj&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Dec 2006 13:58:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool-programing/m-p/1766602#M331397</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-15T13:58:41Z</dc:date>
    </item>
  </channel>
</rss>

