<?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: HI major diffrence in select-options and parameters in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/hi-major-diffrence-in-select-options-and-parameters/m-p/849485#M45923</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 believe the most impressing difference is what Murugesh has already stated at 3 . While using in a statement defining conditions, select-option will say "all entries" if it is empty. That is why, there are options as "NO-EXTENSION" "NO INTERVALS" which make a select-option seem like a parameter, but just it seems however acts as a select-option as expected.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;u&amp;gt;&amp;lt;b&amp;gt;e.g.&amp;lt;/b&amp;gt;&amp;lt;/u&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
SELECT-OPTIONS s_selobj FOR p0001-pernr 
               NO-EXTENSION NO INTERVALS .&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Obviously, the second favour is that a select-option gives the opportunity to make complex selections as including or excluding sets and/or ranges.&lt;/P&gt;&lt;P&gt;*--Serdar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 28 Dec 2004 15:11:21 GMT</pubDate>
    <dc:creator>ssimsekler</dc:creator>
    <dc:date>2004-12-28T15:11:21Z</dc:date>
    <item>
      <title>HI major diffrence in select-options and parameters</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hi-major-diffrence-in-select-options-and-parameters/m-p/849482#M45920</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;  Can any one explain me the major diffrence between select options and parameters.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I know that in select options we can give a range of values and in parameter one value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Dec 2004 06:04:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hi-major-diffrence-in-select-options-and-parameters/m-p/849482#M45920</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2004-12-23T06:04:17Z</dc:date>
    </item>
    <item>
      <title>Re: HI major diffrence in select-options and parameters</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hi-major-diffrence-in-select-options-and-parameters/m-p/849483#M45921</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Hari,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm not sure what you are expecting to be a &amp;lt;i&amp;gt;major&amp;lt;/i&amp;gt; difference. But apart from what you have said,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Select-options is actually maintained as an internal table in the program, whereas a parameters is just like any other variable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. A select options is always used as a &amp;lt;i&amp;gt;field&amp;lt;/i&amp;gt;, whereas, parameters can be used in case of a checkbox / radiobuttons too (I know this one sounds a but silly, but it is a difference nevertheless &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt; ).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For further information , the SAP Online Documentation can be helpful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Anand Mandalika.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Since you seem to be a bit new to SDN Forums, I would like to introduce you to the points system&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You assign points to the replies that you have found to be useful. It's a way to say "thanks" for the effort in the replies.&lt;/P&gt;&lt;P&gt;See: /people/mark.finnern/blog/2004/08/10/spread-the-love for directions.&lt;/P&gt;&lt;P&gt;Click on the Yellow Star icon in each reply. &lt;/P&gt;&lt;P&gt;You can give:&lt;/P&gt;&lt;P&gt;1 - 10 pointer (marks it as a solved problem)&lt;/P&gt;&lt;P&gt;2 - 6 pointers (very helpful)&lt;/P&gt;&lt;P&gt;Lots of 2 pointers (helpful)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Dec 2004 06:23:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hi-major-diffrence-in-select-options-and-parameters/m-p/849483#M45921</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2004-12-23T06:23:12Z</dc:date>
    </item>
    <item>
      <title>Re: HI major diffrence in select-options and parameters</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hi-major-diffrence-in-select-options-and-parameters/m-p/849484#M45922</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Hari,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would see following differences:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. As you have mentioned, many values/ranges can be given in the SELECT-OPTIONS. However, the parameter can hold only one value.&lt;/P&gt;&lt;P&gt;2. In the run time, we see the data w.r.t a select option as an Internal table and Parameter may be accessed as a global variable.&lt;/P&gt;&lt;P&gt;3. Consider following statements:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   a. select-options: s_matnr for mara-matnr no-extension no intervals.&lt;/P&gt;&lt;P&gt;   b. parameters: P_MATNR like mara-matnr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Both the statements look same on the selection screen. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;consider the SQLs:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;select * into corresponding fields of table g_t_mara &lt;/P&gt;&lt;P&gt;from mara &lt;/P&gt;&lt;P&gt;where&lt;/P&gt;&lt;P&gt;matnr in s_matnr.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;select * into corresponding fields of table g_t_mara &lt;/P&gt;&lt;P&gt;from mara &lt;/P&gt;&lt;P&gt;where&lt;/P&gt;&lt;P&gt;matnr eq p_matnr.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;both the SQLs give the same output if the user gives a material number on Selection screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the user does NOT give any input in selection screen, the first SQL will fetch all data from DB, whereas the SQL with the PARAMETER will fail.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So I think we should keep in mind the requirement and code accordingly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this helps you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Murugesh AS&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Dec 2004 12:56:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hi-major-diffrence-in-select-options-and-parameters/m-p/849484#M45922</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2004-12-28T12:56:37Z</dc:date>
    </item>
    <item>
      <title>Re: HI major diffrence in select-options and parameters</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hi-major-diffrence-in-select-options-and-parameters/m-p/849485#M45923</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 believe the most impressing difference is what Murugesh has already stated at 3 . While using in a statement defining conditions, select-option will say "all entries" if it is empty. That is why, there are options as "NO-EXTENSION" "NO INTERVALS" which make a select-option seem like a parameter, but just it seems however acts as a select-option as expected.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;u&amp;gt;&amp;lt;b&amp;gt;e.g.&amp;lt;/b&amp;gt;&amp;lt;/u&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
SELECT-OPTIONS s_selobj FOR p0001-pernr 
               NO-EXTENSION NO INTERVALS .&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Obviously, the second favour is that a select-option gives the opportunity to make complex selections as including or excluding sets and/or ranges.&lt;/P&gt;&lt;P&gt;*--Serdar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Dec 2004 15:11:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hi-major-diffrence-in-select-options-and-parameters/m-p/849485#M45923</guid>
      <dc:creator>ssimsekler</dc:creator>
      <dc:date>2004-12-28T15:11:21Z</dc:date>
    </item>
  </channel>
</rss>

