<?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: sql_exp - sql_string not possible with NUMC columns? in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/sql-exp-sql-string-not-possible-with-numc-columns/m-p/10429991#M1845400</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Oooops ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Has the dang documentation writer (that's me) simply believed what the dang developer (that's the buddy sitting directly in front of me, nice guy by the way) has told him instead of testing it thoroughly enough. &lt;SPAN __jive_emoticon_name="confused" __jive_macro_name="emoticon" class="jive_macro jive_emote" src="https://community.sap.com/906/images/emoticons/confused.gif"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Unfortunately, only CHAR, CLNT, LANG, CUKY, UNIT and c are supported with operator &amp;amp;&amp;amp; up to now.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I adjust the documentation in SP09&amp;nbsp; (that's the current version, I'm working on). But maybe, that's also the SP, where the restriction will be abolished anyway (the problem as always in Open SQL - and meanwhile also in ABAP CDS - is, that each database must deliver the same result for all possible combinations and a lot of testing has to be done before the functionality can be released).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sorry for that and thanks for notifying me!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Horst&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 16 Jul 2014 16:02:53 GMT</pubDate>
    <dc:creator>retired_member</dc:creator>
    <dc:date>2014-07-16T16:02:53Z</dc:date>
    <item>
      <title>sql_exp - sql_string not possible with NUMC columns?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sql-exp-sql-string-not-possible-with-numc-columns/m-p/10429990#M1845399</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In the ABAP 7.40 documentation ist says:&lt;/P&gt;&lt;P&gt;&lt;SPAN class="h1"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="h1"&gt;"sql_exp - sql_string &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="h2"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="h2"&gt;Syntax &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="qtext"&gt;... operand1 &amp;amp;&amp;amp; operand2&amp;nbsp; [&amp;amp;&amp;amp; operand3 ... ] ...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="h4"&gt; Effect &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Character string expression in Open SQL. The operator &lt;SPAN class="qtext"&gt;&amp;amp;&amp;amp;&lt;/SPAN&gt; chains the character strings in two adjacent operand to a single character string. The operands can have the following data types:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Dictionary types CHAR, DATS, CLNT, CUKY, LANG,&lt;STRONG&gt; NUMC&lt;/STRONG&gt;, TIMS, and UNIT for columns of database tables or views.&lt;/LI&gt;&lt;LI&gt;ABAP type &lt;SPAN class="qtext"&gt;c&lt;/SPAN&gt;, &lt;SPAN class="qtext"&gt;n&lt;/SPAN&gt;, &lt;SPAN class="qtext"&gt;d&lt;/SPAN&gt;, and &lt;SPAN class="qtext"&gt;t&lt;/SPAN&gt; for host variables.&lt;/LI&gt;&lt;LI&gt;Text field literal of type &lt;SPAN class="qtext"&gt;c&lt;/SPAN&gt;. Empty text field literals cannot be specified.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;The operator &lt;SPAN class="qtext"&gt;&amp;amp;&amp;amp;&lt;/SPAN&gt; can only be used to chain the elementary operands stated above. Any other expressions cannot be chained."&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But when I try to concatenate two database columns with type NUMC the syntax check say, that only type CHAR is allowed for string concatenation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A __default_attr="3984" __jive_macro_name="user" class="jive_macro_user jive_macro" data-orig-content="Horst Keller" href="https://community.sap.com/"&gt;&lt;/A&gt;, what did I do wrong?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you in advance,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Peter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Jul 2014 17:40:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sql-exp-sql-string-not-possible-with-numc-columns/m-p/10429990#M1845399</guid>
      <dc:creator>peter_langner</dc:creator>
      <dc:date>2014-07-15T17:40:14Z</dc:date>
    </item>
    <item>
      <title>Re: sql_exp - sql_string not possible with NUMC columns?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sql-exp-sql-string-not-possible-with-numc-columns/m-p/10429991#M1845400</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Oooops ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Has the dang documentation writer (that's me) simply believed what the dang developer (that's the buddy sitting directly in front of me, nice guy by the way) has told him instead of testing it thoroughly enough. &lt;SPAN __jive_emoticon_name="confused" __jive_macro_name="emoticon" class="jive_macro jive_emote" src="https://community.sap.com/906/images/emoticons/confused.gif"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Unfortunately, only CHAR, CLNT, LANG, CUKY, UNIT and c are supported with operator &amp;amp;&amp;amp; up to now.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I adjust the documentation in SP09&amp;nbsp; (that's the current version, I'm working on). But maybe, that's also the SP, where the restriction will be abolished anyway (the problem as always in Open SQL - and meanwhile also in ABAP CDS - is, that each database must deliver the same result for all possible combinations and a lot of testing has to be done before the functionality can be released).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sorry for that and thanks for notifying me!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Horst&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Jul 2014 16:02:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sql-exp-sql-string-not-possible-with-numc-columns/m-p/10429991#M1845400</guid>
      <dc:creator>retired_member</dc:creator>
      <dc:date>2014-07-16T16:02:53Z</dc:date>
    </item>
  </channel>
</rss>

