Skip to Content
0
Former Member
Jun 01, 2021 at 12:29 PM

Dynamic semantic Object

524 Views

Hey together,

the classical way for semantic objects is via CDS annotation:

@Consumption.semanticObject: 'SalesOrder'

But the semantic Object is static in this annotation. Is there a way to implement this dynamically, depending on the variable? So the semantic object should adapt depending on the variable.

Thanks.