<?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 in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/select/m-p/1662049#M293302</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;In Case 1 , You are checking for the exact value of your input.The &amp;lt;b&amp;gt;'='&amp;lt;/b&amp;gt; symbol will check equality of the input value and checks the data base is there any value with the given input.&lt;/P&gt;&lt;P&gt;parameters: p_vbeln type vbrp-vbeln,&lt;/P&gt;&lt;P&gt;p_posnr type vbrp-posnr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;start-of-selection.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select * from vbrp into ls_vb." where &amp;lt;b&amp;gt;vbeln &amp;lt;u&amp;gt;=&amp;lt;/u&amp;gt; p_vbeln&amp;lt;/b&amp;gt;.&lt;/P&gt;&lt;P&gt;append ls_vb to lt_vb.&lt;/P&gt;&lt;P&gt;endselect.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In Case 2 , you are querying database for any value as, how we go se12-Kna1 and display all values without giving any input criteria.&lt;/P&gt;&lt;P&gt;parameters: S_kunnr type kna1-kunnr.&lt;/P&gt;&lt;P&gt;start-of-selection.&lt;/P&gt;&lt;P&gt;break-point.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select * from kna1 into ws_kna1 &amp;lt;b&amp;gt;where kunnr &amp;lt;u&amp;gt;in&amp;lt;/u&amp;gt; s_kunnr&amp;lt;/b&amp;gt;.&lt;/P&gt;&lt;P&gt;append ws_kna1 to it_kna1.&lt;/P&gt;&lt;P&gt;endselect&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In both case operator will plays important role.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Raghav&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 31 Oct 2006 12:07:36 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-10-31T12:07:36Z</dc:date>
    <item>
      <title>select</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select/m-p/1662046#M293299</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;what is wrong with this select structure is nos load.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;parameters: p_vbeln type vbrp-vbeln,&lt;/P&gt;&lt;P&gt;          p_posnr type vbrp-posnr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;start-of-selection.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select * from vbrp into ls_vb." where vbeln = p_vbeln.&lt;/P&gt;&lt;P&gt;  append ls_vb to lt_vb.&lt;/P&gt;&lt;P&gt;endselect.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but this similar is ok!!!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;parameters: S_kunnr type kna1-kunnr.&lt;/P&gt;&lt;P&gt;start-of-selection.&lt;/P&gt;&lt;P&gt;break-point.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select * from kna1 into ws_kna1 where kunnr in s_kunnr.&lt;/P&gt;&lt;P&gt;  append ws_kna1 to it_kna1.&lt;/P&gt;&lt;P&gt;endselect&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Oct 2006 11:58:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select/m-p/1662046#M293299</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-31T11:58:33Z</dc:date>
    </item>
    <item>
      <title>Re: select</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select/m-p/1662047#M293300</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;parameters: p_vbeln like vbrp-vbeln,
p_posnr type vbrp-posnr.

start-of-selection.

select * from vbrp into table it_vb where vbeln = p_vbeln.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Oct 2006 12:02:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select/m-p/1662047#M293300</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-31T12:02:03Z</dc:date>
    </item>
    <item>
      <title>Re: select</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select/m-p/1662048#M293301</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;the difference is only one &lt;/P&gt;&lt;P&gt;that is parameter and select option.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in second case even if there is nothing s_kunnr select will succeeded.&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;vijay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Oct 2006 12:02:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select/m-p/1662048#M293301</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-31T12:02:16Z</dc:date>
    </item>
    <item>
      <title>Re: select</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select/m-p/1662049#M293302</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;In Case 1 , You are checking for the exact value of your input.The &amp;lt;b&amp;gt;'='&amp;lt;/b&amp;gt; symbol will check equality of the input value and checks the data base is there any value with the given input.&lt;/P&gt;&lt;P&gt;parameters: p_vbeln type vbrp-vbeln,&lt;/P&gt;&lt;P&gt;p_posnr type vbrp-posnr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;start-of-selection.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select * from vbrp into ls_vb." where &amp;lt;b&amp;gt;vbeln &amp;lt;u&amp;gt;=&amp;lt;/u&amp;gt; p_vbeln&amp;lt;/b&amp;gt;.&lt;/P&gt;&lt;P&gt;append ls_vb to lt_vb.&lt;/P&gt;&lt;P&gt;endselect.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In Case 2 , you are querying database for any value as, how we go se12-Kna1 and display all values without giving any input criteria.&lt;/P&gt;&lt;P&gt;parameters: S_kunnr type kna1-kunnr.&lt;/P&gt;&lt;P&gt;start-of-selection.&lt;/P&gt;&lt;P&gt;break-point.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select * from kna1 into ws_kna1 &amp;lt;b&amp;gt;where kunnr &amp;lt;u&amp;gt;in&amp;lt;/u&amp;gt; s_kunnr&amp;lt;/b&amp;gt;.&lt;/P&gt;&lt;P&gt;append ws_kna1 to it_kna1.&lt;/P&gt;&lt;P&gt;endselect&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In both case operator will plays important role.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Raghav&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Oct 2006 12:07:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select/m-p/1662049#M293302</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-31T12:07:36Z</dc:date>
    </item>
    <item>
      <title>Re: select</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select/m-p/1662050#M293303</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;in the second select you have to give '=' instead if 'IN'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;since it is a parameter you have to give '='&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if it is a aselect-option you will give 'IN' in where condition. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sowjanya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Oct 2006 12:09:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select/m-p/1662050#M293303</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-31T12:09:22Z</dc:date>
    </item>
  </channel>
</rss>

