Skip to Content
0
Jul 16, 2023 at 06:14 PM

SAP RAP - Show only Text in F4 Value help Field

297 Views

Hello All ,

I am facing a strange issue when designing a value help for the field "SupplyingPlant," in my custom CDS View.

I want to use I_PlantVH as my value help and used the annotation

@Consumption.valueHelpDefinition: [{entity : {element: 'Plant' , name: 'I_PlantVH'} ,useForValidation: true }]

SupplyingPlant,

This works but it is showing me all the fields of the VH Cds view in my value help

image.png

I just want to show the Plant name in my valuehelp ...

I have a workaround where i will create a Z CDS view on top of I_PlantVH and has only text field in the column list but am looking

for a more elegant solution as I believe that it exists . Unfortunately am not able to find it ....

PS : I Tried Adding text association as well but same result is coming

image.png

Please help me in this endeavor :D

regards

Subhant

Attachments

image.png (12.6 kB)
image.png (11.2 kB)