<?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: Select option in modular programming...? in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-option-in-modular-programming/m-p/4517861#M1068205</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;for answer to ur first Question &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best option is to go for a report program&lt;/P&gt;&lt;P&gt;If still you need to go for module pool there is one solution.&lt;/P&gt;&lt;P&gt;1. Define a subscreen on ur screen.&lt;/P&gt;&lt;P&gt;2. Define The screen as we do in report program but with addition 'AS SUBSCREEN' .&lt;/P&gt;&lt;P&gt;3.call the subscreen in ur flow logic of main screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Following code may help.&lt;/P&gt;&lt;P&gt;define this in ur top include.&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
SELECTION-SCREEN BEGIN OF SCREEN 200 AS SUBSCREEN.
SELECT-OPTIONS:
                s_vkorg1  FOR zadvhead-vkorg  NO-EXTENSION NO INTERVALS,
SELECTION-SCREEN END OF SCREEN 200.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in screen flow logic&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
PROCESS BEFORE OUTPUT.
CALL SUBSCREEN subscr_is1 INCLUDING sy-repid dynnr_is1.
"dynnr_is1 = 0200 &amp;amp; subscr_is1 = subscreen area name
 
PROCESS AFTER INPUT.
 CALL SUBSCREEN subscr_is1.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for more info &lt;/P&gt;&lt;P&gt;&lt;SPAN __jive_macro_name="message" id="5635382"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: mrugesh phatak on Oct 1, 2008 12:23 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 01 Oct 2008 10:05:15 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-10-01T10:05:15Z</dc:date>
    <item>
      <title>Select option in modular programming...?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-option-in-modular-programming/m-p/4517854#M1068198</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Abapers,&lt;/P&gt;&lt;P&gt;                 I have a problem where in i want to use select options in modullar programming.....&lt;/P&gt;&lt;P&gt;and one more thing that when ever i  am using an EXECUTE button which has been defined manually by me..&lt;/P&gt;&lt;P&gt;the report show the output but wen i am coming back to the screen and again i am using EXECUTE  butto&lt;/P&gt;&lt;P&gt;the value are repeated..&lt;/P&gt;&lt;P&gt;so can anyone answer to both of my questions pls......&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Oct 2008 09:52:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-option-in-modular-programming/m-p/4517854#M1068198</guid>
      <dc:creator>aarif_baig</dc:creator>
      <dc:date>2008-10-01T09:52:21Z</dc:date>
    </item>
    <item>
      <title>Re: Select option in modular programming...?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-option-in-modular-programming/m-p/4517855#M1068199</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;Use clear.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Midhun Abraham&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Oct 2008 09:54:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-option-in-modular-programming/m-p/4517855#M1068199</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-01T09:54:07Z</dc:date>
    </item>
    <item>
      <title>Re: Select option in modular programming...?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-option-in-modular-programming/m-p/4517856#M1068200</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use Clear&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Midhun Abraham&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Oct 2008 09:55:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-option-in-modular-programming/m-p/4517856#M1068200</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-01T09:55:00Z</dc:date>
    </item>
    <item>
      <title>Re: Select option in modular programming...?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-option-in-modular-programming/m-p/4517857#M1068201</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks,&lt;/P&gt;&lt;P&gt;      I am using clear for inetrnal table as well as for screen&lt;/P&gt;&lt;P&gt;bUt its not working...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Oct 2008 09:55:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-option-in-modular-programming/m-p/4517857#M1068201</guid>
      <dc:creator>aarif_baig</dc:creator>
      <dc:date>2008-10-01T09:55:37Z</dc:date>
    </item>
    <item>
      <title>Re: Select option in modular programming...?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-option-in-modular-programming/m-p/4517858#M1068202</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;create two i/o field and make a range table to use select option &lt;/P&gt;&lt;P&gt;&amp;amp; plz clear header line as well as body when u execute.&lt;/P&gt;&lt;P&gt;check this &lt;/P&gt;&lt;P&gt;&lt;A href="https://www.sdn.sap.com/irj/sdn/forums" target="test_blank"&gt;https://www.sdn.sap.com/irj/sdn/forums&lt;/A&gt;&lt;/P&gt;&lt;P&gt;hope it help you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: vikalp on Oct 1, 2008 12:07 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Oct 2008 09:57:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-option-in-modular-programming/m-p/4517858#M1068202</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-01T09:57:17Z</dc:date>
    </item>
    <item>
      <title>Re: Select option in modular programming...?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-option-in-modular-programming/m-p/4517859#M1068203</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;use refresh itab.&lt;/P&gt;&lt;P&gt;before populating values to itab.&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;MD&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Madhan Doraikannan on Oct 1, 2008 11:57 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Oct 2008 09:57:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-option-in-modular-programming/m-p/4517859#M1068203</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-01T09:57:25Z</dc:date>
    </item>
    <item>
      <title>Re: Select option in modular programming...?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-option-in-modular-programming/m-p/4517860#M1068204</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hey,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;try putting a break-point ok and check.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Midhun Abraham&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Oct 2008 09:57:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-option-in-modular-programming/m-p/4517860#M1068204</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-01T09:57:35Z</dc:date>
    </item>
    <item>
      <title>Re: Select option in modular programming...?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-option-in-modular-programming/m-p/4517861#M1068205</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;for answer to ur first Question &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best option is to go for a report program&lt;/P&gt;&lt;P&gt;If still you need to go for module pool there is one solution.&lt;/P&gt;&lt;P&gt;1. Define a subscreen on ur screen.&lt;/P&gt;&lt;P&gt;2. Define The screen as we do in report program but with addition 'AS SUBSCREEN' .&lt;/P&gt;&lt;P&gt;3.call the subscreen in ur flow logic of main screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Following code may help.&lt;/P&gt;&lt;P&gt;define this in ur top include.&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
