<?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: Select Statement without INTO in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement-without-into/m-p/6162004#M1370236</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;Where ever you find selects without the INTO clause, they must have declared a TABLES statement. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For Eg,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
TABLES: DFKKKO.

SELECT SINGLE *
FROM DFKKKO
WHERE OPBEL = i_dfkkcoh-data1.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The tables statement generates a workarea similar to the structure of DFKKKO and will store the result into it directly without the need for specifying the INTO clause&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;Vikranth&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 07 Oct 2009 08:30:08 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-10-07T08:30:08Z</dc:date>
    <item>
      <title>Select Statement without INTO</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement-without-into/m-p/6162002#M1370234</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 notice some standard programs are using select statement without the INTO clause. Why is it possible? Following is an example I found:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT SINGLE *&lt;/P&gt;&lt;P&gt;  FROM   DFKKKO&lt;/P&gt;&lt;P&gt;  WHERE  OPBEL = i_dfkkcoh-data1.&lt;/P&gt;&lt;P&gt;{/code}&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Oct 2009 08:27:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement-without-into/m-p/6162002#M1370234</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-10-07T08:27:12Z</dc:date>
    </item>
    <item>
      <title>Re: Select Statement without INTO</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement-without-into/m-p/6162003#M1370235</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 the report or program already has DFKKKO declared in tables section.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;e.g.:- tables DFKKKO.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then explicit into clause is not required.&lt;/P&gt;&lt;P&gt;It will select the data into workarea.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT SINGLE *&lt;/P&gt;&lt;P&gt;FROM DFKKKO&lt;/P&gt;&lt;P&gt;WHERE OPBEL = i_dfkkcoh-data1.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Oct 2009 08:29:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement-without-into/m-p/6162003#M1370235</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-10-07T08:29:58Z</dc:date>
    </item>
    <item>
      <title>Re: Select Statement without INTO</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement-without-into/m-p/6162004#M1370236</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;Where ever you find selects without the INTO clause, they must have declared a TABLES statement. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For Eg,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
TABLES: DFKKKO.

SELECT SINGLE *
FROM DFKKKO
WHERE OPBEL = i_dfkkcoh-data1.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The tables statement generates a workarea similar to the structure of DFKKKO and will store the result into it directly without the need for specifying the INTO clause&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;Vikranth&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Oct 2009 08:30:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement-without-into/m-p/6162004#M1370236</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-10-07T08:30:08Z</dc:date>
    </item>
    <item>
      <title>Re: Select Statement without INTO</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement-without-into/m-p/6162005#M1370237</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It's possible in Native SQl.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Native sql is written using the statement EXEC.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Oct 2009 08:32:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement-without-into/m-p/6162005#M1370237</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-10-07T08:32:04Z</dc:date>
    </item>
  </channel>
</rss>

