<?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: diff b/w parameters &amp; select-options in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/diff-b-w-parameters-select-options/m-p/2096366#M436509</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Parameters takes single value &lt;/P&gt;&lt;P&gt;and we use  = in where condition for that field&lt;/P&gt;&lt;P&gt;When you declare select-options a selection tables like Internal table with 4 fields like SIGN,OPTION,LOW and High gets created to store the multiple values that are entered in the select -options.&lt;/P&gt;&lt;P&gt;and and we use  IN  in where condition for that s select-options field&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reward if useful&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Anji&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 11 Apr 2007 07:10:54 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-04-11T07:10:54Z</dc:date>
    <item>
      <title>diff b/w parameters &amp; select-options</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/diff-b-w-parameters-select-options/m-p/2096363#M436506</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;what z the difference between Parameters and select options other than&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;parameters - only one value can be accepted whereas&lt;/P&gt;&lt;P&gt;select options - range of values&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Apr 2007 07:07:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/diff-b-w-parameters-select-options/m-p/2096363#M436506</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-11T07:07:43Z</dc:date>
    </item>
    <item>
      <title>Re: diff b/w parameters &amp; select-options</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/diff-b-w-parameters-select-options/m-p/2096364#M436507</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kota,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Difference between Select-Options and Parameters &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The main difference between select-options and parameters is that the select-option creates a selection table consisting of 4 fields. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please go thru the following details to learn more bout it... &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Description of the individual components: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SIGN &lt;/P&gt;&lt;P&gt;The data type of SIGN is C with length 1. The contents of SIGN determine for each row whether the result of the row condition is to be included in or excluded from the resulting set of all rows. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Possible values are I and E. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;#150; I stands for "inclusive" (inclusion criterion - operators are not inverted) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;#150; E stands for "exclusive" (exclusion criterion - operators are inverted) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OPTION &lt;/P&gt;&lt;P&gt;The data type of OPTION is C with length 2. OPTION contains the selection operator. The following operators are available: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;#150; If HIGH is empty, you can use EQ, NE, GT, LE, LT,CP, and NP. These operators are the same as those that are used for logical expressions. Yet operators CP and NP do not have the full functional scope they have in normal logical expressions. They are only allowed if wildcards ( '*' or '+' ) are used in the input fields. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If wildcards are entered on the selection screen, the system automatically uses the operator CP. The escape character is defined as #. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;#150; If HIGH is filled, you can use BT (BeTween) and NB (Not Between). These operators correspond to BETWEEN &lt;/P&gt;&lt;P&gt;and NOT BETWEEN that you use when you check if a field belongs to a range. You cannot use wildcard characters. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- LOW &lt;/P&gt;&lt;P&gt;The data type of LOW is the same as the column type of the database table, to which the selection criterion is linked. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;#150; If HIGH is empty, the contents of LOW define a single field comparison. In combination with the operator in OPTION, it specifies a condition for the database selection. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;#150; If HIGH is filled, the contents of LOW and HIGH specify the upper and lower limits for a range. In combination with the operator in OPTION, the range specifies a condition for the database selection. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- HIGH &lt;/P&gt;&lt;P&gt;The data type of HIGH is the same as the column type of the database table, to which the selection criterion is linked. The contents of HIGH specify the upper limit for a range selection. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The parameter statement does not create a selection table . &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The second thing is select-option gives us a range for selection, whereas parameter doesn't . &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Using the parameter you can define radio buttons and checkboxes where as select-options can't . &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With PARAMETERS you can force a VALUE CHECK (through Foriegn key or Domain Values) Where as you cannot do this in SELECT-OPTIONS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The KEYWORD for PARAMETERS is VALUE CHECK.&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;Priyanka.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Apr 2007 07:10:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/diff-b-w-parameters-select-options/m-p/2096364#M436507</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-11T07:10:27Z</dc:date>
    </item>
    <item>
      <title>Re: diff b/w parameters &amp; select-options</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/diff-b-w-parameters-select-options/m-p/2096365#M436508</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The main difference lies in the data selection when parameters and select options are used. Using a parameter, if the selection screen field is left blank, then no data is selected. But if the select option is left blank and is used in select statement, all the data from db is selected.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Another difference is that parameter acts as a variable whereas select option acts as an internal table with a predefined structure.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Apr 2007 07:10:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/diff-b-w-parameters-select-options/m-p/2096365#M436508</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-11T07:10:45Z</dc:date>
    </item>
    <item>
      <title>Re: diff b/w parameters &amp; select-options</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/diff-b-w-parameters-select-options/m-p/2096366#M436509</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Parameters takes single value &lt;/P&gt;&lt;P&gt;and we use  = in where condition for that field&lt;/P&gt;&lt;P&gt;When you declare select-options a selection tables like Internal table with 4 fields like SIGN,OPTION,LOW and High gets created to store the multiple values that are entered in the select -options.&lt;/P&gt;&lt;P&gt;and and we use  IN  in where condition for that s select-options field&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reward if useful&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Anji&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Apr 2007 07:10:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/diff-b-w-parameters-select-options/m-p/2096366#M436509</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-11T07:10:54Z</dc:date>
    </item>
    <item>
      <title>Re: diff b/w parameters &amp; select-options</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/diff-b-w-parameters-select-options/m-p/2096367#M436510</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;Yes u r correct..we can have only one value for parameters and for select-options we have range of values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;plz go through the below link...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sap-basis-abap.com/abap/difference-between-select-options-and-parameters.htm" target="test_blank"&gt;http://www.sap-basis-abap.com/abap/difference-between-select-options-and-parameters.htm&lt;/A&gt;&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>Wed, 11 Apr 2007 07:12:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/diff-b-w-parameters-select-options/m-p/2096367#M436510</guid>
      <dc:creator>former_member404244</dc:creator>
      <dc:date>2007-04-11T07:12:14Z</dc:date>
    </item>
    <item>
      <title>Re: diff b/w parameters &amp; select-options</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/diff-b-w-parameters-select-options/m-p/2096368#M436511</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You have also some other differences :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;VALUE CHECKING :&lt;/P&gt;&lt;P&gt;parameters you have to use  =, &amp;gt;, &amp;lt;&amp;gt;, ...&lt;/P&gt;&lt;P&gt;select-options you have to use IN&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With select-options, if the user don't put any value, it will means that all data are correct. Not with parameters.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example :&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;SELECT *
   FROM mara
   WHERE
     MATNR IN s_matnr.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;If s_matnr is initial you will return all datas&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;SELECT *
   FROM mara
   WHERE
     MATNR = p_matnr.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;If p_matnr is initial you won't have any data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this help,&lt;/P&gt;&lt;P&gt;Mathieu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Apr 2007 07:12:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/diff-b-w-parameters-select-options/m-p/2096368#M436511</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-11T07:12:48Z</dc:date>
    </item>
    <item>
      <title>Re: diff b/w parameters &amp; select-options</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/diff-b-w-parameters-select-options/m-p/2096369#M436512</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;&amp;lt;b&amp;gt;For the select-options&amp;lt;/b&amp;gt; (complex selection), you will be using IN operator in the SQL..If there is no record in the select-options the field value in the where clause is not considered.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;But for parameters&amp;lt;/b&amp;gt; (single selection), you will be using EQ operator in the SQL..if there is no value in the parameter which means blank..Then if you are selecting with a blank value you will not get any record..unless there is a record available in the database with a blank value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;It is because of the select-options property that when it is leave empty all values will be selected. and when parameter is empty no value will be selected.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;ravish&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;plz reward points if helpful&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Apr 2007 07:20:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/diff-b-w-parameters-select-options/m-p/2096369#M436512</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-11T07:20:57Z</dc:date>
    </item>
  </channel>
</rss>