SELECTION-SCREEN BEGIN OF SCREEN 200 AS SUBSCREEN.
SELECT-OPTIONS:
                s_vkorg1  FOR zadvhead-vkorg  NO-EXTENSION NO INTERVALS,
SELECTION-SCREEN END OF SCREEN 200.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in screen flow logic&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
PROCESS BEFORE OUTPUT.
CALL SUBSCREEN subscr_is1 INCLUDING sy-repid dynnr_is1.
"dynnr_is1 = 0200 &amp;amp; subscr_is1 = subscreen area name
 
PROCESS AFTER INPUT.
 CALL SUBSCREEN subscr_is1.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for more info &lt;/P&gt;&lt;P&gt;&lt;SPAN __jive_macro_name="message" id="5635382"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: mrugesh phatak on Oct 1, 2008 12:23 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Oct 2008 10:05:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-option-in-modular-programming/m-p/4517861#M1068205</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-01T10:05:15Z</dc:date>
    </item>
    <item>
      <title>Re: Select option in modular programming...?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-option-in-modular-programming/m-p/4517862#M1068206</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;make a selection screen as subscreen assigning a dynnr eg. 100&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;at selection-screen output.&lt;/P&gt;&lt;P&gt;*write as if it is PBO&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;at selection-screen.&lt;/P&gt;&lt;P&gt;*write as if it is PAI&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now in your module pool program&lt;/P&gt;&lt;P&gt;call this subscreen on the subscreen area on your screen&lt;/P&gt;&lt;P&gt;like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PBO.&lt;/P&gt;&lt;P&gt;call subscreen sub_area including sy-repid 100.&lt;/P&gt;&lt;P&gt;PAI.&lt;/P&gt;&lt;P&gt;call subscreen sub_area.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;add any no of select opitons on your selection screen. no need to fill ranges manualy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Oct 2008 10:20:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-option-in-modular-programming/m-p/4517862#M1068206</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-01T10:20:17Z</dc:date>
    </item>
  </channel>
</rss>

