<?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: Syntax error in select statement in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/syntax-error-in-select-statement/m-p/6061665#M1354034</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;&lt;/P&gt;&lt;P&gt;The error might occur bcoz there is not "Into" clause na.  You are selecting only one row na, So you can use Workarea in the palce of internal table andthat work area name can be specified in that "Into" clause. This will clear problem. Ans also check whether you have specfied the tables. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Dhanalakshmi L&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 27 Aug 2009 12:06:40 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-08-27T12:06:40Z</dc:date>
    <item>
      <title>Syntax error in select statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/syntax-error-in-select-statement/m-p/6061655#M1354024</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is the select statement it's giving syntax error,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Lesen Überschrifttabellen -------------------------------------------*&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  SELECT SINGLE * FROM T166U WHERE SPRAS EQ EKKO-SPRAS&lt;/P&gt;&lt;P&gt;                             AND   DRUVO EQ XDRUVO&lt;/P&gt;&lt;P&gt;                             AND   BSTYP EQ EKKO-BSTYP&lt;/P&gt;&lt;P&gt;                             AND   BSART EQ EKKO-BSART.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How come it's not giving syntax error in production but it's giving in development server. Please help me with this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Aug 2009 11:46:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/syntax-error-in-select-statement/m-p/6061655#M1354024</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-26T11:46:04Z</dc:date>
    </item>
    <item>
      <title>Re: Syntax error in select statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/syntax-error-in-select-statement/m-p/6061656#M1354025</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; Is it giving error for destination field not given.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is else, tell me the error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Krunal Raichura&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Aug 2009 12:03:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/syntax-error-in-select-statement/m-p/6061656#M1354025</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-26T12:03:39Z</dc:date>
    </item>
    <item>
      <title>Re: Syntax error in select statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/syntax-error-in-select-statement/m-p/6061657#M1354026</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When I try to activate it gives Syntax error says  ' The INTO clause is missing at SELECT, OR the From addition at either DELETE INSERT, UPDATE, MODIFY is missing.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Aug 2009 12:18:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/syntax-error-in-select-statement/m-p/6061657#M1354026</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-26T12:18:15Z</dc:date>
    </item>
    <item>
      <title>Re: Syntax error in select statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/syntax-error-in-select-statement/m-p/6061658#M1354027</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Thanvi &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After fetching the data from database table,what do you want to do ?&lt;/P&gt;&lt;P&gt;do you want to do some operations ?&lt;/P&gt;&lt;P&gt;or &lt;/P&gt;&lt;P&gt;are you wnat the data to internal table?&lt;/P&gt;&lt;P&gt;SELECT SINGLE * FROM T166U into &amp;lt;workarea&amp;gt;  WHERE SPRAS EQ EKKO-SPRAS&lt;/P&gt;&lt;P&gt;AND DRUVO EQ XDRUVO&lt;/P&gt;&lt;P&gt;AND BSTYP EQ EKKO-BSTYP&lt;/P&gt;&lt;P&gt;AND BSART EQ EKKO-BSART.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Tulasi Palnati on Aug 26, 2009 2:51 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Aug 2009 12:22:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/syntax-error-in-select-statement/m-p/6061658#M1354027</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-26T12:22:41Z</dc:date>
    </item>
    <item>
      <title>Re: Syntax error in select statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/syntax-error-in-select-statement/m-p/6061659#M1354028</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;Declare table T166U and error will disappear.&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
tables: T166U.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Aug 2009 13:06:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/syntax-error-in-select-statement/m-p/6061659#M1354028</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-26T13:06:17Z</dc:date>
    </item>
    <item>
      <title>Re: Syntax error in select statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/syntax-error-in-select-statement/m-p/6061660#M1354029</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt;   SELECT SINGLE * FROM T166U WHERE SPRAS EQ EKKO-SPRAS&lt;/P&gt;&lt;P&gt;&amp;gt;                              AND   DRUVO EQ XDRUVO&lt;/P&gt;&lt;P&gt;&amp;gt;                              AND   BSTYP EQ EKKO-BSTYP&lt;/P&gt;&lt;P&gt;&amp;gt;                              AND   BSART EQ EKKO-BSART.&lt;/P&gt;&lt;P&gt;&amp;gt;&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;select single needs a into clause, as the table T166U would not have been declared as : TABLES : T166U.&lt;/P&gt;&lt;P&gt;but this is obsolete now. so..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: gs_t166u type t116u.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;SELECT SINGLE * FROM T166U
                              INTO  gs_t166u "add this
                          WHERE  SPRAS EQ EKKO-SPRAS
                              AND   DRUVO EQ XDRUVO
                              AND   BSTYP EQ EKKO-BSTYP
                              AND   BSART EQ EKKO-BSART.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt; How come it's not giving syntax error in production but it's giving in development server. Please help me with this.&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;compare the code between(in version management) and check if those two are same or not.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Aug 2009 18:17:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/syntax-error-in-select-statement/m-p/6061660#M1354029</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-26T18:17:04Z</dc:date>
    </item>
    <item>
      <title>Re: Syntax error in select statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/syntax-error-in-select-statement/m-p/6061661#M1354030</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN __default_attr="blue" __jive_macro_name="color"&gt;Hi Thanvi,
Try this way.
&lt;PRE&gt;&lt;CODE&gt;
TABLES:t166u. " If you declare like this, it is not needed to use INTO clause in select query
SELECT SINGLE *
  FROM t166u
 WHERE spras EQ ekko-spras
   AND druvo EQ xdruvo
   AND bstyp EQ ekko-bstyp
   AND bsart EQ ekko-bsart.
&lt;/CODE&gt;&lt;/PRE&gt;

Thanks
Venkat.O&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Aug 2009 02:38:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/syntax-error-in-select-statement/m-p/6061661#M1354030</guid>
      <dc:creator>venkat_o</dc:creator>
      <dc:date>2009-08-27T02:38:08Z</dc:date>
    </item>
    <item>
      <title>Re: Syntax error in select statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/syntax-error-in-select-statement/m-p/6061662#M1354031</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; U Declare the Table name:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;STRONG&gt;Tables: T166U&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope its useful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards, &lt;/P&gt;&lt;P&gt; Shankar Gj&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Aug 2009 05:24:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/syntax-error-in-select-statement/m-p/6061662#M1354031</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-27T05:24:33Z</dc:date>
    </item>
    <item>
      <title>Re: Syntax error in select statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/syntax-error-in-select-statement/m-p/6061663#M1354032</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;cross check the where condition.&lt;/P&gt;&lt;P&gt;there is no data element called XDRUVO.&lt;/P&gt;&lt;P&gt;it shopuld be DRUVO&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Aug 2009 06:29:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/syntax-error-in-select-statement/m-p/6061663#M1354032</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-27T06:29:00Z</dc:date>
    </item>
    <item>
      <title>Re: Syntax error in select statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/syntax-error-in-select-statement/m-p/6061664#M1354033</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;&lt;/P&gt;&lt;P&gt;The error might occur bcoz there is not "Into" clause na.  You are selecting only one row na, So you can use Workarea in the palce of internal table andthat work area name can be specified in that "Into" clause. This will clear problem. Ans also check whether you have specfied the tables. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Dhanalakshmi L&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Aug 2009 12:05:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/syntax-error-in-select-statement/m-p/6061664#M1354033</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-27T12:05:04Z</dc:date>
    </item>
    <item>
      <title>Re: Syntax error in select statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/syntax-error-in-select-statement/m-p/6061665#M1354034</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;&lt;/P&gt;&lt;P&gt;The error might occur bcoz there is not "Into" clause na.  You are selecting only one row na, So you can use Workarea in the palce of internal table andthat work area name can be specified in that "Into" clause. This will clear problem. Ans also check whether you have specfied the tables. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Dhanalakshmi L&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Aug 2009 12:06:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/syntax-error-in-select-statement/m-p/6061665#M1354034</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-27T12:06:40Z</dc:date>
    </item>
    <item>
      <title>Re: Syntax error in select statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/syntax-error-in-select-statement/m-p/6061666#M1354035</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;if u select multiple rows then you put a internal table ,&lt;/P&gt;&lt;P&gt;if u select single row from data base u must put a work area , why should u get the data from the data base due to some modifications so it says errors like modify update ,change,insert&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select * into table &amp;lt;itab&amp;gt; from &amp;lt;database table&amp;gt;condition.&lt;/P&gt;&lt;P&gt;select * into &amp;lt;WA_itab&amp;gt; from &amp;lt;database table &amp;gt; condition.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Oct 2009 10:28:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/syntax-error-in-select-statement/m-p/6061666#M1354035</guid>
      <dc:creator>sivakrishna_boddapati</dc:creator>
      <dc:date>2009-10-22T10:28:35Z</dc:date>
    </item>
  </channel>
</rss>

