on 07-30-2023 3:56 PM
I have a requirement - In a smartform, I am having 2 smartfields with F4 help. On selecting field 1 - purchasae org, the field2 -vendor fields's valuehelp should get filtered based on selected Purchase Org. But when i try the same in my local annotation file using valueListParameterIn, it's not getting filtered. I tried this from CDS annotation(additionalBinding) as well, which is also not working. When trying through CDS annotation, the generated annotations for valuehelp is not containg the ValueListParameterIn property. Any inputs will help.
Attaching the code below.
@Consumption.valueHelpDefinition: [
{ entity: { name: 'C_RegionVH', element: 'Region' }},
{additionalBinding: [{ element: 'Country', localElement: 'Country' }]}
]
References followed:
Implementing Filter dependency between Selection Fields in CDS based Fiori Application
Smart Field with Value Help and Hidden Filter
Thanks in Advance,
Janani
to me, you are not getting the point.
you have to annotate the vendor_Number of your main entity, from the screenshot , you are annotating the vendor_number of the valuehelp.
if ***tensType is your main entity, your annotation target regarding valuehelp should be ***tensType/vendor_number
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
68 | |
8 | |
7 | |
6 | |
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.