on 2024 Aug 08 5:02 PM
Hello Team,
I have one standard Fiori app and i have added two custom field using "Custom Fields" App.
And also, I have added custom F4 help on these two fields using "Code list with CDS view".
Up to this its working.
Issue I am facing---
My requirement is dependent on one standard field value my custom F4 (in newly created two fields) should be filter.
Can you suggest how can I solve this issue?
Thanks
Hi,
The way I solved a similar requirement was by creating the Custom Field but DO NOT SELECT "Code list with CDS view".
Then, search for the CDS View where your custom field was added and then create a metadata extension. There you can add your own Value Help.
In my case I was asked to add a Value Help to a Custom field, but the value help should filter data based on other custom field:
@Metadata.layer: #CUSTOMER
annotate entity C_MaintWorkRequestOverviewTP
with
{
@Consumption.valueHelpDefinition: [
{
entity: {
name: 'ZVE_I_RISKS',
element: 'RiskName'
},
additionalBinding: [{ element: 'Country',
localElement: 'ZZCountry' }]
}
]
ZZ1_Risk_Name_NTF;
}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
57 | |
10 | |
7 | |
7 | |
6 | |
6 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.