on 2024 Jun 24 7:34 PM
Hi Experts,
I am trying to create F4 help to Custom analytic query, I added below annotation to make field act as filter but I tried various ways to add Value help but without any success. field is not parameterized, it is made filter by addition below annotation form projection list.
@Consumption.filter: {selectionType: #INTERVAL, multipleSelections: true, mandatory: false}
Can you please guide how to achieve it
Ankesh
Request clarification before answering.
Please try adding @ObjectModel.foreignKey.association: '_AssociationTarget' in the underlying cube view.
In the example below, I_Material will be used for value help.
define view I_SalesOrderItem
association [0..1] to I_Material as _Material
on $projection.Material = _Material.Material ... {
@ObjectModel.foreignKey.association: ’_Material’
Material,
_Material, ...
}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @MioYasutake,
Thanks for your response, this is working fine where we have text association like in below example @ObjectModel.text.association: '_countrytext'
But I have another CDS which does not have text association, Is it mandatory to have text association, if I want to use value help without text association based on just CEPC-name1(as in below example) how should I do that
I got below Error
Hi @MioYasutake, I think it is not related to text association because I removed text association and it is still working. my simple requirement is to show CEPC-NAME1 or CEPC-NAME2 as value help in other CDS. one thing I noticed is BUKRS as MATNR in your example has value table but NAME1 does not have any value table? I am not sure though will it have any implication?
Can you please share your observations
User | Count |
---|---|
41 | |
15 | |
10 | |
9 | |
6 | |
5 | |
5 | |
4 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.