Back to basics with SAP Cloud Application Programming Model (CAP) - part 12

  Рет қаралды 3,036

SAP Developers

SAP Developers

Күн бұрын

Пікірлер: 10
@MikhailLukyanaulukcad
@MikhailLukyanaulukcad 5 ай бұрын
Thank you DJ for your video lesson! It was brilliant to get deep understanding how to use custom logic. As you had restricted time, you were not able to finish with `return next()` but it is ok, missing that you helped me with understanding many other things in CAP. So, everything is clear! Thank you, once again. looking forward watching your new video lessons!
@DJAdams
@DJAdams 5 ай бұрын
Thanks Mikhail, and you're welcome!
@machineniv
@machineniv 5 ай бұрын
Hello @sapdevs @DJAdams Could you please make a session on CAPM with Typescript setup and custom logic and unit testing with Typescript. I do not find much info anywhere. It would help most of them. Thank you.
@sapdevs
@sapdevs 5 ай бұрын
Hi there - this may be some time coming. I'm personally not a huge fan of TypeScript so it's not on my immediate radar right now, there's plenty more CAP stuff to cover before I get to that :-) [dja]
@piyushgupta4252
@piyushgupta4252 2 ай бұрын
Thank you DJ for the amazing session! I have a question regarding Associations in anonymous compositions. Is it possible to expand on navigation property 'book' inside composition 'Items' in the example covered in the session? I tried it using odata/v4/bookshop/Orders?$expand=Items/book but it gives a 400 error saying 'Expected uri token 'STAR' could not be found in 'Items/book'
@sapdevs
@sapdevs Ай бұрын
Yes, with V4 the $expand syntax has been, err, expanded :-) This may help: github.com/qmacro/odata-v4-and-cap/blob/main/slides.md#improved-expand [dja]
@ilhanilhanDev
@ilhanilhanDev 5 ай бұрын
Nice!
@sapdevs
@sapdevs 5 ай бұрын
Thanks!
@wiseskeshom4673
@wiseskeshom4673 5 ай бұрын
Thanks DJ for a great session as always. I just finished a session in offline mode. Today I found something quite interesting, or I just did something wrong haha. If I just comment out the following statement from the Orders entity (changed to anonymous inline aspects instead). Items : Composition of many OrderItems on Items.parent = $self; but I leave an explicit declaration of entity OrderItems there in the schema (not comment out). @cds.autoexpose entity OrderItems { key parent : Association to Orders; key pos : Integer; quantity : Integer; book : Association to Books; } What happened was, file Orders.Items.csv was not created when I run command: cds add data. I had to remove the definition of entity OrderItems (above statement) then file Orders.Items.csv was created. I am not sure this is normal behavior of the how the cds add command works or it is just because of something wrong in my code.
@sapdevs
@sapdevs 5 ай бұрын
Hi Wises, interesting! I tried this and both org.qmacro-Order.Items.csv and org.qmacro-OrderItems.csv were created in db/data/, as expected. What version of cds do you have? Perhaps you can share the complete code on e.g. gist.github.com or something? [dja]
Back to basics with SAP Cloud Application Programming Model (CAP) - part 11
1:01:50
Back to basics with SAP Cloud Application Programming Model (CAP) - part 13
1:01:35
Mom had to stand up for the whole family!❤️😍😁
00:39
the balloon deflated while it was flying #tiktok
00:19
Анастасия Тарасова
Рет қаралды 31 МЛН
Osman Kalyoncu Sonu Üzücü Saddest Videos Dream Engine 275 #shorts
00:29
Life hack 😂 Watermelon magic box! #shorts by Leisi Crazy
00:17
Leisi Crazy
Рет қаралды 81 МЛН
🟢 Making SAP Extensibility Real with CAP in 60 minutes
51:28
SAP Developers
Рет қаралды 7 М.
Serialization - A New Hope
50:53
Java
Рет қаралды 10 М.
Show and Tell: SAP Advanced Event Mesh with Vadim Klimov
1:32:26
Boring Enterprise Nerds
Рет қаралды 902
Back to basics with SAP Cloud Application Programming Model (CAP) - part 10
1:01:50
Svelte 5: New and Improved by Rich Harris
49:04
Fabian Hiller
Рет қаралды 7 М.
Mom had to stand up for the whole family!❤️😍😁
00:39