Skip to Content
0
Jan 06, 2023 at 12:25 PM

Make a virtual element available as filter

423 Views

Hi,

I Successfully added a virtual element to my CDS, now I noticed this field is not available as filter. Is there anyway I can make this available?

I currently have the annotation @ObjectModel.virtualElementCalculatedBy active. This works fine.

When I combine it with @ObjectModel.filter.transformedBy, I get a dump: CX_SADL_DUMP_APPL_MODEL_ERROR.

I implemented both methods MAP_ATOM and CALCULATE.

I can find an example where a combination is used: Adding Annotations for Virtual Elements | SAP Help Portal

regards,

Robbe