<?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: slin overview - warning message in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/slin-overview-warning-message/m-p/4799359#M1123802</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;While using select single... you must specify all the keys of the database table, if you are not using all the keys use select UP TO 1 ROWS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Jayant&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 18 Nov 2008 10:15:04 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-11-18T10:15:04Z</dc:date>
    <item>
      <title>slin overview - warning message</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/slin-overview-warning-message/m-p/4799355#M1123798</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;In "SELECT SINGLE ...", the WHERE condition for the key field "EPCGKEY" does not   &lt;/P&gt;&lt;P&gt;test for equality. Therefore, the single record in question may not be unique.   &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;what does it mean?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Nov 2008 10:08:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/slin-overview-warning-message/m-p/4799355#M1123798</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-18T10:08:56Z</dc:date>
    </item>
    <item>
      <title>Re: slin overview - warning message</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/slin-overview-warning-message/m-p/4799356#M1123799</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; What ever condintion you are passing to select does makes the Full Unique Key ...that why this waring message is displayed.  Try Select UPTO 1 row.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Nov 2008 10:12:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/slin-overview-warning-message/m-p/4799356#M1123799</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-18T10:12:10Z</dc:date>
    </item>
    <item>
      <title>Re: slin overview - warning message</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/slin-overview-warning-message/m-p/4799357#M1123800</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Anil,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Its becoz in the SELECT SINGLE query, WHERE clause must have all the key fields so that a unique record is selected.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;&lt;P&gt;Suhas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Nov 2008 10:14:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/slin-overview-warning-message/m-p/4799357#M1123800</guid>
      <dc:creator>SuhaSaha</dc:creator>
      <dc:date>2008-11-18T10:14:02Z</dc:date>
    </item>
    <item>
      <title>Re: slin overview - warning message</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/slin-overview-warning-message/m-p/4799358#M1123801</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;there is only 1 primary key and i have passed it..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but i'm passing the primary key and i'm selecting the primary key..is that a problem?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Anil Kalive on Nov 18, 2008 3:45 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Nov 2008 10:14:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/slin-overview-warning-message/m-p/4799358#M1123801</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-18T10:14:52Z</dc:date>
    </item>
    <item>
      <title>Re: slin overview - warning message</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/slin-overview-warning-message/m-p/4799359#M1123802</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;While using select single... you must specify all the keys of the database table, if you are not using all the keys use select UP TO 1 ROWS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Jayant&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Nov 2008 10:15:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/slin-overview-warning-message/m-p/4799359#M1123802</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-18T10:15:04Z</dc:date>
    </item>
    <item>
      <title>Re: slin overview - warning message</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/slin-overview-warning-message/m-p/4799360#M1123803</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;From the database table you are going to extract a record, there can be few other key fields existing in DB table along with key field EPCGKEY.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So while extracting the record there is a chance of having more records in the database table with the same key value you are passing in field EPCGKEY.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think you are not using all the key fields in the where clause of SELECT SINGLE query.&lt;/P&gt;&lt;P&gt;Its very important to use all the key fields in the where clause when using SELECT SINGLE Query.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Go through the key field documentation (F1 Help) for the SELECT single query.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With Regards,&lt;/P&gt;&lt;P&gt;Dwaraka.S&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Nov 2008 10:17:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/slin-overview-warning-message/m-p/4799360#M1123803</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-18T10:17:03Z</dc:date>
    </item>
    <item>
      <title>Re: slin overview - warning message</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/slin-overview-warning-message/m-p/4799361#M1123804</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;The Select will return more than one possible record but limiting with the single option in Select.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you need to remove the warning then better declare one internal table and use into table &amp;lt;internaltable&amp;gt; instead of select single.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sampe  code: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Previoulsy the warning is due to:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select-options : s_matnr for mara-matnr.&lt;/P&gt;&lt;P&gt;data: l_matnr type mara-matnr.&lt;/P&gt;&lt;P&gt;.....&lt;/P&gt;&lt;P&gt;....&lt;/P&gt;&lt;P&gt;select single matnr from mara into l_matnr where matnr in s_matnr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This code will give warning message.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Change the code as below:&lt;/P&gt;&lt;P&gt;types: begin of t_mara,&lt;/P&gt;&lt;P&gt;            matnr type mara-matnr,&lt;/P&gt;&lt;P&gt;         end of t_mara.&lt;/P&gt;&lt;P&gt;data: it_mara type standard table of t_mara.&lt;/P&gt;&lt;P&gt;.......&lt;/P&gt;&lt;P&gt;.....&lt;/P&gt;&lt;P&gt;select matnr from mara into table it_mara where matnr in s_matnr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This code will not give any warning message.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is as per my understanding &amp;lt;&amp;lt;Text removed by moderator&amp;gt;&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;THANKS,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Matt on Nov 18, 2008 3:04 PM &lt;STRONG&gt;&lt;SPAN __default_attr="red" __jive_macro_name="color"&gt;Do NOT ask for points&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Nov 2008 10:22:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/slin-overview-warning-message/m-p/4799361#M1123804</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-18T10:22:52Z</dc:date>
    </item>
    <item>
      <title>Re: slin overview - warning message</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/slin-overview-warning-message/m-p/4799362#M1123805</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;use select - endselect with upto 1 rows&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if you use select single * ....where condition IN ..., then this will mean that you are checking for non uniqueness.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Better use&lt;/P&gt;&lt;P&gt;select * from table&lt;/P&gt;&lt;P&gt;into int_table&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;where condition in ....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Nov 2008 10:38:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/slin-overview-warning-message/m-p/4799362#M1123805</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-18T10:38:33Z</dc:date>
    </item>
    <item>
      <title>Re: slin overview - warning message</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/slin-overview-warning-message/m-p/4799363#M1123806</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi:&lt;/P&gt;&lt;P&gt;Do one thine, instead of using select statement, please function module EHSWA_195_MARA_READ which returns the entire things as per your requirement.&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Shashi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Nov 2008 10:47:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/slin-overview-warning-message/m-p/4799363#M1123806</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-18T10:47:50Z</dc:date>
    </item>
  </channel>
</rss>

