<?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: How to insert a standard selection screen on moduled program? in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-insert-a-standard-selection-screen-on-moduled-program/m-p/6447378#M1413209</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;in the PAI use the statement &lt;/P&gt;&lt;P&gt;CALL SELECTION-SCREEN 9002 STARTING AT 1 1 ENDING   AT 80 80  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the PBO of 9002, call the selection screen as subscreen (u have already done it) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Anju&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 02 Dec 2009 09:54:49 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-12-02T09:54:49Z</dc:date>
    <item>
      <title>How to insert a standard selection screen on moduled program?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-insert-a-standard-selection-screen-on-moduled-program/m-p/6447368#M1413199</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;Selection screen can be easily done in classic report by just simply invoking the event "SELECTION-SCREEN"&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
SELECTION-SCREEN BEGIN OF ...
SELECT-OPTIONS ...
PARAMETERS ...
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the case of moduled program, there will be a PBO and PAI, I have a requirement on my 2nd screen where I need to have a selection screen, but the SELECTION-SCREEN event is not applicable for NOT TYPE 1(Executable) Program.&lt;/P&gt;&lt;P&gt;My Dialog Program Flow:&lt;/P&gt;&lt;P&gt;Main Screen -&amp;gt; Display Screen (should be &lt;STRONG&gt;SELECTION SCREEN&lt;/STRONG&gt;) -&amp;gt; Output (3rd screen)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What's the best alternative solution on this scenario?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Dec 2009 07:55:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-insert-a-standard-selection-screen-on-moduled-program/m-p/6447368#M1413199</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-12-02T07:55:50Z</dc:date>
    </item>
    <item>
      <title>Re: How to insert a standard selection screen on moduled program?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-insert-a-standard-selection-screen-on-moduled-program/m-p/6447369#M1413200</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jaime,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can use the fm &lt;STRONG&gt;COMPLEX_SELECTIONS_DIALOG&lt;/STRONG&gt;. For a deatiled code please search sdn.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Premal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Dec 2009 08:05:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-insert-a-standard-selection-screen-on-moduled-program/m-p/6447369#M1413200</guid>
      <dc:creator>premal_mistry2</dc:creator>
      <dc:date>2009-12-02T08:05:23Z</dc:date>
    </item>
    <item>
      <title>Re: How to insert a standard selection screen on moduled program?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-insert-a-standard-selection-screen-on-moduled-program/m-p/6447370#M1413201</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 can use&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL SELECTION-SCREEN dynnr &lt;/P&gt;&lt;P&gt;                      [STARTING AT col1 lin1 &lt;/P&gt;&lt;P&gt;                      [ENDING   AT col2 lin2]] &lt;/P&gt;&lt;P&gt;                      [USING SELECTION-SET variant]. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can check sap help for more details.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Swarna Munukoti.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Dec 2009 08:08:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-insert-a-standard-selection-screen-on-moduled-program/m-p/6447370#M1413201</guid>
      <dc:creator>former_member217544</dc:creator>
      <dc:date>2009-12-02T08:08:02Z</dc:date>
    </item>
    <item>
      <title>Re: How to insert a standard selection screen on moduled program?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-insert-a-standard-selection-screen-on-moduled-program/m-p/6447371#M1413202</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Swarna,&lt;/P&gt;&lt;P&gt;Yes, I came into that, but I realized that I have to design everything from scratch compared to the SELECTION-SCREEN event where SELECTION-OPTIONS has an automatic ranges capability.&lt;/P&gt;&lt;P&gt;Am I right?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm thinking if there's any other automatic way to recreate the SELECTION-SCREEN event / SELECTION screen for Executable programs to module pools.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Dec 2009 08:20:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-insert-a-standard-selection-screen-on-moduled-program/m-p/6447371#M1413202</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-12-02T08:20:08Z</dc:date>
    </item>
    <item>
      <title>Re: How to insert a standard selection screen on moduled program?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-insert-a-standard-selection-screen-on-moduled-program/m-p/6447372#M1413203</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jaime,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can declare a selection screen like a subscreen(like below) and then use it in your module pool program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
SELECTION-SCREEN BEGIN OF SCREEN 300 as SUBSCREEN.

   PARAMETERS...
   SELECT OPTIONS....

SELECTION-SCREEN END OF SCREEN 300.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now call this subscreen in a screen of your choice.This should work.I have tried this myself.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Avinash&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Avinash Jagtap on Dec 2, 2009 9:23 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Dec 2009 08:23:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-insert-a-standard-selection-screen-on-moduled-program/m-p/6447372#M1413203</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-12-02T08:23:18Z</dc:date>
    </item>
    <item>
      <title>Re: How to insert a standard selection screen on moduled program?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-insert-a-standard-selection-screen-on-moduled-program/m-p/6447373#M1413204</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jaime,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kindly have a look at this link&lt;/P&gt;&lt;P&gt;[http://www.sapdb.info/forums/index.php?topic=3271.0;wap2]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Premal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Dec 2009 08:27:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-insert-a-standard-selection-screen-on-moduled-program/m-p/6447373#M1413204</guid>
      <dc:creator>premal_mistry2</dc:creator>
      <dc:date>2009-12-02T08:27:54Z</dc:date>
    </item>
    <item>
      <title>Re: How to insert a standard selection screen on moduled program?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-insert-a-standard-selection-screen-on-moduled-program/m-p/6447374#M1413205</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;Try this &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;create a selection screen using &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN BEGIN OF SCREEN 1100 AS SUBSCREEN.&lt;/P&gt;&lt;P&gt;SELECT-OPTIONS: s_matnr for mara-matnr.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN END OF SCREEN 110.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Create a subscreen 9001 with a subscreen area and call the selection screen in the screen 9001  like a normal a subscreen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PROCESS BEFORE OUTPUT.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;  CALL SUBSCREEN sel_crit INCLUDING sy-repid '1100'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PROCESS AFTER INPUT.&lt;/P&gt;&lt;P&gt;  CALL SUBSCREEN sel_crit.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;what ever code needs to be done for the selection screen is done in the top incklude using selection screen events like std reports e.g. at selection screen output. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps u.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Anju&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Dec 2009 08:35:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-insert-a-standard-selection-screen-on-moduled-program/m-p/6447374#M1413205</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-12-02T08:35:42Z</dc:date>
    </item>
    <item>
      <title>Re: How to insert a standard selection screen on moduled program?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-insert-a-standard-selection-screen-on-moduled-program/m-p/6447375#M1413206</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;Check this program DEMO_SEL_SCREEN_WITH_SUBSCREEN where a selection screen is being called in a tab strip. may be you can go through the steps to implement the same while calling from your first screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Swarna Munukoti.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Dec 2009 08:42:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-insert-a-standard-selection-screen-on-moduled-program/m-p/6447375#M1413206</guid>
      <dc:creator>former_member217544</dc:creator>
      <dc:date>2009-12-02T08:42:32Z</dc:date>
    </item>
    <item>
      <title>Re: How to insert a standard selection screen on moduled program?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-insert-a-standard-selection-screen-on-moduled-program/m-p/6447376#M1413207</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just read sap documentation at [Selection Screens as Subscreens|http://help.sap.com/saphelp_nw04/helpdata/en/e7/deb237b9a9a968e10000009b38f8cf/frameset.htm] (there is a sample provided)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- [COMPLEX_SELECTIONS_DIALOG|http://wiki.sdn.sap.com/wiki/display/sandbox/Use&lt;EM&gt;the&lt;/EM&gt;functionality&lt;EM&gt;of&lt;/EM&gt;select-options&lt;EM&gt;in&lt;/EM&gt;dialog&lt;EM&gt;programming&lt;/EM&gt;%28module+pool%29] is useful for dynamic selection (like those in logical database)&lt;/P&gt;&lt;P&gt;- [CALL SELECTION-SCREEN|http://help.sap.com/abapdocu_70/en/ABAPCALL_SELECTION_SCREEN.htm] should only be used in a SELECTION-SCREEN report, not in module pool programming&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Raymond&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Dec 2009 09:01:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-insert-a-standard-selection-screen-on-moduled-program/m-p/6447376#M1413207</guid>
      <dc:creator>RaymondGiuseppi</dc:creator>
      <dc:date>2009-12-02T09:01:09Z</dc:date>
    </item>
    <item>
      <title>Re: How to insert a standard selection screen on moduled program?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-insert-a-standard-selection-screen-on-moduled-program/m-p/6447377#M1413208</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;I layout and detailed my question, please see my scenario below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;screen 9000&lt;/STRONG&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
MODULE user_command_9000 INPUT.
  CASE ok_code.
     WHEN 'CREATE'.
        CALL SCREEN 9001.
     WHEN 'DISPLAY'.
         "SHOULD CALL A SELECTION SCREEN HERE
         "AFTER THE SELECTION SCREEN, IS ANOTHER SCREEN FOR OUTPUT
    ENDCASE.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;TOP include&lt;/STRONG&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
