title: Concatenating a space in CDS views
body: <p><a href="https://blogs.sap.com/2014/10/10/abap-news-for-740-sp08-abap-core-data-services-cds/" rel="nofollow noreferrer">As of ABAP 7.40 SP5</a> I can use the <code>CONCAT</code> function to combine two fields in my CDS view select list. It's limited to two parameters but I can work around that by chaining this function to combine multiple fields or build larger strings. What I <em>can't</em> do this way is combine two fields with a space separating them. When I do this:</p>
  
  <pre><code>define view Z... 
  as select from but000 as bp
  {
      concat( concat( bp.name_first, ' '), bp.name_last )
  }
  </code></pre>
  
  <p>The space <code>' '</code> is silently trimmed from the resulting string. <strong>How can I separate fields with a space?</strong></p>