<?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: difference between parameters and select-options? in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/difference-between-parameters-and-select-options/m-p/1854304#M361426</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;For the select-options (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;But for parameters (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;&lt;/P&gt;&lt;P&gt;Hope this will help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ferry Lianto&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 04 Feb 2007 16:56:57 GMT</pubDate>
    <dc:creator>ferry_lianto</dc:creator>
    <dc:date>2007-02-04T16:56:57Z</dc:date>
    <item>
      <title>difference between parameters and select-options?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/difference-between-parameters-and-select-options/m-p/1854302#M361424</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 i know the difference between parameters and select-options (w/o intervals and extension)?????&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks in advance,&lt;/P&gt;&lt;P&gt;sanghamitra.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 04 Feb 2007 14:57:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/difference-between-parameters-and-select-options/m-p/1854302#M361424</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-04T14:57:28Z</dc:date>
    </item>
    <item>
      <title>Re: difference between parameters and select-options?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/difference-between-parameters-and-select-options/m-p/1854303#M361425</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;there is little difference between a parameter and a select-option without extension and interval, except the case where nothing is input. &lt;/P&gt;&lt;P&gt;The parameter will get the initial value, so your extraction will get records with initial value, and the select option will be empty, so extraction will get all records.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;parameter: p-matnr like mara-matnr.&lt;/P&gt;&lt;P&gt;select-options s-matnr for mara-matnr no-extension no intervals.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select count(*) from mara where matnr eq p-matnr.&lt;/P&gt;&lt;P&gt;select count(*) from mara where matnr in s-matnr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;with no input, you get 0 and number of records of your MARA table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 04 Feb 2007 15:08:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/difference-between-parameters-and-select-options/m-p/1854303#M361425</guid>
      <dc:creator>RaymondGiuseppi</dc:creator>
      <dc:date>2007-02-04T15:08:37Z</dc:date>
    </item>
    <item>
      <title>Re: difference between parameters and select-options?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/difference-between-parameters-and-select-options/m-p/1854304#M361426</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;For the select-options (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;But for parameters (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;&lt;/P&gt;&lt;P&gt;Hope this will help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ferry Lianto&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 04 Feb 2007 16:56:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/difference-between-parameters-and-select-options/m-p/1854304#M361426</guid>
      <dc:creator>ferry_lianto</dc:creator>
      <dc:date>2007-02-04T16:56:57Z</dc:date>
    </item>
    <item>
      <title>Re: difference between parameters and select-options?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/difference-between-parameters-and-select-options/m-p/1854305#M361427</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;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;Thanks,&lt;/P&gt;&lt;P&gt;Shankar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Feb 2007 03:37:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/difference-between-parameters-and-select-options/m-p/1854305#M361427</guid>
      <dc:creator>p291102</dc:creator>
      <dc:date>2007-02-05T03:37:56Z</dc:date>
    </item>
    <item>
      <title>Re: difference between parameters and select-options?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/difference-between-parameters-and-select-options/m-p/1854306#M361428</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;parameters are only taking single value so in your select query you have to compare with = parameter value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but select option is an internal table which contains 4 coloumns &lt;/P&gt;&lt;P&gt;sign &amp;lt; I (inclusive) or E (exclusive) value&amp;gt;&lt;/P&gt;&lt;P&gt;option &amp;lt; relational operator like BT, NB, CP &amp;gt;&lt;/P&gt;&lt;P&gt;low &amp;lt;from value&amp;gt;&lt;/P&gt;&lt;P&gt;high &amp;lt;to value&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so you have to use IN to check the where condition in your select.&lt;/P&gt;&lt;P&gt;select option can contain lot of selection criteria you can exclude or include single value or range. Just  click in extension button arrow mark for doing this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;shiba dutta&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Feb 2007 03:45:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/difference-between-parameters-and-select-options/m-p/1854306#M361428</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-05T03:45:41Z</dc:date>
    </item>
    <item>
      <title>Re: difference between parameters and select-options?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/difference-between-parameters-and-select-options/m-p/1854307#M361429</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Mitra,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  Parameters                                               Select-options&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="---------------------------------------------------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1.You can not enter range of Values              1. You can enter Range of Values.&lt;/P&gt;&lt;P&gt;                                                                       Ex : If you want to search &lt;/P&gt;&lt;P&gt;                                                                        record from   1 to 100&lt;/P&gt;&lt;P&gt;                                                                        here you can enter.&lt;/P&gt;&lt;P&gt;2. Hold single value                                     2.It will hold the Data as an Internal &lt;/P&gt;&lt;P&gt;                                                                      table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3.                                                               3.If you want you can enter require &lt;/P&gt;&lt;P&gt;                                                                      value not like range&lt;/P&gt;&lt;P&gt;                                                                     Ex : 1,2,7,10 ,11&lt;/P&gt;&lt;P&gt;                                                                                Hope this will help you.If So&lt;/P&gt;&lt;P&gt;   Pls. Mark.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Feb 2007 03:49:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/difference-between-parameters-and-select-options/m-p/1854307#M361429</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-05T03:49:36Z</dc:date>
    </item>
    <item>
      <title>Re: difference between parameters and select-options?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/difference-between-parameters-and-select-options/m-p/1854308#M361430</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;Using parametres you &amp;lt;b&amp;gt;can not enter values in ranges&amp;lt;/b&amp;gt;.&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;PARAMETERS: p_matnr LIKE mara-matnr.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Select-options you can enter ranges, if you dont want ranges you can specify as&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;SELECT-OPTIONS: s_matnr FOR mara-matnr NO-INTERVALS.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you dont wnat any extension, i.e no multiple values then u have to specify as&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;SELECT-OPTIONS: s_matnr FOR mara-matnr NO-EXTENSION.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When u use select-option in select query or for any comparision u have to use &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;matnr IN s_matnr.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For parameter you can use as &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;matnr = p_matnr.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this is clear.&lt;/P&gt;&lt;P&gt;Please reward points and close the thread.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Feb 2007 04:09:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/difference-between-parameters-and-select-options/m-p/1854308#M361430</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-05T04:09:40Z</dc:date>
    </item>
    <item>
      <title>Re: difference between parameters and select-options?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/difference-between-parameters-and-select-options/m-p/1854309#M361431</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;     You have most of the differences in all the previous replies..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TO add to those&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;Regards,&lt;/P&gt;&lt;P&gt;Sesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Feb 2007 04:26:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/difference-between-parameters-and-select-options/m-p/1854309#M361431</guid>
      <dc:creator>seshatalpasai_madala</dc:creator>
      <dc:date>2007-02-05T04:26:42Z</dc:date>
    </item>
  </channel>
</rss>

