Application Development and Automation 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: 
Read only

CDS Concatenate

AJeB
Participant
0 Likes
1,146

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


Expected output

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


Expected output

2 REPLIES 2
Read only

Sandra_Rossi
Active Contributor
0 Likes
1,040

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.

Read only

former_member15471
Participant
0 Likes
1,040

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.