<?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 querry in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-querry/m-p/1656428#M291362</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Line,&lt;/P&gt;&lt;P&gt;Try following......&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT ebeln&lt;/P&gt;&lt;P&gt;             ebelp&lt;/P&gt;&lt;P&gt;             belnr&lt;/P&gt;&lt;P&gt;             budat&lt;/P&gt;&lt;P&gt;             menge&lt;/P&gt;&lt;P&gt;             dmbtr&lt;/P&gt;&lt;P&gt;             matnr&lt;/P&gt;&lt;P&gt;             werks&lt;/P&gt;&lt;P&gt;             bewtp &lt;/P&gt;&lt;P&gt;into corresponding fields of table lt_ekbe FROM ekbe&lt;/P&gt;&lt;P&gt;WHERE matnr IN so_matnr AND &lt;/P&gt;&lt;P&gt;             budat IN so_budat AND &lt;/P&gt;&lt;P&gt;           ( bewtp EQ 'E'  OR bewtp EQ 'Q' ) .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this helps you...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Enjoy SAP.&lt;/P&gt;&lt;P&gt;Pankaj Singh.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 16 Nov 2006 08:46:11 GMT</pubDate>
    <dc:creator>messier31</dc:creator>
    <dc:date>2006-11-16T08:46:11Z</dc:date>
    <item>
      <title>select querry</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-querry/m-p/1656426#M291360</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Friends,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need the bewtp to check twice with E and Q, My select querry is picking all the data. Pls check the select statement and correct it &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; SELECT ebeln&lt;/P&gt;&lt;P&gt;         ebelp&lt;/P&gt;&lt;P&gt;         belnr&lt;/P&gt;&lt;P&gt;         budat&lt;/P&gt;&lt;P&gt;         menge&lt;/P&gt;&lt;P&gt;         dmbtr&lt;/P&gt;&lt;P&gt;         matnr&lt;/P&gt;&lt;P&gt;         werks&lt;/P&gt;&lt;P&gt;         bewtp into corresponding fields of table lt_ekbe FROM ekbe&lt;/P&gt;&lt;P&gt;         WHERE matnr IN so_matnr&lt;/P&gt;&lt;P&gt;               AND budat IN so_budat&lt;/P&gt;&lt;P&gt;               and bewtp EQ 'E'&lt;/P&gt;&lt;P&gt;               OR bewtp EQ 'Q'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanx and regards,,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Turbin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Nov 2006 08:38:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-querry/m-p/1656426#M291360</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-16T08:38:36Z</dc:date>
    </item>
    <item>
      <title>Re: select querry</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-querry/m-p/1656427#M291361</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;SELECT ebeln&lt;/P&gt;&lt;P&gt;ebelp&lt;/P&gt;&lt;P&gt;belnr&lt;/P&gt;&lt;P&gt;budat&lt;/P&gt;&lt;P&gt;menge&lt;/P&gt;&lt;P&gt;dmbtr&lt;/P&gt;&lt;P&gt;matnr&lt;/P&gt;&lt;P&gt;werks&lt;/P&gt;&lt;P&gt;bewtp into corresponding fields of table lt_ekbe FROM ekbe&lt;/P&gt;&lt;P&gt;WHERE matnr IN so_matnr&lt;/P&gt;&lt;P&gt;AND budat IN so_budat&lt;/P&gt;&lt;P&gt;and &amp;lt;b&amp;gt;( bewtp EQ 'E' OR bewtp EQ 'Q' )&amp;lt;/b&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do the changes as highlighted.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ravi&lt;/P&gt;&lt;P&gt;Note : Please mark all the helpful answers&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Nov 2006 08:40:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-querry/m-p/1656427#M291361</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-16T08:40:42Z</dc:date>
    </item>
    <item>
      <title>Re: select querry</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-querry/m-p/1656428#M291362</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Line,&lt;/P&gt;&lt;P&gt;Try following......&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT ebeln&lt;/P&gt;&lt;P&gt;             ebelp&lt;/P&gt;&lt;P&gt;             belnr&lt;/P&gt;&lt;P&gt;             budat&lt;/P&gt;&lt;P&gt;             menge&lt;/P&gt;&lt;P&gt;             dmbtr&lt;/P&gt;&lt;P&gt;             matnr&lt;/P&gt;&lt;P&gt;             werks&lt;/P&gt;&lt;P&gt;             bewtp &lt;/P&gt;&lt;P&gt;into corresponding fields of table lt_ekbe FROM ekbe&lt;/P&gt;&lt;P&gt;WHERE matnr IN so_matnr AND &lt;/P&gt;&lt;P&gt;             budat IN so_budat AND &lt;/P&gt;&lt;P&gt;           ( bewtp EQ 'E'  OR bewtp EQ 'Q' ) .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this helps you...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Enjoy SAP.&lt;/P&gt;&lt;P&gt;Pankaj Singh.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Nov 2006 08:46:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-querry/m-p/1656428#M291362</guid>
      <dc:creator>messier31</dc:creator>
      <dc:date>2006-11-16T08:46:11Z</dc:date>
    </item>
    <item>
      <title>Re: select querry</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-querry/m-p/1656429#M291363</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;SELECT ebeln&lt;/P&gt;&lt;P&gt;ebelp&lt;/P&gt;&lt;P&gt;belnr&lt;/P&gt;&lt;P&gt;budat&lt;/P&gt;&lt;P&gt;menge&lt;/P&gt;&lt;P&gt;dmbtr&lt;/P&gt;&lt;P&gt;matnr&lt;/P&gt;&lt;P&gt;werks&lt;/P&gt;&lt;P&gt;bewtp into corresponding fields of table lt_ekbe FROM ekbe&lt;/P&gt;&lt;P&gt;WHERE matnr IN so_matnr&lt;/P&gt;&lt;P&gt;AND budat IN so_budat&lt;/P&gt;&lt;P&gt;and (bewtp EQ 'E' OR bewtp EQ 'Q' ).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        V.S.N.A.Subhakar Ramineni&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Nov 2006 08:55:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-querry/m-p/1656429#M291363</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-16T08:55:09Z</dc:date>
    </item>
    <item>
      <title>Re: select querry</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-querry/m-p/1656430#M291364</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;lt;b&amp;gt;Just for your info&amp;lt;/b&amp;gt;, we can acheive the same as below too...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;SELECT ebeln ebelp belnr budat menge 
              dmbtr matnr werks bewtp 
              into corresponding fields of table lt_ekbe 
              FROM ekbe
              WHERE matnr IN so_matnr
              AND budat IN so_budat
              and bewtp &amp;lt;b&amp;gt;IN ('E', 'Q').&amp;lt;/b&amp;gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind Regards&lt;/P&gt;&lt;P&gt;Eswar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Nov 2006 09:01:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-querry/m-p/1656430#M291364</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-16T09:01:50Z</dc:date>
    </item>
  </channel>
</rss>

