<?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: Query Error - Comma without preceding colon (after SELECT ?). in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/query-error-comma-without-preceding-colon-after-select/m-p/12325774#M1991349</link>
    <description>&lt;P&gt;Move the whole case/endcase blocks right before append.&lt;/P&gt;</description>
    <pubDate>Wed, 17 Feb 2021 09:41:35 GMT</pubDate>
    <dc:creator>abo</dc:creator>
    <dc:date>2021-02-17T09:41:35Z</dc:date>
    <item>
      <title>Query Error - Comma without preceding colon (after SELECT ?).</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/query-error-comma-without-preceding-colon-after-select/m-p/12325773#M1991348</link>
      <description>&lt;P&gt;Greeting,&lt;/P&gt;
  &lt;P&gt;I just wrote down script to get data in query as below:&lt;/P&gt;
  &lt;P&gt;====================================================================&lt;BR /&gt;SELECT t3~salesamt t3~reamt t3~saleqty t3~reqty,&lt;/P&gt;
  &lt;P&gt; CASE t3~salesamt.&lt;BR /&gt; WHEN t3~vvs10 &amp;gt; 0 .&lt;BR /&gt; WRITE t3~vvq10.&lt;BR /&gt; WHEN t3~vvs10 &amp;lt; 0.&lt;BR /&gt; WRITE 0.&lt;BR /&gt; ENDCASE.&lt;BR /&gt; CASE t3~reamt.&lt;BR /&gt; WHEN t3~vvs10 &amp;lt; 0.&lt;BR /&gt; WRITE t3~vvq10.&lt;BR /&gt; WHEN t3~vvs10 &amp;gt; 0 .&lt;BR /&gt; WRITE 0.&lt;BR /&gt; ENDCASE.&lt;BR /&gt; CASE t3~saleqty.&lt;BR /&gt; WHEN t3~vvs10 &amp;gt; 0 .&lt;BR /&gt; WRITE t3~vvq10.&lt;BR /&gt; WHEN t3~vvs10 &amp;lt; 0.&lt;BR /&gt; WRITE 0.&lt;BR /&gt; ENDCASE.&lt;BR /&gt; CASE t3~reqty .&lt;BR /&gt; WHEN t3~vvs10 &amp;lt; 0.&lt;BR /&gt; WRITE t3~vvq10.&lt;BR /&gt; WHEN tt3~vvs10 &amp;gt; 0 .&lt;BR /&gt; WRITE 0.&lt;BR /&gt; ENDCASE.&lt;BR /&gt; from ce110tw t3&lt;BR /&gt; into corresponding fields of zsd_sales_rpt_emp&lt;BR /&gt; where t3~fadat in s_fadat.&lt;BR /&gt; APPEND zsd_sales_rpt_emp TO it_data.&lt;BR /&gt;ENDSELECT.&lt;/P&gt;
  &lt;P&gt;====================================================================&lt;/P&gt;
  &lt;P&gt;However, I got an error message: Comma without preceding colon (after SELECT ?).&lt;/P&gt;
  &lt;P&gt;Is there any ABAP experts who can teach me how to solve this error?&lt;/P&gt;
  &lt;P&gt;Thanks in advance.&lt;/P&gt;
  &lt;P&gt;Roger&lt;/P&gt;</description>
      <pubDate>Wed, 17 Feb 2021 09:33:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/query-error-comma-without-preceding-colon-after-select/m-p/12325773#M1991348</guid>
      <dc:creator>former_member588495</dc:creator>
      <dc:date>2021-02-17T09:33:43Z</dc:date>
    </item>
    <item>
      <title>Re: Query Error - Comma without preceding colon (after SELECT ?).</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/query-error-comma-without-preceding-colon-after-select/m-p/12325774#M1991349</link>
      <description>&lt;P&gt;Move the whole case/endcase blocks right before append.&lt;/P&gt;</description>
      <pubDate>Wed, 17 Feb 2021 09:41:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/query-error-comma-without-preceding-colon-after-select/m-p/12325774#M1991349</guid>
      <dc:creator>abo</dc:creator>
      <dc:date>2021-02-17T09:41:35Z</dc:date>
    </item>
    <item>
      <title>Re: Query Error - Comma without preceding colon (after SELECT ?).</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/query-error-comma-without-preceding-colon-after-select/m-p/12325775#M1991350</link>
      <description>&lt;P&gt;Hello, have you put dots(.) in your select?&lt;/P&gt;</description>
      <pubDate>Wed, 17 Feb 2021 09:44:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/query-error-comma-without-preceding-colon-after-select/m-p/12325775#M1991350</guid>
      <dc:creator>ekekakos</dc:creator>
      <dc:date>2021-02-17T09:44:11Z</dc:date>
    </item>
    <item>
      <title>Re: Query Error - Comma without preceding colon (after SELECT ?).</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/query-error-comma-without-preceding-colon-after-select/m-p/12325776#M1991351</link>
      <description>&lt;P&gt;check this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;SELECT vbeln, vbtyp,
 CASE
   WHEN auart = 'ZAMA' THEN @lc_name1
   WHEN auart = 'ZACR' THEN @lc_name2
  ELSE @lc_name3
END AS ernam
FROM vbak
WHERE vbeln = @ld_vbeln
 INTO CORRESPONDING FIELDS of @ls_vbak.
ENDSELECT.&lt;BR /&gt;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 17 Feb 2021 09:46:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/query-error-comma-without-preceding-colon-after-select/m-p/12325776#M1991351</guid>
      <dc:creator>ekekakos</dc:creator>
      <dc:date>2021-02-17T09:46:56Z</dc:date>
    </item>
    <item>
      <title>Re: Query Error - Comma without preceding colon (after SELECT ?).</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/query-error-comma-without-preceding-colon-after-select/m-p/12325777#M1991352</link>
      <description>&lt;P&gt;Hi Elias,&lt;/P&gt;&lt;P&gt;Yes, I have put dots as the above script.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Roger&lt;/P&gt;</description>
      <pubDate>Thu, 18 Feb 2021 08:12:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/query-error-comma-without-preceding-colon-after-select/m-p/12325777#M1991352</guid>
      <dc:creator>former_member588495</dc:creator>
      <dc:date>2021-02-18T08:12:59Z</dc:date>
    </item>
  </channel>
</rss>

