As of ABAP 7.40 SP5 I can use the CONCAT
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 can't do this way is combine two fields with a space separating them. When I do this:
define view Z...
as select from but000 as bp
{
concat( concat( bp.name_first, ' '), bp.name_last )
}
The space ' '
is silently trimmed from the resulting string. How can I separate fields with a space?