02-10-2018 8:15 PM
Dear Experts,
I am building a CDS which is reading a table, table has a line/item ID and several columns which are Text IDs. Corresponding texts are in a text table (linked with line/item ID and Text ID). Text table is similar to CGPL_TEXT.
AS I have more than 10 Text IDs I wouldn't like to use a condition in the CDS association
association [0..*] to YTexts as _Texts on $projection.temUUID = _Texts.itemUUID and $projection.zz_name = _Texts.TextUUID
I would like to use filters parameters like below:
_NPDTexts[ TextUUID = zz_name and Laguage = 'E' ].Text as nameText
but TextUUID = zz_name is trowing a syntax error.
As far as I can see in the documentation I can not use on the rhs of the expression a field from the projection, only fields from target data source (_Texts table). Any idea on what is the reason for this limitation?
Thanks,
San