on 2021 Apr 19 8:36 PM
Which CDS Annotation can I use to not display a field in the UI and keep then into the metadata?
I need the value of the field for business calculation, but I do not want to show the field on the List Report Column.
The @UI.hidden and @UI.lineItem.exclude annotations do not work for me, because that annotations remove the field of the metadata and I need to keep them on metadata.
I am using OData v2 with Fiori Elements List Report.
Request clarification before answering.
Hi josianni.schmitt ,
you can try annotating the field with
@ui.hidden: true so that it will not be displayed in List report and add @UI.presentationVariant.requestAtLeast: [ '<ur_field' ]
which will get your field in model for calculation.
hope it would solve your problem.
Regards,
Appu John
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
75 | |
30 | |
9 | |
8 | |
7 | |
6 | |
6 | |
5 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.