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

When building our CDS model, we describe, amongst other things:

  • types
  • aspects
  • entities
  • services

The CDL for each of these objects is clear and simple. That's because of the intent behind the design of CDS as a whole, but also because there's a particular keyword that is optional in such definitions, and is usually omitted.

What is that keyword?

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:

  • The entire CDL topic in Capire has various notes on how this keyword is optional.
32 Comments
Dan_Wroblewski
Developer Advocate
Developer Advocate

1279033c12788299a11a9c7f6e16cde22ed843e5101b4050a46e066cb4275778

VishnAndr
Active Contributor

0e05fe8a6e8d63f96f974e237cd6c35bb61979b4e8c50fd3cf89e00067e8e6dd

furkan5
Participant

968cd88c39efb9ef836498bd5a17e6285cd923a53905c536b2131daed14cb7c4

NakulG
Explorer

dbc0fef464dbc1bf88e89d8947840ca55e928f6e7c454376c024d83b3a13edf3

SachinArtani
Active Participant

4cdeb703ff3b3a3f500a2a7f591417908770c21957ee966a8943266084bfb301

GauravPhadnis
Product and Topic Expert
Product and Topic Expert

9820998e0322889e8e0929bd7088fda4a78d79ce58a0755f81b64a2a4b5b84a2

mvaibhav
Contributor

f7138e9159046d64a7480a3da9da3e3e01e3ad767f7e407b8b601d423ccfa9fc

kasch-code
Participant

0e228c7d158df4b0a3b83ec92dfca3465cacdd2bfe3ee9199dcb378ba7ed97ee

shotokka
Explorer

17c51f4748e754fb1efe071e69e4d78f32b0933b5aadeeb03c42188b1d056763

b382bf1ea85125316fb8fb1373dbd67843dda1914552924f55d44ff6e548368b

soheil_st
Explorer

c9abed7aaa40c1bfb9bd76ca5b657ee743c7b134b5565d2fda76b078a2603d96

berkaydurmaz
Explorer

af23179f55a7393e431fc84e5938c21c390af145ba6b10398297fad08ca7301d

sarvesh_agarwal
Explorer

aedc7e61e6da77a3f102bc1e40aa4865b0805ac2017eb4494422eeb003854a1a

Joery
Participant

24b86e06623b63b0ce7f73e235c0a7f0ee66d8bd41b1c086f45220c8b0b39e05

ajmaradiaga
Developer Advocate
Developer Advocate

d525a8b9c25c71a82c289e0a3143fa6061e8f3b8423c4576afc55b57da72f94b

Rupesh_Kumar25
Explorer

60e6e449f3ded287ad4a89775b16cdae95ee46f49592dc1ec2a8815b62903d7b

MioYasutake
SAP Champion
SAP Champion

1d77af1e15b46f9e1450bede40686cb3530356b363be4608e4233fe191d4ef7e

lidavidlee
Explorer

60b513ab9459fff7191e7f29f31e25a4e8414c7a5faa52a977d536355b0291db

RajeshOlive
Explorer

97c7a39e1c6376d1b49447594eb47a1730d75975097260180fedba8c4278a8a8

aelghannam
Participant

39649a3cdf232412eb4abb3990334a8c9c8af6d6e986f8f44fe7f2920c3980d1

parthasaradhi
Explorer

83a236716ba96698f7fe63d3490b58daf8fe1be32cfe1fe502aa694656df2d31

Caisi
Explorer

d776b7e91c72a939446a82ec0a9c7903fbe7d15bb45c25d6938261e998648ed3

MatLakaemper
Participant

30ad4f520859122b2cffedbcff75931527db9f9a2a1a285cb139bdc291cad5fb

Swathi_SAP_Philomath
Participant

b40069b988acc688109b110429e95a6c6c2c57eebf30cf69962b62e7cb6baa1c

Chaimae_Chairi27
Participant

7277f7885e390b9df53e74dce50580086ee53ba53e545526f8280ca20aa79584

nagarjundas_1994
Explorer

c0d3b08cf777d588e60a9fcb30e95dc656240c8aefe90145a632eef7351da814

SergioG_TX
SAP Champion
SAP Champion

d660e87d4504d7b2a2ed5bc97b6430dfc0d8afdd768d03f05a06ce5677d7b78c

Laco
Participant

308a9f909fb3ae4589b6a7d6d7fbb27c8e6bf23aef5c7b9bee0893ae242b644f

Anusha2025
Explorer
fb5625f5c56fb6272a8c8eebac0c0ec92ff8c377f097b10fec47b11c41c21403
AndriiDanilishin
Participant

5e42d64141a75b5460c1f4f1a04ca9a631a40eef223e188f83d417a70d29140a

stickman_0x00
Participant

64a7bd3254a5857858370c0fb413553401c66e5a2486e0771c61cf81b7d32c27

gouthamKumar
Explorer

b6c0696db114157eb66b678a08cb5b1ebea0ed0e491585ccfec4dbb3ca918dde