<?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/1390990#M189974</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;  U can do it by 2 ways.&lt;/P&gt;&lt;P&gt;Either declare a field(F1) of type char and say length 15.Put it on your screen.&lt;/P&gt;&lt;P&gt;After choosing 1st button evaluate the fcode in pai and according to that code your select stmt. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For Customer : &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select name1&lt;/P&gt;&lt;P&gt;from kna1&lt;/P&gt;&lt;P&gt;into f1&lt;/P&gt;&lt;P&gt;where &amp;lt;condn&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For vendor :&lt;/P&gt;&lt;P&gt;select name1&lt;/P&gt;&lt;P&gt;from lfa1&lt;/P&gt;&lt;P&gt;into F1&lt;/P&gt;&lt;P&gt;where &amp;lt;condn&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is one way for solving this issue. Otherwise declare 2 different fields on screen from LFA1/kna1 if you're taing it from dictionary.&lt;/P&gt;&lt;P&gt;then in PBO loop at screen and modify as per requirement.&lt;/P&gt;&lt;P&gt;Hope this will help u.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With Rgds&lt;/P&gt;&lt;P&gt;Pradipta Ku Mishra&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 13 Jul 2006 08:33:45 GMT</pubDate>
    <dc:creator>pradiptakumar_mishra</dc:creator>
    <dc:date>2006-07-13T08:33:45Z</dc:date>
    <item>
      <title>module pool program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool-program/m-p/1390987#M189971</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi friends,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i am using 3 radiobuttons in a screen, i select first button then display the two fields company code, customer, when i select the 2 radiobutton then display the vendor in place of customer same screen, how to over write vendor in place of customer, give me solution, where its write code in PBO or PAI,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks,&lt;/P&gt;&lt;P&gt;santha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Jul 2006 06:38:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool-program/m-p/1390987#M189971</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-07-13T06:38:21Z</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/1390988#M189972</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;make  the two parameter one  for vendor  and another  for customer.&lt;/P&gt;&lt;P&gt;when u click radio button activate  customer  parameter and deactivate vendor vise versa...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Jul 2006 06:40:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool-program/m-p/1390988#M189972</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-07-13T06:40:14Z</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/1390989#M189973</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You have to write a code in PBO.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Take separated fields for the customer and vendor. Give different screen groups for both.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In pbo, code like.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at screen.&lt;/P&gt;&lt;P&gt;if screen-group1 = 'GP1' and r_1 = 'X'.&lt;/P&gt;&lt;P&gt; screen-active = 0.&lt;/P&gt;&lt;P&gt;elseif screen-group1 = 'GP2' and r_2 = 'X'.&lt;/P&gt;&lt;P&gt; screen-active = 0.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt; modify screen.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Naimesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Jul 2006 06:43:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool-program/m-p/1390989#M189973</guid>
      <dc:creator>naimesh_patel</dc:creator>
      <dc:date>2006-07-13T06:43:08Z</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/1390990#M189974</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;  U can do it by 2 ways.&lt;/P&gt;&lt;P&gt;Either declare a field(F1) of type char and say length 15.Put it on your screen.&lt;/P&gt;&lt;P&gt;After choosing 1st button evaluate the fcode in pai and according to that code your select stmt. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For Customer : &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select name1&lt;/P&gt;&lt;P&gt;from kna1&lt;/P&gt;&lt;P&gt;into f1&lt;/P&gt;&lt;P&gt;where &amp;lt;condn&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For vendor :&lt;/P&gt;&lt;P&gt;select name1&lt;/P&gt;&lt;P&gt;from lfa1&lt;/P&gt;&lt;P&gt;into F1&lt;/P&gt;&lt;P&gt;where &amp;lt;condn&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is one way for solving this issue. Otherwise declare 2 different fields on screen from LFA1/kna1 if you're taing it from dictionary.&lt;/P&gt;&lt;P&gt;then in PBO loop at screen and modify as per requirement.&lt;/P&gt;&lt;P&gt;Hope this will help u.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With Rgds&lt;/P&gt;&lt;P&gt;Pradipta Ku Mishra&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Jul 2006 08:33:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool-program/m-p/1390990#M189974</guid>
      <dc:creator>pradiptakumar_mishra</dc:creator>
      <dc:date>2006-07-13T08:33:45Z</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/1390991#M189975</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;U have a write a module in the PBO event.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PBO&lt;/P&gt;&lt;P&gt;Module disp_field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the report&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Module disp_field.&lt;/P&gt;&lt;P&gt;CAse 'X'.&lt;/P&gt;&lt;P&gt;when 'R1'.&lt;/P&gt;&lt;P&gt;Loop at screen.&lt;/P&gt;&lt;P&gt;if screen-name = 'VENDOR'&lt;/P&gt;&lt;P&gt;screen-invisible = '1'.&lt;/P&gt;&lt;P&gt;screen-visible = '0'.&lt;/P&gt;&lt;P&gt;Modify screen.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;when 'R2'.&lt;/P&gt;&lt;P&gt;if screen-name = 'CUST'&lt;/P&gt;&lt;P&gt;screen-invisible = '1'.&lt;/P&gt;&lt;P&gt;screen-visible = '0'.&lt;/P&gt;&lt;P&gt;Modify screen.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;ENDMODULE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try with this code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If useful reward points.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Vasanth&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Jul 2006 08:38:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool-program/m-p/1390991#M189975</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-07-13T08:38:32Z</dc:date>
    </item>
  </channel>
</rss>