SELECTION-SCREEN BEGIN OF SCREEN 9003 AS SUBSCREEN.
  PARAMETERS P_PLANT TYPE T001W-WERKS.
  SELECT-OPTIONS: S_MATNR    FOR MARA-MATNR,
                  S_LICHA    FOR MCHA-LICHA,
                  S_LIFNR    FOR LFA1-LIFNR.
SELECTION-SCREEN END OF SCREEN   9003.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Questions:&lt;/P&gt;&lt;P&gt;1. on the PAI of my main screen 9001, how can I call the SUBSCREEN I created using CALL SUBSCREEN?&lt;/P&gt;&lt;P&gt;    the code:&lt;/P&gt;&lt;P&gt;    &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
        CALL SUBSCREEN 9001 INCLUDING 'PROG_NAME' '9002',
     &lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;     is not working / syntax error.&lt;/P&gt;&lt;P&gt;2. Should I call it like this?&lt;/P&gt;&lt;P&gt;    &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
    WHEN 'DISPLAY'.
       CALL SCREEN 9002.
   &lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;   &lt;STRONG&gt;Screen 9002 PBO&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;     &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
        CALL SUBSCREEN 9001INCLUDING 'PROG_NAME' 9002',
     &lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;     is not working / syntax error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks all.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Jaime Cabanban on Dec 2, 2009 5:29 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Dec 2009 09:25:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-insert-a-standard-selection-screen-on-moduled-program/m-p/6447377#M1413208</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-12-02T09:25:48Z</dc:date>
    </item>
    <item>
      <title>Re: How to insert a standard selection screen on moduled program?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-insert-a-standard-selection-screen-on-moduled-program/m-p/6447378#M1413209</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;in the PAI use the statement &lt;/P&gt;&lt;P&gt;CALL SELECTION-SCREEN 9002 STARTING AT 1 1 ENDING   AT 80 80  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the PBO of 9002, call the selection screen as subscreen (u have already done it) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Anju&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Dec 2009 09:54:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-insert-a-standard-selection-screen-on-moduled-program/m-p/6447378#M1413209</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-12-02T09:54:49Z</dc:date>
    </item>
    <item>
      <title>Re: How to insert a standard selection screen on moduled program?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-insert-a-standard-selection-screen-on-moduled-program/m-p/6447379#M1413210</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jaime,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You are not calling the subscreen correctly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You need to create a new screen(say 9002) with a subscreen area(say sub_area) in it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;when 'DISPLAY'.
                CALL SCREEN '9002'.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In PBO of screen 9002 write&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;CALL SUBSCREEN sub_area INCLUDING 'PROG_NAME' '9003'.

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This should work&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Avinash&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Dec 2009 10:04:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-insert-a-standard-selection-screen-on-moduled-program/m-p/6447379#M1413210</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-12-02T10:04:44Z</dc:date>
    </item>
    <item>
      <title>Re: How to insert a standard selection screen on moduled program?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-insert-a-standard-selection-screen-on-moduled-program/m-p/6447380#M1413211</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jaime,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;While calling a subscreen, there are few more steps that need to be followed.&lt;/P&gt;&lt;P&gt;The link provided by Raymond will help you to create the subscreen in module pool&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw04/helpdata/en/e7/deb237b9a9a968e10000009b38f8cf/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw04/helpdata/en/e7/deb237b9a9a968e10000009b38f8cf/frameset.htm&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To put the same into your screen names:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Create a normal module screen 9002. In that create a subscreen area from edit -&amp;gt; Create element -&amp;gt; subscreen&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now give a name sel_1 fro that subscreen&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so to call this scubscreen when ok_code is 'DISPLAY'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
MODULE user_command_9000 INPUT.
  CASE ok_code.
     WHEN 'CREATE'.
        CALL SCREEN 9001.
     WHEN 'DISPLAY'.
        CALL SCREEN 9002.
    ENDCASE.


Now in the PBO of screen 9002, use the staements call subscreen

PROCESS BEFORE OUTPUT.
 MODULE STATUS_9002.

call subscreen sel_1 including sy-repid '9003'. " calling your defined selection screen 9003

PROCESS AFTER INPUT.

MODULE USER_COMMAND_9002.
call subscreen sel_1.

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this will help you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Swarna Munukoti.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Dec 2009 10:13:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-insert-a-standard-selection-screen-on-moduled-program/m-p/6447380#M1413211</guid>
      <dc:creator>former_member217544</dc:creator>
      <dc:date>2009-12-02T10:13:08Z</dc:date>
    </item>
  </channel>
</rss>

