SAP CAP Blog Posts
cancel
Showing results for 
Search instead for 
Did you mean: 
qmacro
Developer Advocate
Developer Advocate
1,156

CDS provides a set of common types and aspects for reuse in CDS models, so we can avoid reinventing the wheel each time. Moreover, we end up with concise models that are easier to understand, and our models are more interoperable.

In this set, there's the managed aspect which adds four elements to an entity, and each of those four elements will be automatically filled with data on write-semantic operations on the entity. The definition of this aspect uses annotations to determine the events on which the data is written.

According to the Capire documentation, what is the annotation that is used in the definition of elements in this managed aspect, the annotation which will cause data to be written on UPDATE and UPSERT operations (specify just the @-based name of the annotation, not the entire @NAME: value construct).

This is a question from the June Developer Challenge on CAP Knowledge. And don't forget: always submit your answer as a hash, on its own - read the Taking part section of the intro post for more info. At the end of today, this question will be updated with links to further reading on this topic.

Further info:

38 Comments