2022 Aug 19 8:46 AM
Hi how can i concatenate the tmdocs with the same id using CDS?

Expected output

2022 Aug 19 10:59 AM
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.
2022 Aug 19 12:09 PM
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.
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |