<?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: code inspector error in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/code-inspector-error/m-p/9878612#M1789652</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is because your query is not using any Primary/Secondary index. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 26 Nov 2013 06:08:14 GMT</pubDate>
    <dc:creator>former_member195698</dc:creator>
    <dc:date>2013-11-26T06:08:14Z</dc:date>
    <item>
      <title>code inspector error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/code-inspector-error/m-p/9878610#M1789650</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="text-align: left; color: #333333; text-indent: 0px; background-color: #ffffff;"&gt;Hi ALL&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="text-align: left; color: #333333; text-indent: 0px; background-color: #ffffff;"&gt;I have got the following error when i am running code inspector,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="text-align: left; color: #333333; text-indent: 0px; background-color: #ffffff;"&gt;"Large table SETNODE: No first field of a table index in WHERE Condition"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="text-align: left; color: #333333; text-indent: 0px; background-color: #ffffff;"&gt;My code is like below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;SELECT setname&amp;nbsp; &lt;SPAN class="L0S52"&gt;FROM &lt;/SPAN&gt;setnode &lt;SPAN class="L0S52"&gt;INTO &lt;/SPAN&gt;l_bu_name &lt;SPAN class="L0S52"&gt;UP &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;TO &lt;/SPAN&gt;&lt;SPAN class="L0S32"&gt;1 &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;ROWS&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN class="L0S52"&gt;WHERE&amp;nbsp; &lt;/SPAN&gt;setname &lt;SPAN class="L0S52"&gt;BETWEEN &lt;/SPAN&gt;s_bunit&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;low &lt;SPAN class="L0S52"&gt;and &lt;/SPAN&gt;s_bunit&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;high &lt;SPAN class="L0S52"&gt;AND &lt;/SPAN&gt;subsetname &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;l_bu_name&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;SPAN class="L0S52"&gt;ENDSELECT&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;&lt;SPAN class="L0S55"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;&lt;SPAN class="L0S55"&gt;Thanks in advance.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;&lt;SPAN class="L0S55"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;&lt;SPAN class="L0S55"&gt;Regards,&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;&lt;SPAN class="L0S55"&gt;praveen.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Nov 2013 06:04:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/code-inspector-error/m-p/9878610#M1789650</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-11-26T06:04:15Z</dc:date>
    </item>
    <item>
      <title>Re: code inspector error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/code-inspector-error/m-p/9878611#M1789651</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check this thread..&lt;/P&gt;&lt;P&gt;&lt;A __default_attr="3290248" __jive_macro_name="thread" class="jive_macro jive_macro_thread" href="https://community.sap.com/"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;amp; if possible then do not use ENDSELECT, instead use SELECT SINGLE.... &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Nov 2013 06:08:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/code-inspector-error/m-p/9878611#M1789651</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-11-26T06:08:08Z</dc:date>
    </item>
    <item>
      <title>Re: code inspector error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/code-inspector-error/m-p/9878612#M1789652</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is because your query is not using any Primary/Secondary index. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Nov 2013 06:08:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/code-inspector-error/m-p/9878612#M1789652</guid>
      <dc:creator>former_member195698</dc:creator>
      <dc:date>2013-11-26T06:08:14Z</dc:date>
    </item>
    <item>
      <title>Re: code inspector error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/code-inspector-error/m-p/9878613#M1789653</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Praveen&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Code inspector does throw this error if we do not use key fields of the large table. I feel its ok because sometime your requirement is to fetch data based on non key field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Nabheet&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Nov 2013 06:08:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/code-inspector-error/m-p/9878613#M1789653</guid>
      <dc:creator>nabheetscn</dc:creator>
      <dc:date>2013-11-26T06:08:59Z</dc:date>
    </item>
    <item>
      <title>Re: code inspector error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/code-inspector-error/m-p/9878614#M1789654</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Praveen,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Yes it is necessary at times to use the non key fields, so the message will be displayed in the code inspector. to hide the message use pragmas/ Pseudo comments in your code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regrads,&lt;/P&gt;&lt;P&gt;Umar Syed.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Nov 2013 07:08:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/code-inspector-error/m-p/9878614#M1789654</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-11-26T07:08:11Z</dc:date>
    </item>
    <item>
      <title>Re: code inspector error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/code-inspector-error/m-p/9878615#M1789655</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks everyone for ur reply..umar can u tell me in brief&amp;nbsp; on how to hide the message,because i am&amp;nbsp; new to abap.&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;praveen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Nov 2013 08:53:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/code-inspector-error/m-p/9878615#M1789655</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-11-26T08:53:20Z</dc:date>
    </item>
    <item>
      <title>Re: code inspector error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/code-inspector-error/m-p/9878616#M1789656</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Praveen,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Add inline comment &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S31"&gt;"#EC CI_NOFIELD to the select statment. this should hide the message.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S31"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S31"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S31"&gt;Umar Syed.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Nov 2013 10:14:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/code-inspector-error/m-p/9878616#M1789656</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-11-26T10:14:46Z</dc:date>
    </item>
    <item>
      <title>Re: code inspector error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/code-inspector-error/m-p/9878617#M1789657</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It's rather brave of some of the replies above to suggest the best approach is to hide this message with a pseudo comment, based on so little context.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the overall context of your program is it not possible to have either the Set Class or Org Unit available to you when you make the SELECT from SETNODE?&amp;nbsp; This should be your first investigation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Nick&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Nov 2013 10:26:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/code-inspector-error/m-p/9878617#M1789657</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-11-26T10:26:58Z</dc:date>
    </item>
    <item>
      <title>Re: code inspector error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/code-inspector-error/m-p/9878618#M1789658</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;@ Nick&lt;/P&gt;&lt;P&gt;I understand your concern, but use of the key fields was alreaddy suggested in Farid Hasan's and Abhishek's reply&lt;/P&gt;&lt;P&gt;But in some cases it is needed at times to use the non key fields, in such cases code inspector will give you the error.&lt;/P&gt;&lt;P&gt;i know this is not the best approach , but the sugestion was to hide the message, only if it is unavoidable to use non key fields. &lt;SPAN __jive_emoticon_name="happy" __jive_macro_name="emoticon" class="jive_macro jive_macro_emoticon jive_emote" src="https://community.sap.com/1949/images/emoticons/happy.gif"&gt;&lt;/SPAN&gt; but first try and use the key fields for selection if possible.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also agree to the fact that i should have asked for the context of the requirement. Will do so next time. &lt;SPAN __jive_emoticon_name="happy" __jive_macro_name="emoticon" class="jive_macro jive_macro_emoticon jive_emote" height="1" src="https://community.sap.com/1949/images/emoticons/happy.gif" width="1"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and Regards,&lt;/P&gt;&lt;P&gt;Umar &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Nov 2013 06:14:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/code-inspector-error/m-p/9878618#M1789658</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-11-27T06:14:56Z</dc:date>
    </item>
  </channel>
</rss>

