<?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 Error while releasing object to quality server in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-releasing-object-to-quality-server/m-p/5898325#M1327570</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;   I have written follo select stmt , &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    SELECT BELNR                                                              "Case1&lt;/P&gt;&lt;P&gt;           GJAHR&lt;/P&gt;&lt;P&gt;           EBELN&lt;/P&gt;&lt;P&gt;           EBELP&lt;/P&gt;&lt;P&gt;           DMBTR FROM EKBE&lt;/P&gt;&lt;P&gt;                 INTO TABLE IT_EKBE&lt;/P&gt;&lt;P&gt;                 FOR ALL ENTRIES IN IT_BKPF2&lt;/P&gt;&lt;P&gt;                 WHERE BELNR = IT_BKPF2-AWKEY+0(10).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When doing syntax chk ,  getting warning as "Lenth specification of AWKEY is ignored when FOR ALL ENTRIES IN used".&lt;/P&gt;&lt;P&gt;I activated the object.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Bur while releasing it to quality , in Code inspector 1 error is coming saying &lt;/P&gt;&lt;P&gt;"Large table EKBE :  No first field of a table index in WHERE condition".But still i managed to release it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What is the meaning of that Error. Is it that i m not using a primary key in WHERE cond while accessing a huge table EKBE ?&lt;/P&gt;&lt;P&gt;Is it going to impact anywhere in quality or production server as requset got released with ERROR ?&lt;/P&gt;&lt;P&gt;How to remove such errors which r appearing in code inspector and not in Syntax check.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Waiting 4 ur replies ....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Poonam.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 10 Jul 2009 11:41:18 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-07-10T11:41:18Z</dc:date>
    <item>
      <title>Error while releasing object to quality server</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-releasing-object-to-quality-server/m-p/5898325#M1327570</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;   I have written follo select stmt , &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    SELECT BELNR                                                              "Case1&lt;/P&gt;&lt;P&gt;           GJAHR&lt;/P&gt;&lt;P&gt;           EBELN&lt;/P&gt;&lt;P&gt;           EBELP&lt;/P&gt;&lt;P&gt;           DMBTR FROM EKBE&lt;/P&gt;&lt;P&gt;                 INTO TABLE IT_EKBE&lt;/P&gt;&lt;P&gt;                 FOR ALL ENTRIES IN IT_BKPF2&lt;/P&gt;&lt;P&gt;                 WHERE BELNR = IT_BKPF2-AWKEY+0(10).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When doing syntax chk ,  getting warning as "Lenth specification of AWKEY is ignored when FOR ALL ENTRIES IN used".&lt;/P&gt;&lt;P&gt;I activated the object.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Bur while releasing it to quality , in Code inspector 1 error is coming saying &lt;/P&gt;&lt;P&gt;"Large table EKBE :  No first field of a table index in WHERE condition".But still i managed to release it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What is the meaning of that Error. Is it that i m not using a primary key in WHERE cond while accessing a huge table EKBE ?&lt;/P&gt;&lt;P&gt;Is it going to impact anywhere in quality or production server as requset got released with ERROR ?&lt;/P&gt;&lt;P&gt;How to remove such errors which r appearing in code inspector and not in Syntax check.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Waiting 4 ur replies ....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Poonam.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Jul 2009 11:41:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-releasing-object-to-quality-server/m-p/5898325#M1327570</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-10T11:41:18Z</dc:date>
    </item>
    <item>
      <title>Re: Error while releasing object to quality server</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-releasing-object-to-quality-server/m-p/5898326#M1327571</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;FOR ALL entries expects fields of same length...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;U need to change ur code..Put a field of type belnr and pass the values&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at it_bkpf2.&lt;/P&gt;&lt;P&gt;it_bkpf2-belnr = IT_BKPF2-AWKEY+0(10).&lt;/P&gt;&lt;P&gt;modify it_bkpf2.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT BELNR "Case1&lt;/P&gt;&lt;P&gt;GJAHR&lt;/P&gt;&lt;P&gt;EBELN&lt;/P&gt;&lt;P&gt;EBELP&lt;/P&gt;&lt;P&gt;DMBTR FROM EKBE&lt;/P&gt;&lt;P&gt;INTO TABLE IT_EKBE&lt;/P&gt;&lt;P&gt;FOR ALL ENTRIES IN IT_BKPF2&lt;/P&gt;&lt;P&gt;WHERE BELNR = IT_BKPF2-belnr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Nagaraj&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Jul 2009 11:45:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-releasing-object-to-quality-server/m-p/5898326#M1327571</guid>
      <dc:creator>former_member404244</dc:creator>
      <dc:date>2009-07-10T11:45:34Z</dc:date>
    </item>
    <item>
      <title>Re: Error while releasing object to quality server</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-releasing-object-to-quality-server/m-p/5898327#M1327572</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There will not be any problem with this code in any servers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but the error you getting in code inspector is because you have not included all key fields of the table in where condition so the index will not be used in the query.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if you use all key fields of table in where condition then the index gets fired internally and the data retrieval becomes faster.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it will not impact anywhere in the system but have a practise to use all key fields of tables in where condition wherver possible.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Jul 2009 11:45:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-releasing-object-to-quality-server/m-p/5898327#M1327572</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-10T11:45:50Z</dc:date>
    </item>
    <item>
      <title>Re: Error while releasing object to quality server</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-releasing-object-to-quality-server/m-p/5898328#M1327573</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;Code Inspector checks can be performed using the Extended Program Check in SE38 for the program. Code inspector results are suggestions as per good programming practices. You might face performance problems in larger systems if your where clause is not following an index.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In this specific case you can have logical errors also as you might have the same FI doc number across different financial years.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;Nitesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Jul 2009 11:52:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-releasing-object-to-quality-server/m-p/5898328#M1327573</guid>
      <dc:creator>nitesh_jain3</dc:creator>
      <dc:date>2009-07-10T11:52:07Z</dc:date>
    </item>
  </channel>
</rss>

