<?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 single * statement in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-single-statement/m-p/1326170#M167072</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks everyone.&lt;/P&gt;&lt;P&gt;I got that fixed. I some how forgot to mention the tables statment.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks again.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 05 Jun 2006 20:06:22 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-06-05T20:06:22Z</dc:date>
    <item>
      <title>select single * statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-single-statement/m-p/1326166#M167068</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have the follwing two codes .The first one works fine but the second one gives me an error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please let me know what is the error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1)The below code works fine&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at itab.&lt;/P&gt;&lt;P&gt;select single * from zxyz&lt;/P&gt;&lt;P&gt;               where zorder = itab-zorder.&lt;/P&gt;&lt;P&gt;if zxyz-id is initial.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;---&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2)This one doesn't work&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select single * from zac&lt;/P&gt;&lt;P&gt;               where userid = sy-uname.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if sy-subrc eq 0.&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="---" /&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Iam getting this error please let me know&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The INTO clause is missing at select, or the from addition at either DELETE,INSERT,MODIFY OR UPDATE IS MISSING.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Deepthi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Jun 2006 19:27:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-single-statement/m-p/1326166#M167068</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-05T19:27:03Z</dc:date>
    </item>
    <item>
      <title>Re: select single * statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-single-statement/m-p/1326167#M167069</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do u have TABLES statement for table ZAC in the program?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Jun 2006 19:30:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-single-statement/m-p/1326167#M167069</guid>
      <dc:creator>sridhar_k1</dc:creator>
      <dc:date>2006-06-05T19:30:44Z</dc:date>
    </item>
    <item>
      <title>Re: select single * statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-single-statement/m-p/1326168#M167070</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;can u give the complete code&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Jun 2006 19:31:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-single-statement/m-p/1326168#M167070</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-05T19:31:40Z</dc:date>
    </item>
    <item>
      <title>Re: select single * statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-single-statement/m-p/1326169#M167071</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Deepthi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You must declare either the table or an work area in your program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can do that with either of the below methods:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Tables: ZAC. (or)&lt;/P&gt;&lt;P&gt;2. Data: w_zac like ZAC.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Change your select statement to the following when you use the option 2:&lt;/P&gt;&lt;P&gt;select single * &lt;/P&gt;&lt;P&gt;       from zac &lt;/P&gt;&lt;P&gt;       into w_zac &lt;/P&gt;&lt;P&gt;       where userid = sy-uname.&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sumant.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Sumant Sura&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Jun 2006 19:31:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-single-statement/m-p/1326169#M167071</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-05T19:31:41Z</dc:date>
    </item>
    <item>
      <title>Re: select single * statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-single-statement/m-p/1326170#M167072</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks everyone.&lt;/P&gt;&lt;P&gt;I got that fixed. I some how forgot to mention the tables statment.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks again.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Jun 2006 20:06:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-single-statement/m-p/1326170#M167072</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-05T20:06:22Z</dc:date>
    </item>
  </channel>
</rss>

