SAP CAP Blog Posts
cancel
Showing results for 
Search instead for 
Did you mean: 

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:

78 Comments
lidavidlee
Explorer

88ad337c2a20ff936ae0507da26e82a797319dd4a7e7630833cbdf24254828c8

omer_sakar
Active Participant

63da0df9d942e40d78efd8a4f8965b4f3a1306b1c1fd9410891884ff8f49ae82

Dan_Wroblewski
Developer Advocate
Developer Advocate

d01117cd082c7792df17c65a4634cb365dd5a21baef42a55e8c753f6275d319b

milan_10
Participant

22a999d313b2f3dc3e49b86db159af3d74f7cccd7e1c3da55fb075ae0a5ecdf0

MattHarding
SAP Mentor
SAP Mentor

a710fbafe23c03dc42dcfe9be1d0b87682bf8205217fa4f1e6b18f3e34adf0f7

NeelimaEmmani
Explorer

caaedf928ff995c2cdbd679dc8c8009920929db4d8f025b477e586a9c3806679

parthasaradhi
Explorer

6668b17671e71c3c8d5c4d1b22b1fff1721336f28840757e75ce0e206fe3323d

soheil_st
Explorer

8df9bf317f816cdd7aa52a5d9231aa5649a00fc6fa507089a2279e0f98e3d503

AndriiDanilishin
Participant

3f3bab32a67185c0b6a65de8dc72c75145545d0959afd5fa78492fdfdc96df4b

YLN
Explorer

1fe8be99598fb6020d36b0febbf298309db097d23b4be452122fa4d549626aed

Ihor_Haranichev
Participant

6bc369126f2db3d910c4686985f4bc0f5fc12d8d798681bd6904360a90b5b6ce

MohamedAbdelghany
Discoverer

1b13712d570ae94d06ed1093878d418f81f39fa9b76a5247270fa9f8be82c350

Guru_Charan
Explorer

d5c48203745f65b16d5280a867d6d41e8a9ace4c74fc77a7ba60fa740138829c

Guru_Charan
Explorer

d5c48203745f65b16d5280a867d6d41e8a9ace4c74fc77a7ba60fa740138829c

_Jakub_
Explorer

5b77d0f1d5a59c0e14d48ae23101f8373d06be425edca2a6b5c32c41a2463455

yashwanth1711
Discoverer

9b257f5d1a8ce88372dfa4dfe367ca0c

shubhamkar
Explorer

d7c75132e784ade41df2f24829d370123a43fd55aeedf9430f4a3da5ffe2c4ae

stickman_0x00
Participant
5129058f6a801ce7721f5085afc5f4b6bf248f66da437f7e9a744fe03b9e0b4d
Swathi_SAP_Philomath
Participant

ef47364eeda11f524de6871b5d548fb93a7ff32987e5135a407c0f0356c7802f

Laco
Participant

8ace5aa8c82f6c024a8c4504ac1f88c60be04bb6d5e2929c07b11ab817ed12da

Anusha2025
Explorer

167c912816ac9569b7eaca7243d08eb2d99709b40ddc12d799a1794cd71b225a

mhameister
Explorer

c1e4f28920b5257aa3bbe03bad91ddb6c7e08421d34782167bce523b5372cbb4

gouthamKumar
Explorer

504a781e1e32b7d9f9e3d5d07fcf8a49fcffa17282bb46dcbf6e1f442439c038

P2012168638
Newcomer

6c9768211ce74efdb8fac6eef4fd5f46179c48489f7eadd4daee24abf4f89fdb

d4bb98ef2db23024ae263b184d3f1dfaba76471c64bdb28a95edff03e725a406

Hecmtz199
Explorer

4a9e84828741efea952a20dd34764f6c8a776832fd95738bf9f46d236223c8e4

Dennis_Knause
Explorer

88c5c04a8ccd09c3deacf633bce4329dc5247a57ed9f02d31296bca580934808

Dennis_Knause
Explorer

you can confirm your answer is correct by checking it with qmacro's community id instead of your own and then confirming the has is the same as qmacro's.

@qmacro  I think it'd be better to use a submission-system other than comments
or posting your own answer with a hidden secret like the date or a number

sorry if i am annoying 😕