<?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 program in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool-program/m-p/9284260#M1724368</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;WRT what I had said above, I am hoping these fields are master data fields which have a few entries in DB. This will not be a good idea to follow for fields like MATNR which will have lot of entries. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 05 Mar 2013 16:09:23 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2013-03-05T16:09:23Z</dc:date>
    <item>
      <title>module pool program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool-program/m-p/9284255#M1724363</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;&lt;/P&gt;&lt;P&gt;i'm now working on module pool program and my requirement is in the screen with some fields if i've entered any data which is not in the database then a pop up should rise and object me and if i perform any action on that popup like exit or cancel then it should direct me to the same screen where i can enter the correct data. Can anyone help me with this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Mar 2013 07:30:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool-program/m-p/9284255#M1724363</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-03-05T07:30:25Z</dc:date>
    </item>
    <item>
      <title>Re: module pool program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool-program/m-p/9284256#M1724364</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Vamsi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do a chain - endchain for all the fields that you want to validate. Get the possible data from DB. Check the value entered for these fields against the contents fetched from DB. If anything other than the contents from DB, throw a pop up.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;* The module mentioned in chain - endchain gets called when any of the fields mentioned in chain - endchain is not initial.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Vikram.M&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Mar 2013 08:53:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool-program/m-p/9284256#M1724364</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-03-05T08:53:37Z</dc:date>
    </item>
    <item>
      <title>Re: module pool program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool-program/m-p/9284257#M1724365</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Enoch,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The custom screen you have created will have PAI and PBO events. You will have to validate the entry entered by the user on the custom screen at PAI event. You can give error message here.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can check any module pool programs for reference. These programs start with SAPM* &lt;/P&gt;&lt;P&gt;Hope this helps!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Mar 2013 09:11:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool-program/m-p/9284257#M1724365</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-03-05T09:11:55Z</dc:date>
    </item>
    <item>
      <title>Re: module pool program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool-program/m-p/9284258#M1724366</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Enoch&lt;/P&gt;&lt;P&gt;you can use chain endchain for all the fields to validate &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OR&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can try this :&lt;/P&gt;&lt;P&gt;1.Extract all the data from the database table into an internal table in the PBO itself.&lt;/P&gt;&lt;P&gt;2.Now when the user enters data in all the fields and press on submit button.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3.You can write in PAI : In the fields on selection screen will be having data (variables with the same name ), you can binary search in the table with the field or read internal table with data&lt;/P&gt;&lt;P&gt;4.and for pop up :&lt;/P&gt;&lt;P&gt;if sy-subrc ne 0.&lt;/P&gt;&lt;P&gt;then use FM &lt;SPAN style="color: #333333; font-size: 12px; background-color: #ffffff;"&gt;POPUP_TO_CONFIRM &lt;/SPAN&gt;.&lt;/P&gt;&lt;P&gt;else its fine.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Mar 2013 09:18:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool-program/m-p/9284258#M1724366</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-03-05T09:18:58Z</dc:date>
    </item>
    <item>
      <title>Re: module pool program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool-program/m-p/9284259#M1724367</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;Have a look at these function modules&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;POPUP_FOR_INFORMATION&lt;/P&gt;&lt;P&gt;POPUP_TO_DECIDE_WM&lt;/P&gt;&lt;P&gt;POPUP_WITH_2_BUTTONS_TO_CHOOSE&lt;/P&gt;&lt;P&gt;POPUP_WITH_3_BUTTONS_TO_CHOOSE&lt;/P&gt;&lt;P&gt;POPUP_TO_CONFIRM&lt;/P&gt;&lt;P&gt;POPUP_CONTINUE_YES_NO&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;These function modules will let you know what action was performed on the pop-up.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Tooshar Bendale&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Mar 2013 09:35:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool-program/m-p/9284259#M1724367</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-03-05T09:35:27Z</dc:date>
    </item>
    <item>
      <title>Re: module pool program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool-program/m-p/9284260#M1724368</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;WRT what I had said above, I am hoping these fields are master data fields which have a few entries in DB. This will not be a good idea to follow for fields like MATNR which will have lot of entries. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Mar 2013 16:09:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool-program/m-p/9284260#M1724368</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-03-05T16:09:23Z</dc:date>
    </item>
  </channel>
</rss>

