<?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 query in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-query/m-p/3126798#M742697</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hai amar actullay i am not at desk but try this first write: greater copndition with the brackets if possibel or else without brackets also possible..and then use the equal to condition and post me the answer.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 27 Nov 2007 06:00:30 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-11-27T06:00:30Z</dc:date>
    <item>
      <title>select query</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-query/m-p/3126793#M742692</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello All,&lt;/P&gt;&lt;P&gt;   i would like to select all the entries from EKET table with menge is greater than wemng. for this i have written a query like&lt;/P&gt;&lt;P&gt;            &lt;/P&gt;&lt;P&gt;            select * into table lt_eket from eket for all entries in lt_ekko where ebeln = lt_ekko-ebeln  and menge GT lt_eket-wemng .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this is nor giving any error, but after execution i am also getting the lines in lt_eket that wont satisfy my condition .&lt;/P&gt;&lt;P&gt;can someone please suggest what would be the right query? &lt;/P&gt;&lt;P&gt;(selecting into internal table , looping through it and deleting the entries is causing lot of performance problem)&lt;/P&gt;&lt;P&gt;is there any solution with single query&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;P&gt;Amarender Reddy B&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Nov 2007 05:42:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-query/m-p/3126793#M742692</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-27T05:42:57Z</dc:date>
    </item>
    <item>
      <title>Re: select query</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-query/m-p/3126794#M742693</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;what amarnath..? check out once..plz..if au r ausing the for all entries condition ur basic thing is to check the ionternal table is initial or not..&lt;/P&gt;&lt;P&gt;if the internal table is not having any data ..it will fetch all the data..&lt;/P&gt;&lt;P&gt;ok..amar..i am expecting 10 points..from u ha..ha...good day take care..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Nov 2007 05:48:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-query/m-p/3126794#M742693</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-27T05:48:12Z</dc:date>
    </item>
    <item>
      <title>Re: select query</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-query/m-p/3126795#M742694</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;    1)  try to sort the internal table and use it in the select query.&lt;/P&gt;&lt;P&gt;    2) use sub joins. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reward points if useful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Niyaz&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Nov 2007 05:50:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-query/m-p/3126795#M742694</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-27T05:50:56Z</dc:date>
    </item>
    <item>
      <title>Re: select query</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-query/m-p/3126796#M742695</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Satish,&lt;/P&gt;&lt;P&gt;   The Itab is not initial, the lt_ekko contains the data,&lt;/P&gt;&lt;P&gt; after the query excution the table lt_eket contains only the entries that are in lt_ekko, but it also contains the entries which are failing my secong condition (menge &amp;gt; wenge)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Nov 2007 05:51:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-query/m-p/3126796#M742695</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-27T05:51:33Z</dc:date>
    </item>
    <item>
      <title>Re: select query</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-query/m-p/3126797#M742696</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Amar,&lt;/P&gt;&lt;P&gt;    Your query cannot be done..&lt;/P&gt;&lt;P&gt;Instead if u r concentrating on performance...&lt;/P&gt;&lt;P&gt;if not it_ekko is initial.&lt;/P&gt;&lt;P&gt;select &amp;lt;required fields&amp;gt; into table lt_eket from eket for all entries in lt_ekko where ebeln = lt_ekko-ebeln  .&lt;/P&gt;&lt;P&gt;if sy-subrc eq 0.&lt;/P&gt;&lt;P&gt;loop at lt_eket .&lt;/P&gt;&lt;P&gt;if it_eket menge gt lt_eket-wemng.&lt;/P&gt;&lt;P&gt;append lt_eket1.&lt;/P&gt;&lt;P&gt;clear lt_eket1.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;kaveri...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Nov 2007 05:55:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-query/m-p/3126797#M742696</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-27T05:55:46Z</dc:date>
    </item>
    <item>
      <title>Re: select query</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-query/m-p/3126798#M742697</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hai amar actullay i am not at desk but try this first write: greater copndition with the brackets if possibel or else without brackets also possible..and then use the equal to condition and post me the answer.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Nov 2007 06:00:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-query/m-p/3126798#M742697</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-27T06:00:30Z</dc:date>
    </item>
    <item>
      <title>Re: select query</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-query/m-p/3126799#M742698</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;use following code&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select * into table lt_eket from eket for all entries in lt_ekko where ebeln = lt_ekko-ebeln and menge GT wemng .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;L.Velu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Nov 2007 06:01:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-query/m-p/3126799#M742698</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-27T06:01:33Z</dc:date>
    </item>
  </channel>
</rss>

