<?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 Optimize query  - EBAN in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/optimize-query-eban/m-p/7196698#M1520570</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 want to optimize one selection in a table EBAN.&lt;/P&gt;&lt;P&gt;The index z02 support my QUERY.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Fields of the INDEX:&lt;/P&gt;&lt;P&gt;FLIEF	Fixed vendor&lt;/P&gt;&lt;P&gt;LFDAT	Item delivery date&lt;/P&gt;&lt;P&gt;WERKS	Plant&lt;/P&gt;&lt;P&gt;BERID	MRP area&lt;/P&gt;&lt;P&gt;LOEKZ	Deletion indicator in purchasing document&lt;/P&gt;&lt;P&gt;STATU	Processing status of purchase requisition&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Today my selection is:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   SELECT preis peinh waers menge meins&lt;/P&gt;&lt;P&gt;          banfn bnfpo knttp loekz ebeln&lt;/P&gt;&lt;P&gt;          ebelp INTO TABLE t_eban&lt;/P&gt;&lt;P&gt;          FROM eban&lt;/P&gt;&lt;P&gt;           WHERE loekz   EQ ' '&lt;/P&gt;&lt;P&gt;              AND frgkz   &amp;gt;= space&lt;/P&gt;&lt;P&gt;              AND werks   EQ p_werks&lt;/P&gt;&lt;P&gt;              AND statu   NE 'B'&lt;/P&gt;&lt;P&gt;              AND ( knttp EQ 'F'     OR&lt;/P&gt;&lt;P&gt;                    knttp EQ 'K' )&lt;/P&gt;&lt;P&gt;              AND lfdat   LE v_high.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need get the field FLIEF to complete that index and consequently improve my selection. How can I get the field FLIEL using WERKS to search?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;LI level="3" type="ul"&gt;&lt;P&gt;I tried to use the table LFA1 but the field WERKS is not obligatory.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please suggestions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;William Rodrigues&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 05 Aug 2010 17:06:48 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-08-05T17:06:48Z</dc:date>
    <item>
      <title>Optimize query  - EBAN</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/optimize-query-eban/m-p/7196698#M1520570</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 want to optimize one selection in a table EBAN.&lt;/P&gt;&lt;P&gt;The index z02 support my QUERY.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Fields of the INDEX:&lt;/P&gt;&lt;P&gt;FLIEF	Fixed vendor&lt;/P&gt;&lt;P&gt;LFDAT	Item delivery date&lt;/P&gt;&lt;P&gt;WERKS	Plant&lt;/P&gt;&lt;P&gt;BERID	MRP area&lt;/P&gt;&lt;P&gt;LOEKZ	Deletion indicator in purchasing document&lt;/P&gt;&lt;P&gt;STATU	Processing status of purchase requisition&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Today my selection is:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   SELECT preis peinh waers menge meins&lt;/P&gt;&lt;P&gt;          banfn bnfpo knttp loekz ebeln&lt;/P&gt;&lt;P&gt;          ebelp INTO TABLE t_eban&lt;/P&gt;&lt;P&gt;          FROM eban&lt;/P&gt;&lt;P&gt;           WHERE loekz   EQ ' '&lt;/P&gt;&lt;P&gt;              AND frgkz   &amp;gt;= space&lt;/P&gt;&lt;P&gt;              AND werks   EQ p_werks&lt;/P&gt;&lt;P&gt;              AND statu   NE 'B'&lt;/P&gt;&lt;P&gt;              AND ( knttp EQ 'F'     OR&lt;/P&gt;&lt;P&gt;                    knttp EQ 'K' )&lt;/P&gt;&lt;P&gt;              AND lfdat   LE v_high.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need get the field FLIEF to complete that index and consequently improve my selection. How can I get the field FLIEL using WERKS to search?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;LI level="3" type="ul"&gt;&lt;P&gt;I tried to use the table LFA1 but the field WERKS is not obligatory.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please suggestions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;William Rodrigues&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Aug 2010 17:06:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/optimize-query-eban/m-p/7196698#M1520570</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-08-05T17:06:48Z</dc:date>
    </item>
    <item>
      <title>Re: Optimize query  - EBAN</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/optimize-query-eban/m-p/7196699#M1520571</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN __default_attr="green" __jive_macro_name="color"&gt;Moderator message - Welcome to SCN.

Please see &lt;SPAN __jive_macro_name="thread" id="1283414"&gt;&lt;/SPAN&gt; before posting

Also, Please read &lt;SPAN __jive_macro_name="thread" id="927634"&gt;&lt;/SPAN&gt; and &lt;SPAN __jive_macro_name="thread" id="1170968"&gt;&lt;/SPAN&gt; and [Asking Good Questions in the Forums to get Good Answers|/people/rob.burbank/blog/2010/05/12/asking-good-questions-in-the-forums-to-get-good-answers] before posting again.

Rob&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Aug 2010 18:26:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/optimize-query-eban/m-p/7196699#M1520571</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-08-05T18:26:49Z</dc:date>
    </item>
  </channel>
</rss>

