<?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: Extended error check. in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/extended-error-check/m-p/1963610#M395931</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;You will get this Error when you are not specifying all the key fields in the where condition on the SELECT SINGLE...... query. To eliminate this, you will have specify all the key fields in the where condition or use SELECT UP TO 1 ROWS...... query.&lt;/P&gt;&lt;P&gt;btw there is no harm if you get this error also. this is jst like a warning saying that you might not be retrieving the exact record that you are intending to.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Mahesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 09 Feb 2007 11:53:47 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-02-09T11:53:47Z</dc:date>
    <item>
      <title>Extended error check.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/extended-error-check/m-p/1963609#M395930</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;  when iam doing extended error check in my program i am getting the error ' the WHERE condition for the key field 'NATION'  does not test for equality. therefore a single record in question may not be unique' in the line SELECT  SINGLE  NAME_FIRST NAME_LAST  FROM  ADRPS statement.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Feb 2007 11:50:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/extended-error-check/m-p/1963609#M395930</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-09T11:50:42Z</dc:date>
    </item>
    <item>
      <title>Re: Extended error check.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/extended-error-check/m-p/1963610#M395931</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;You will get this Error when you are not specifying all the key fields in the where condition on the SELECT SINGLE...... query. To eliminate this, you will have specify all the key fields in the where condition or use SELECT UP TO 1 ROWS...... query.&lt;/P&gt;&lt;P&gt;btw there is no harm if you get this error also. this is jst like a warning saying that you might not be retrieving the exact record that you are intending to.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Mahesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Feb 2007 11:53:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/extended-error-check/m-p/1963610#M395931</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-09T11:53:47Z</dc:date>
    </item>
    <item>
      <title>Re: Extended error check.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/extended-error-check/m-p/1963611#M395932</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mahesh,&lt;/P&gt;&lt;P&gt;      I got your point but how to specify all the keys in the where condition. Can you help me by providing an example.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Krishna.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Feb 2007 11:58:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/extended-error-check/m-p/1963611#M395932</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-09T11:58:02Z</dc:date>
    </item>
    <item>
      <title>Re: Extended error check.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/extended-error-check/m-p/1963612#M395933</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IN the select statement u need to specify all the keys fields when ur using select single&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So when u r selecting from the table ADRPS use all the key fields &lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;TRKORR&lt;/P&gt;&lt;P&gt;PERSNUMBER&lt;/P&gt;&lt;P&gt;DATE_FROM&lt;/P&gt;&lt;P&gt;NATION&amp;lt;/b&amp;gt; in the where condition.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If u don't have values fro all the key fields use UP to 1 rows instead of select single.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Vasanth&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Feb 2007 12:04:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/extended-error-check/m-p/1963612#M395933</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-09T12:04:02Z</dc:date>
    </item>
    <item>
      <title>Re: Extended error check.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/extended-error-check/m-p/1963613#M395934</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;suppose take table marc &lt;/P&gt;&lt;P&gt;here the primary keys are &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;key fields are &lt;/P&gt;&lt;P&gt;matnr &lt;/P&gt;&lt;P&gt;werks &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so the code is &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;Select single .... from marc 
            where 
             matnr  = p_matnr 
and        werks = p_werks .&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Means to say that i have covered all the keys .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In ur referred select see if  u have covered all the keys .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;ur where clause has to have all teh below fieldsjust like above&lt;/P&gt;&lt;P&gt;where &lt;/P&gt;&lt;P&gt;    TRKORR = &lt;/P&gt;&lt;P&gt;and PERSNUMBER = &lt;/P&gt;&lt;P&gt;and DATE_FROM&lt;/P&gt;&lt;P&gt;and NATION&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;vijay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Feb 2007 12:05:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/extended-error-check/m-p/1963613#M395934</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-09T12:05:29Z</dc:date>
    </item>
    <item>
      <title>Re: Extended error check.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/extended-error-check/m-p/1963614#M395935</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;This error will come when you write the Select single statment, so make sure that you have mention all the key fields in the where condiiton, you need to see the database table key fields and give all the key field there in the where condition, if you do not have the fields, then look at the record whcih you want to select in the database(se11) and give that as default(Whihc fields you do not having in the program).. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or .&lt;/P&gt;&lt;P&gt;you can menation select upto 1 rows to eliminate this error&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt; Sudheer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Feb 2007 12:07:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/extended-error-check/m-p/1963614#M395935</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-09T12:07:15Z</dc:date>
    </item>
    <item>
      <title>Re: Extended error check.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/extended-error-check/m-p/1963615#M395936</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;select upto 1 rows it should solve u r problem..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Feb 2007 12:13:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/extended-error-check/m-p/1963615#M395936</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-09T12:13:15Z</dc:date>
    </item>
    <item>
      <title>Re: Extended error check.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/extended-error-check/m-p/1963616#M395937</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sudheer,&lt;/P&gt;&lt;P&gt;    How to use this upto 1 row key word. Its throwing error when i tried that.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Krishna.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Feb 2007 12:31:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/extended-error-check/m-p/1963616#M395937</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-09T12:31:46Z</dc:date>
    </item>
    <item>
      <title>Re: Extended error check.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/extended-error-check/m-p/1963617#M395938</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;SELECT UP TO 1 ROWS FROM ZTABLE WHERE NATION EQ V_NATION.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        Chandrasekhar Jagarlamudi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Feb 2007 12:37:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/extended-error-check/m-p/1963617#M395938</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-09T12:37:27Z</dc:date>
    </item>
  </channel>
</rss>

