<?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 without into clause in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-without-into-clause/m-p/2118346#M443630</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i dont think that there is a statement like that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can use a SELECT SINGLE or SELECT * UP TO 1 ROWS statement&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;Hans&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please reward all helpful answers !!!!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 29 Mar 2007 11:19:03 GMT</pubDate>
    <dc:creator>h_senden2</dc:creator>
    <dc:date>2007-03-29T11:19:03Z</dc:date>
    <item>
      <title>Select without into clause</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-without-into-clause/m-p/2118344#M443628</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi gurus!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is often necessary to know if some entry exists in the database table. There is an addition 'TRANSPORTING NO FIELDS' for read table statement. But I couldn't find something like it for the select statement. Maybe I should use another statement for my requirement?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Mar 2007 11:13:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-without-into-clause/m-p/2118344#M443628</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-29T11:13:12Z</dc:date>
    </item>
    <item>
      <title>Re: Select without into clause</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-without-into-clause/m-p/2118345#M443629</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;tables : mara.&lt;/P&gt;&lt;P&gt;select single * from mara where .....&lt;/P&gt;&lt;P&gt;if sy-subrc = 0.&lt;/P&gt;&lt;P&gt;&amp;lt;record exist&amp;gt;&lt;/P&gt;&lt;P&gt;else.&lt;/P&gt;&lt;P&gt;&amp;lt;no&amp;gt;&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;shiba dutta&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Mar 2007 11:16:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-without-into-clause/m-p/2118345#M443629</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-29T11:16:13Z</dc:date>
    </item>
    <item>
      <title>Re: Select without into clause</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-without-into-clause/m-p/2118346#M443630</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i dont think that there is a statement like that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can use a SELECT SINGLE or SELECT * UP TO 1 ROWS statement&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;Hans&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please reward all helpful answers !!!!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Mar 2007 11:19:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-without-into-clause/m-p/2118346#M443630</guid>
      <dc:creator>h_senden2</dc:creator>
      <dc:date>2007-03-29T11:19:03Z</dc:date>
    </item>
    <item>
      <title>Re: Select without into clause</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-without-into-clause/m-p/2118347#M443631</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;gt; tables : mara.&lt;/P&gt;&lt;P&gt;&amp;gt; select single * from mara where .....&lt;/P&gt;&lt;P&gt;&amp;gt; if sy-subrc = 0.&lt;/P&gt;&lt;P&gt;&amp;gt; &amp;lt;record exist&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;gt; else.&lt;/P&gt;&lt;P&gt;&amp;gt; &amp;lt;no&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;gt; endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks, but here you declare structure mara, i.e. you use this structure as container for the selection...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Mar 2007 11:20:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-without-into-clause/m-p/2118347#M443631</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-29T11:20:05Z</dc:date>
    </item>
    <item>
      <title>Re: Select without into clause</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-without-into-clause/m-p/2118348#M443632</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;that is correct but that is table work area where it should take the value...i think no other options are there to check that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;shiba dutta&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Mar 2007 11:24:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-without-into-clause/m-p/2118348#M443632</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-29T11:24:17Z</dc:date>
    </item>
    <item>
      <title>Re: Select without into clause</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-without-into-clause/m-p/2118349#M443633</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok. Most likely you are right. But it is still a little bit strange for me why didn't SAP foresee such a request to the database...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;p.s. Points were awarded.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Mar 2007 11:37:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-without-into-clause/m-p/2118349#M443633</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-29T11:37:08Z</dc:date>
    </item>
    <item>
      <title>Re: Select without into clause</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-without-into-clause/m-p/2118350#M443634</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Pavel,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Declare the table in the report using TABLES.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;example.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
TABLES: MARA.

SELECT MATNR FROM MARA WHERE MATNR IN S_MATNR.

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for this you do not require any into clause......&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and Regards,&lt;/P&gt;&lt;P&gt;Kunjal Patel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Mar 2007 11:41:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-without-into-clause/m-p/2118350#M443634</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-29T11:41:51Z</dc:date>
    </item>
    <item>
      <title>Re: Select without into clause</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-without-into-clause/m-p/2118351#M443635</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can use the table itself&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;REPORT YCHATEST1.

TABLES: MARA.
 
SELECT MATNR FROM MARA into mara-matnr WHERE MATNR IN S_MATNR.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Mar 2007 11:44:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-without-into-clause/m-p/2118351#M443635</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-29T11:44:48Z</dc:date>
    </item>
  </channel>
</rss>

