<?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 create select-options in module pool program in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-create-select-options-in-module-pool-program/m-p/5862308#M1321733</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 TOP include u need to define a SELECTION-SCREEN using SELECTION-SCREEN statament:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;SELECTION-SCREEN BEGIN OF SCREEN &amp;lt;screen number&amp;gt;.
SELECT-OPTIONS: S_SELOPT FOR .........
PARAMETERS: PARAM LIKE ...............
SELECTION-SCREEN END OF SCREEN.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In a module of PBO or PAI (that depends on your logic) u can call that screen using statament CALL SELECTION-SCREEN&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Max&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 28 Jul 2009 16:42:01 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-07-28T16:42:01Z</dc:date>
    <item>
      <title>how to create select-options in module pool program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-create-select-options-in-module-pool-program/m-p/5862306#M1321731</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;i am structed at this point could you please tell me &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;how to create select-options in module pool program&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Jul 2009 16:34:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-create-select-options-in-module-pool-program/m-p/5862306#M1321731</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-28T16:34:16Z</dc:date>
    </item>
    <item>
      <title>Re: how to create select-options in module pool program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-create-select-options-in-module-pool-program/m-p/5862307#M1321732</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 the following link, you can find lots of examples.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="3760480"&gt;&lt;/A&gt;]&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;Vik&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Jul 2009 16:40:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-create-select-options-in-module-pool-program/m-p/5862307#M1321732</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-28T16:40:39Z</dc:date>
    </item>
    <item>
      <title>Re: how to create select-options in module pool program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-create-select-options-in-module-pool-program/m-p/5862308#M1321733</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 TOP include u need to define a SELECTION-SCREEN using SELECTION-SCREEN statament:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;SELECTION-SCREEN BEGIN OF SCREEN &amp;lt;screen number&amp;gt;.
SELECT-OPTIONS: S_SELOPT FOR .........
PARAMETERS: PARAM LIKE ...............
SELECTION-SCREEN END OF SCREEN.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In a module of PBO or PAI (that depends on your logic) u can call that screen using statament CALL SELECTION-SCREEN&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Max&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Jul 2009 16:42:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-create-select-options-in-module-pool-program/m-p/5862308#M1321733</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-28T16:42:01Z</dc:date>
    </item>
    <item>
      <title>Re: how to create select-options in module pool program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-create-select-options-in-module-pool-program/m-p/5862309#M1321734</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Alternatively to what Max have suggested you can include select-options to screen as subscreen. &lt;/P&gt;&lt;P&gt;This just give a bit more flexibility as you only define select-options as subscreen, the rest of the parameters are defined directly on screen layout.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Refer [Select-options in module pool screen|http://sample-code-abap.blogspot.com/2008/06/select-option-in-module-pool-screen.html]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Marcin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Jul 2009 20:50:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-create-select-options-in-module-pool-program/m-p/5862309#M1321734</guid>
      <dc:creator>MarcinPciak</dc:creator>
      <dc:date>2009-07-28T20:50:13Z</dc:date>
    </item>
    <item>
      <title>Re: how to create select-options in module pool program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-create-select-options-in-module-pool-program/m-p/5862310#M1321735</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;Try using the function module COMPLEX_SELECTIONS_DIALOG. Create a variable of type rstabfield. Say you need to create select option for the field vbeln from table vbap, then define the structure tab (type rstabfield) and tab-fieldname = 'VBELN' and tab-tablename = 'VBAP'. Pass this to the parameter tab_and_field of the function module. Create a range say r_vbeln  and paa it to the tables parameter range. The defined range will have the values you entered and you can read the table to access the values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sachin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Jul 2009 22:52:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-create-select-options-in-module-pool-program/m-p/5862310#M1321735</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-28T22:52:54Z</dc:date>
    </item>
    <item>
      <title>Re: how to create select-options in module pool program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-create-select-options-in-module-pool-program/m-p/5862311#M1321736</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN __default_attr="blue" __jive_macro_name="color"&gt;Steps to get SELECT-OPTIONS in module pool programs.
&amp;lt;li&amp;gt;. Start one dialog program with SAPZ_TEST.
&amp;lt;li&amp;gt;. Place the below code in the TOP include of the dialog program.

&lt;PRE&gt;&lt;CODE&gt;
PROGRAM SAPMZ_TEST.
TABLES mara.
SELECTION-SCREEN BEGIN OF SCREEN 2100 AS SUBSCREEN.
SELECT-OPTIONS: matnr FOR mara-matnr.
SELECTION-SCREEN END OF SCREEN 2100.&lt;/CODE&gt;&lt;/PRE&gt;


&amp;lt;li&amp;gt;. Create one screen 2000 .
&amp;lt;li&amp;gt;. Go to Layout of the screen and Define subscreen area on the screen and Name it as g_subscreen.
&amp;lt;li&amp;gt;. Place the below code in the Flow logic of the screen.

&lt;PRE&gt;&lt;CODE&gt;PROCESS BEFORE OUTPUT.
  CALL SUBSCREEN g_subscreen INCLUDING 'SAPMZ_TEST' '2100'.
 
PROCESS AFTER INPUT.
  CALL SUBSCREEN g_subscreen.&lt;/CODE&gt;&lt;/PRE&gt;

&amp;lt;li&amp;gt;. Activate all.
&amp;lt;li&amp;gt;. Create Transaction code for the dialog program SAPZ_TEST.
&amp;lt;li&amp;gt;. Execute the transaction code. You will see the select-option like we see on Selection-screen.

I hope that it gets u clear idea.

Thanks
Venkat.O&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Jul 2009 02:02:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-create-select-options-in-module-pool-program/m-p/5862311#M1321736</guid>
      <dc:creator>venkat_o</dc:creator>
      <dc:date>2009-07-29T02:02:26Z</dc:date>
    </item>
    <item>
      <title>Re: how to create select-options in module pool program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-create-select-options-in-module-pool-program/m-p/5862312#M1321737</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;SELECTION-SCREEN BEGIN OF SCREEN &amp;lt;screen number&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;USE  SELECT-OPTIONS  HERE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN END OF SCREEN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Vijay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Jul 2009 05:01:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-create-select-options-in-module-pool-program/m-p/5862312#M1321737</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-29T05:01:57Z</dc:date>
    </item>
    <item>
      <title>Re: how to create select-options in module pool program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-create-select-options-in-module-pool-program/m-p/5862313#M1321738</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi ctr.raj1,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you can use of the FM : COMPLEX_SELECTIONS_DIALOG to make select options in a module pool program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please check this link it might solve your problem.&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="4301030"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Saurabh Goel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Jul 2009 05:14:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-create-select-options-in-module-pool-program/m-p/5862313#M1321738</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-29T05:14:51Z</dc:date>
    </item>
    <item>
      <title>Re: how to create select-options in module pool program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-create-select-options-in-module-pool-program/m-p/5862314#M1321739</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;Here is another [LINK|http://sample-code-abap.blogspot.com/2008/06/select-option-in-module-pool-screen.html].&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;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sreekanth&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Jul 2009 05:18:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-create-select-options-in-module-pool-program/m-p/5862314#M1321739</guid>
      <dc:creator>sreekanthgo</dc:creator>
      <dc:date>2009-07-29T05:18:27Z</dc:date>
    </item>
  </channel>
</rss>

