<?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-optins doubt in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-optins-doubt/m-p/3672461#M884487</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you all, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for sending replies and claring my doubt. I will allot points to all repliers. &lt;/P&gt;&lt;P&gt;I have one more doubt. if this statement selects only 500. then how it is different from &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PARAMETERS : p_matnr like mara-matnr DEFAULT '500'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT * from mara into table i_mara where matnr = p_matnr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;is there any performance issues?? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Which one should i prepfer ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;P&gt;madhu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 16 Apr 2008 18:18:11 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-04-16T18:18:11Z</dc:date>
    <item>
      <title>select-optins doubt</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-optins-doubt/m-p/3672454#M884480</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear All, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can you please clarify this. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select-option : s_matnr for mara-matnr default '500' no-display.&lt;/P&gt;&lt;P&gt;data i_mara like mara occurs 0 with header line. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select * from mara into table i_mara where matnr in s_matnr. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now what data is being selected ??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) Only matnr number 500 ?? or &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) material number 500 and more ??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;madhu&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Alvaro Tejada Galindo on Apr 16, 2008 12:51 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Apr 2008 16:40:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-optins-doubt/m-p/3672454#M884480</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-16T16:40:11Z</dc:date>
    </item>
    <item>
      <title>Re: select-optins doubt</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-optins-doubt/m-p/3672455#M884481</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;do this way ...&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
initializaion.
s_matnr-low = '500'.
s_matnr-option 'EQ'.
append s_manr.
clear s_matnr.

select-option : s_matnr for mara-matnr no-display.
data i_mara like mara occurs 0 with header line.

select * from mara into table i_mara where matnr in s_matnr.  &lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Apr 2008 16:43:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-optins-doubt/m-p/3672455#M884481</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-16T16:43:08Z</dc:date>
    </item>
    <item>
      <title>Re: select-optins doubt</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-optins-doubt/m-p/3672456#M884482</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Only one row with material 500 is selected.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helped you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards.&lt;/P&gt;&lt;P&gt;Valter Oliveira.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Apr 2008 16:45:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-optins-doubt/m-p/3672456#M884482</guid>
      <dc:creator>valter_oliveira</dc:creator>
      <dc:date>2008-04-16T16:45:59Z</dc:date>
    </item>
    <item>
      <title>Re: select-optins doubt</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-optins-doubt/m-p/3672457#M884483</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This particular SELECT-OPTIONS will not display if it is the only selection screen field.  it will bypass it and use 500 and 500 only as your parameter in the select.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If there are more fields on the screen, it simply will not show up and the parameter is still set to 500.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Again, if this is the only field on the selection screen, it is a good chance this report is called from another program and the select-options field can be set from there.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Apr 2008 16:46:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-optins-doubt/m-p/3672457#M884483</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-16T16:46:04Z</dc:date>
    </item>
    <item>
      <title>Re: select-optins doubt</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-optins-doubt/m-p/3672458#M884484</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;now what data is being selected ??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) Only matnr number 500 ?? or &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) material number 500 and more ??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Well, it does select only the matnr 500 because, when you say default 500 - this is low value and nothing but paramter.&lt;/P&gt;&lt;P&gt;if you want to select greater than 500 - you need to change the selection option from EQ to GT.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Apr 2008 16:46:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-optins-doubt/m-p/3672458#M884484</guid>
      <dc:creator>former_member191735</dc:creator>
      <dc:date>2008-04-16T16:46:06Z</dc:date>
    </item>
    <item>
      <title>Re: select-optins doubt</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-optins-doubt/m-p/3672459#M884485</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;It will retrieve the records with 500 material number only.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sriram Ponna.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Apr 2008 16:49:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-optins-doubt/m-p/3672459#M884485</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-16T16:49:12Z</dc:date>
    </item>
    <item>
      <title>Re: select-optins doubt</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-optins-doubt/m-p/3672460#M884486</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;ti will picks only one value 500 only...&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;venkat&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Apr 2008 16:58:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-optins-doubt/m-p/3672460#M884486</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-16T16:58:06Z</dc:date>
    </item>
    <item>
      <title>Re: select-optins doubt</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-optins-doubt/m-p/3672461#M884487</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you all, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for sending replies and claring my doubt. I will allot points to all repliers. &lt;/P&gt;&lt;P&gt;I have one more doubt. if this statement selects only 500. then how it is different from &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PARAMETERS : p_matnr like mara-matnr DEFAULT '500'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT * from mara into table i_mara where matnr = p_matnr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;is there any performance issues?? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Which one should i prepfer ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;P&gt;madhu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Apr 2008 18:18:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-optins-doubt/m-p/3672461#M884487</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-16T18:18:11Z</dc:date>
    </item>
    <item>
      <title>Re: select-optins doubt</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-optins-doubt/m-p/3672462#M884488</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you are trying to get a single record from MARA, then it would be better to use the parameter instead as using a select-option here is a little ambiguous.  On a technical level, there may not be much difference in performance, as the runtime may translate the select-option to an  =  expression when hitting the DB anyway.  But I guess you could have some overhead from this translation, but not enough to notice I would think.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Apr 2008 18:23:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-optins-doubt/m-p/3672462#M884488</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2008-04-16T18:23:30Z</dc:date>
    </item>
    <item>
      <title>Re: select-optins doubt</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-optins-doubt/m-p/3672463#M884489</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank You Rich and others, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Closing thread and alloting points. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;madhu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Apr 2008 18:30:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-optins-doubt/m-p/3672463#M884489</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-16T18:30:17Z</dc:date>
    </item>
  </channel>
</rss>

