<?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/3507139#M843497</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Murali&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  Thanks a lot for quick reply.. But plz understand my Qn.. if the field order in the  INDEX is like &lt;/P&gt;&lt;P&gt;MANDT&lt;/P&gt;&lt;P&gt;Matnr&lt;/P&gt;&lt;P&gt;werks... at this moment can i use&lt;/P&gt;&lt;P&gt;where matnr in s_matnr &lt;/P&gt;&lt;P&gt;and werks in s_werks...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;whether it will follow the index or nor. Or it is necessary that i should write the MANDT at first to follow the index... that is my question... plz answer this also..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 14 Mar 2008 05:03:07 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-03-14T05:03:07Z</dc:date>
    <item>
      <title>Select Query</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-query/m-p/3507134#M843492</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;      I have a doubt in Select query while using INDEXES.My index name is 'B' and in that index the field order is like &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Matnr&lt;/P&gt;&lt;P&gt;Werks&lt;/P&gt;&lt;P&gt;lgort...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Suppose in my 'Where Clause' i am just giving like &lt;/P&gt;&lt;P&gt;where werks in s_werks and &lt;/P&gt;&lt;P&gt;          lgort in s_lgort... i mean i am avoiding the first field of the index. &lt;/P&gt;&lt;P&gt;i want to know in this cause it will follow the index or it will bypass.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help me....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Mar 2008 04:45:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-query/m-p/3507134#M843492</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-14T04:45:22Z</dc:date>
    </item>
    <item>
      <title>Re: Select Query</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-query/m-p/3507135#M843493</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;No problem . It will follow the index.In where class if it is in order the performance will be more.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If in order checking of the fields will be in order .So cursor will move ahead.If disorder  the cusrsor will move fornt for one field and come back for other field.So poor performance.....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Mar 2008 04:50:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-query/m-p/3507135#M843493</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-14T04:50:16Z</dc:date>
    </item>
    <item>
      <title>Re: Select Query</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-query/m-p/3507136#M843494</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;There wont be any problem while selecting records. But, u will end up in performance error when u do code inspector check.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward if helpful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ramya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Mar 2008 04:53:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-query/m-p/3507136#M843494</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-14T04:53:27Z</dc:date>
    </item>
    <item>
      <title>Re: Select Query</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-query/m-p/3507137#M843495</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Murali.. And one more thig is, is there any change in the case of MANDT field.. I mean in the index if the first field is 'MANDT' is there any change.. please  tell that also..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Mar 2008 04:56:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-query/m-p/3507137#M843495</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-14T04:56:55Z</dc:date>
    </item>
    <item>
      <title>Re: Select Query</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-query/m-p/3507138#M843496</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; No change.MANDT field should always be in first position.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Mar 2008 04:59:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-query/m-p/3507138#M843496</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-14T04:59:22Z</dc:date>
    </item>
    <item>
      <title>Re: Select Query</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-query/m-p/3507139#M843497</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Murali&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  Thanks a lot for quick reply.. But plz understand my Qn.. if the field order in the  INDEX is like &lt;/P&gt;&lt;P&gt;MANDT&lt;/P&gt;&lt;P&gt;Matnr&lt;/P&gt;&lt;P&gt;werks... at this moment can i use&lt;/P&gt;&lt;P&gt;where matnr in s_matnr &lt;/P&gt;&lt;P&gt;and werks in s_werks...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;whether it will follow the index or nor. Or it is necessary that i should write the MANDT at first to follow the index... that is my question... plz answer this also..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Mar 2008 05:03:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-query/m-p/3507139#M843497</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-14T05:03:07Z</dc:date>
    </item>
    <item>
      <title>Re: Select Query</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-query/m-p/3507140#M843498</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;No need to write MANDT in where condition.Because by default selection statement will select the records of login client only you can not select the other clients.If you want to select other client data you have to write syntax in seletion statement&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT  *&lt;/P&gt;&lt;P&gt; INTO  table itab&lt;/P&gt;&lt;P&gt; FROM  table name CLIENT SPECIFIED&lt;/P&gt;&lt;P&gt; WHERE mandt = '000'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pls. reward if useful.....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Mar 2008 05:10:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-query/m-p/3507140#M843498</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-14T05:10:17Z</dc:date>
    </item>
  </channel>
</rss>

