<?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 options in function module in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-options-in-function-module/m-p/6174948#M1372320</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;link:[http://www.sdn.sap.com/irj/scn/advancedsearch;jsessionid=(J2EE3417500)ID0784339150DB02204806096016329031End?query=function&lt;EM&gt;module&lt;/EM&gt;select+options]&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 01 Oct 2009 06:24:36 GMT</pubDate>
    <dc:creator>kesavadas_thekkillath</dc:creator>
    <dc:date>2009-10-01T06:24:36Z</dc:date>
    <item>
      <title>select options in function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-options-in-function-module/m-p/6174942#M1372314</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i am using  the functionality of select-options in function module&lt;/P&gt;&lt;P&gt;but unlike reports if i leave it blank rather than selecting all the data it comes blank.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;how can i do that &lt;/P&gt;&lt;P&gt; my select query has 9 selection criteria and user may enter one two or three as per his need.&lt;/P&gt;&lt;P&gt;in that case the output comes out to be blank.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i checked even in forum but i could not get the answer&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;how this can be resolved&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Oct 2009 06:08:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-options-in-function-module/m-p/6174942#M1372314</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-10-01T06:08:49Z</dc:date>
    </item>
    <item>
      <title>Re: select options in function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-options-in-function-module/m-p/6174943#M1372315</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 will have to define ranges in the function module corresponding to the select-options and use it in the select query in the function module. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Vikranth&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Oct 2009 06:12:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-options-in-function-module/m-p/6174943#M1372315</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-10-01T06:12:59Z</dc:date>
    </item>
    <item>
      <title>Re: select options in function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-options-in-function-module/m-p/6174944#M1372316</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;use range.&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;ranges : r1 for gs_itab-field1.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;you can use this range in select statement,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you can also do this&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;r1-sign = 'I'.
r1-options = 'CP'.
r1-low= '*'.
append r1.

this way it will fetch all.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Oct 2009 06:17:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-options-in-function-module/m-p/6174944#M1372316</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-10-01T06:17:14Z</dc:date>
    </item>
    <item>
      <title>Re: select options in function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-options-in-function-module/m-p/6174945#M1372317</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;first make the select options as optional in the import paramters of the function module.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i am giving an example&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MATNR TYPE RSELOPTION. &amp;lt;IN THE IMPORT PARAMTER&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NOW in the source code  write as &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; SELECT * FROM mara INTO TABLE itab  WHERE matnr IN matnr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it will work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Nagaraj&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Oct 2009 06:17:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-options-in-function-module/m-p/6174945#M1372317</guid>
      <dc:creator>former_member404244</dc:creator>
      <dc:date>2009-10-01T06:17:51Z</dc:date>
    </item>
    <item>
      <title>Re: select options in function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-options-in-function-module/m-p/6174946#M1372318</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As an addition: No longer use the &lt;STRONG&gt;RANGES&lt;/STRONG&gt; statement in ABAP. It's obsolete and on top of that you can't use it in classes. So better get rid of it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Oct 2009 06:22:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-options-in-function-module/m-p/6174946#M1372318</guid>
      <dc:creator>Sm1tje</dc:creator>
      <dc:date>2009-10-01T06:22:45Z</dc:date>
    </item>
    <item>
      <title>Re: select options in function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-options-in-function-module/m-p/6174947#M1372319</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;Hi ,
Try this way.
&lt;PRE&gt;&lt;CODE&gt;
DATA:s_matnr TYPE RANGE OF mara-matnr.
TABLES mara.
SELECT SINGLE * FROM mara WHERE matnr IN s_matnr.
&lt;/CODE&gt;&lt;/PRE&gt;

Thanks
Venkat.O&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Oct 2009 06:24:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-options-in-function-module/m-p/6174947#M1372319</guid>
      <dc:creator>venkat_o</dc:creator>
      <dc:date>2009-10-01T06:24:35Z</dc:date>
    </item>
    <item>
      <title>Re: select options in function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-options-in-function-module/m-p/6174948#M1372320</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;link:[http://www.sdn.sap.com/irj/scn/advancedsearch;jsessionid=(J2EE3417500)ID0784339150DB02204806096016329031End?query=function&lt;EM&gt;module&lt;/EM&gt;select+options]&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Oct 2009 06:24:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-options-in-function-module/m-p/6174948#M1372320</guid>
      <dc:creator>kesavadas_thekkillath</dc:creator>
      <dc:date>2009-10-01T06:24:36Z</dc:date>
    </item>
  </channel>
</rss>

