Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

CDS Concatenate

AJeB
Participant
0 Kudos

Hi how can i concatenate the tmdocs with the same id using CDS?


Expected output

2 REPLIES 2

Sandra_Rossi
Active Contributor
0 Kudos

I guess you must use HANA native SQL (so you need to combine with a CDS Table Function and AMDP).

Edit: use the HANA SQL function STRING_AGG.

former_member15471
Participant
0 Kudos

Hi,

Can I know why do you need such a field where you are concatenating so many items in a single cell.

This will impact heavily on the performance and doesn't look that a CDS view can solve this problem of yours.