<?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 select statement in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement/m-p/2822169#M660157</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;can we write a select statement without an Into clause.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select ebeln from ekpo where ebeln = ponumber.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;here i do not want to place the selected data to any variable or any internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ca anyone help me in this.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 20 Sep 2007 07:54:05 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-09-20T07:54:05Z</dc:date>
    <item>
      <title>select statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement/m-p/2822169#M660157</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;can we write a select statement without an Into clause.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select ebeln from ekpo where ebeln = ponumber.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;here i do not want to place the selected data to any variable or any internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ca anyone help me in this.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Sep 2007 07:54:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement/m-p/2822169#M660157</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-20T07:54:05Z</dc:date>
    </item>
    <item>
      <title>Re: select statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement/m-p/2822170#M660158</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;yes u can do it by specify tables statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;try like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;tables : ekpo.&lt;/P&gt;&lt;P&gt;parameters :p_ebeln like ekpo-ebeln.&lt;/P&gt;&lt;P&gt;select * from ekpo where ebeln = p_ebeln.&lt;/P&gt;&lt;P&gt;endselect.&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;Nagaraj&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Sep 2007 07:56:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement/m-p/2822170#M660158</guid>
      <dc:creator>former_member404244</dc:creator>
      <dc:date>2007-09-20T07:56:10Z</dc:date>
    </item>
    <item>
      <title>Re: select statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement/m-p/2822171#M660159</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;without into clause you can write the select clause but you need to declare table work area for that...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;tables : ekpo.&lt;/P&gt;&lt;P&gt;select * from ekpo where ebeln = ponumber.&lt;/P&gt;&lt;P&gt;if sy-subrc = 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;and here only * (i.e. all fields) is allowed not the individual  field name.&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, 20 Sep 2007 07:58:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement/m-p/2822171#M660159</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-20T07:58:34Z</dc:date>
    </item>
    <item>
      <title>Re: select statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement/m-p/2822172#M660160</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i tried typing that and doing a syntax check and i got this error message&lt;/P&gt;&lt;P&gt;i have no idea why the word 'allowed' appears so many times&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;Field list without INTO clause is not allowed . allowed. . allowed. .	
allowed. . allowed. allowed. allowed. allowed. allowed.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Sep 2007 07:59:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement/m-p/2822172#M660160</guid>
      <dc:creator>former_member189059</dc:creator>
      <dc:date>2007-09-20T07:59:55Z</dc:date>
    </item>
    <item>
      <title>Re: select statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement/m-p/2822173#M660161</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Camila,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If your are selecting all the fields then you can write the query without into clause.  But when you are select particular field you have to use the into clause.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For eg.&lt;/P&gt;&lt;P&gt;(1)&lt;/P&gt;&lt;P&gt;       Tables : EKPO.&lt;/P&gt;&lt;P&gt;       SELECT  * from EKPO where ebeln = ponumber.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(2).  &lt;/P&gt;&lt;P&gt;     DATA : L_EBELN TYPE EKPO-EBELN.&lt;/P&gt;&lt;P&gt;    SELECT ebeln from ekpo  INTO L_EBELNwhere ebeln = ponumber.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Revert back for futher clarifications.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward if useful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Mandeep&lt;/P&gt;&lt;P&gt;mandipsindhu@rediffmail.com&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Sep 2007 08:20:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement/m-p/2822173#M660161</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-20T08:20:41Z</dc:date>
    </item>
    <item>
      <title>Re: select statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement/m-p/2822174#M660162</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;select * from mara &lt;/P&gt;&lt;P&gt;        where spart = 'PA'&lt;/P&gt;&lt;P&gt;          and not ( zatacd = space ) &lt;/P&gt;&lt;P&gt;        order by matnr.&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;vasu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Sep 2007 08:26:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement/m-p/2822174#M660162</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-20T08:26:45Z</dc:date>
    </item>
    <item>
      <title>Re: select statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement/m-p/2822175#M660163</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hai,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;u should write query like this .&lt;/P&gt;&lt;P&gt;table ebeln.&lt;/P&gt;&lt;P&gt;select single *  from ekpo where ebeln = ponumber.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;try this it will work.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Sep 2007 08:27:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement/m-p/2822175#M660163</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-20T08:27:56Z</dc:date>
    </item>
    <item>
      <title>Re: select statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement/m-p/2822176#M660164</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi &lt;/P&gt;&lt;P&gt;well this statwement which u have written is perfect actually &lt;/P&gt;&lt;P&gt;before this statement we define TABLES statement &lt;/P&gt;&lt;P&gt;like e.g.&lt;/P&gt;&lt;P&gt;tables EKPO .&lt;/P&gt;&lt;P&gt;what it does is create a work area like table EKPO which allow us to transfer data from EKPO into workarea EKPO directly w/o writing any into clause in the select querry...&lt;/P&gt;&lt;P&gt;thnks&lt;/P&gt;&lt;P&gt;Sahil&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Sep 2007 08:28:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement/m-p/2822176#M660164</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-20T08:28:00Z</dc:date>
    </item>
  </channel>
</rss>

