<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: SAP Developer Challenge - SAP Cloud Application Programming Model (Week 4) in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/sap-developer-challenge-sap-cloud-application-programming-model-week-4/m-p/275765#M2289</link>
    <description>&lt;P&gt;Well done &lt;span class="lia-unicode-emoji" title=":white_heavy_check_mark:"&gt;✅&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 31 Jul 2023 07:03:13 GMT</pubDate>
    <dc:creator>nicoschoenteich</dc:creator>
    <dc:date>2023-07-31T07:03:13Z</dc:date>
    <item>
      <title>SAP Developer Challenge - SAP Cloud Application Programming Model (Week 4)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sap-developer-challenge-sap-cloud-application-programming-model-week-4/m-p/274851#M2179</link>
      <description>&lt;P class="lia-align-center"&gt;&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;Please note that this challenge is closed. The deadline for receiving a badge upon successful completion has passed. Check out this &lt;A href="https://blogs.sap.com/2023/08/01/sap-developer-challenge-apis/" target="_self"&gt;new challenge&lt;/A&gt; for the month of August.&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="3"&gt;Welcome to the fourth and final week of this month's SAP Developer Challenge. This week we are going to learn about &lt;A href="https://cap.cloud.sap/docs/guides/using-services#consuming-services" target="_self"&gt;consuming remote services&lt;/A&gt; with the SAP Cloud Application Programming Model.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="3"&gt;&lt;SPAN&gt;If you haven't read the&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://blogs.sap.com/2023/07/05/sap-developer-challenge-sap-cloud-application-programming-model/" target="_self" rel="noopener noreferrer"&gt;announcement blog post&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;for this challenge, please head over and do so. This week's challenge builds on top of previous three challenges, which you should have completed before starting with this one.&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;H2&gt;&lt;SPAN&gt;The Challenge&lt;/SPAN&gt;&lt;/H2&gt;&lt;P&gt;&lt;FONT size="3"&gt;&lt;SPAN&gt;We have already come a long way with our application since week 1 of the challenge. We have a solid data model, load initial data and can track golf rounds, but still there is one central component missing - the golf players. Wouldn't it be nice to track who played a round of golf? The simplest approach here would be to create a new entity in our data model, but I think we should use this as an opportunity to learn how to &lt;A href="https://cap.cloud.sap/docs/guides/using-services#consuming-services" target="_self"&gt;consume remote services&lt;/A&gt;. The remote service that we are going to consume exposes the API of this SAP Community Groups platform, because the players will be you folks! We will integrate an remote service that lists everyone who completed week 1 of this challenge successfully, and these community members will be the "golf players".&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="3"&gt;&lt;SPAN&gt;This is what you have to do to successfully complete this week's challenge:&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="3"&gt;&lt;SPAN&gt;1. Check out the service that we are going to consume:&amp;nbsp;&lt;A href="https://developer-advocates-free-tier-central-hana-cloud-instan3abe9a0e.cfapps.us10.hana.ondemand.com/" target="_blank" rel="noopener"&gt;https://developer-advocates-free-tier-central-hana-cloud-instan3abe9a0e.cfapps.us10.hana.ondemand.com/&lt;/A&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="3"&gt;&lt;SPAN&gt;2. Copy the following metadata information from the remote service into a new file &lt;EM&gt;RemoteService.edmx&lt;/EM&gt; in the root of your project. CAP will need this information to know how to integrate the remote service:&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;&amp;lt;edmx:Edmx xmlns:edmx="http://docs.oasis-open.org/odata/ns/edmx" Version="4.0"&amp;gt;
    &amp;lt;edmx:Reference Uri="https://oasis-tcs.github.io/odata-vocabularies/vocabularies/Org.OData.Capabilities.V1.xml"&amp;gt;
        &amp;lt;edmx:Include Alias="Capabilities" Namespace="Org.OData.Capabilities.V1"/&amp;gt;
    &amp;lt;/edmx:Reference&amp;gt;
    &amp;lt;edmx:Reference Uri="https://sap.github.io/odata-vocabularies/vocabularies/Common.xml"&amp;gt;
        &amp;lt;edmx:Include Alias="Common" Namespace="com.sap.vocabularies.Common.v1"/&amp;gt;
    &amp;lt;/edmx:Reference&amp;gt;
    &amp;lt;edmx:Reference Uri="https://oasis-tcs.github.io/odata-vocabularies/vocabularies/Org.OData.Core.V1.xml"&amp;gt;
        &amp;lt;edmx:Include Alias="Core" Namespace="Org.OData.Core.V1"/&amp;gt;
    &amp;lt;/edmx:Reference&amp;gt;
    &amp;lt;edmx:DataServices&amp;gt;
        &amp;lt;Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="CatalogService"&amp;gt;
            &amp;lt;EntityContainer Name="EntityContainer"&amp;gt;
                &amp;lt;EntitySet Name="Players" EntityType="CatalogService.Players"/&amp;gt;
            &amp;lt;/EntityContainer&amp;gt;
            &amp;lt;EntityType Name="Players"&amp;gt;
                &amp;lt;Key&amp;gt;
                    &amp;lt;PropertyRef Name="name"/&amp;gt;
                &amp;lt;/Key&amp;gt;
                &amp;lt;Property Name="name" Type="Edm.String" Nullable="false"/&amp;gt;
            &amp;lt;/EntityType&amp;gt;
            &amp;lt;Annotations Target="CatalogService.EntityContainer/Players"&amp;gt;
                &amp;lt;Annotation Term="Capabilities.DeleteRestrictions"&amp;gt;
                    &amp;lt;Record Type="Capabilities.DeleteRestrictionsType"&amp;gt;
                        &amp;lt;PropertyValue Property="Deletable" Bool="false"/&amp;gt;
                    &amp;lt;/Record&amp;gt;
                &amp;lt;/Annotation&amp;gt;
                &amp;lt;Annotation Term="Capabilities.InsertRestrictions"&amp;gt;
                    &amp;lt;Record Type="Capabilities.InsertRestrictionsType"&amp;gt;
                        &amp;lt;PropertyValue Property="Insertable" Bool="false"/&amp;gt;
                    &amp;lt;/Record&amp;gt;
                &amp;lt;/Annotation&amp;gt;
                &amp;lt;Annotation Term="Capabilities.UpdateRestrictions"&amp;gt;
                    &amp;lt;Record Type="Capabilities.UpdateRestrictionsType"&amp;gt;
                        &amp;lt;PropertyValue Property="Updatable" Bool="false"/&amp;gt;
                    &amp;lt;/Record&amp;gt;
                &amp;lt;/Annotation&amp;gt;
            &amp;lt;/Annotations&amp;gt;
        &amp;lt;/Schema&amp;gt;
    &amp;lt;/edmx:DataServices&amp;gt;
&amp;lt;/edmx:Edmx&amp;gt;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT size="3"&gt;&lt;SPAN&gt;3. We can now properly import this metadata into our project&amp;nbsp;(&lt;A href="https://cap.cloud.sap/docs/guides/using-services#import-api" target="_self"&gt;CDS import API&lt;/A&gt;) by running the following command from the root of our project: &lt;EM&gt;cds import RemoteService.edmx&lt;/EM&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="3"&gt;4. Explore the newly generated &lt;EM&gt;srv/external/&lt;/EM&gt; directory. It contains the previously used edmx file as well as a newly generated Schema Notation (CSN) file, which is a &lt;A href="https://cap.cloud.sap/docs/cds/csn#schema-notation-csn" target="_self"&gt;"notation for compact representations of CDS models"&lt;/A&gt;.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="3"&gt;5. Inspect the changes that were made to the &lt;EM&gt;package.json&lt;/EM&gt;. There was a new &lt;EM&gt;cds.requires.RemoteService&lt;/EM&gt; section added to make CDS aware of the remote service we imported and are about to use in the next steps.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="3"&gt;6.&amp;nbsp; Add a new file &lt;EM&gt;.env&amp;nbsp;&amp;nbsp;&lt;/EM&gt;(don't forget the leading dot) to the project root. This file is usually used to define environment variables that will automatically get picked up by CDS. Although we will not store real credentials in this file (or anywhere else in this project), this file would be a good place to do that. It is important to never commit this file to any source code control system (like git).&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="3"&gt;7. Add the following code to the newly created .&lt;EM&gt;env,&lt;/EM&gt; which adds the service url as "credentials" to the remote service definition:&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;cds.requires.RemoteService.credentials.url=https://developer-advocates-free-tier-central-hana-cloud-instan3abe9a0e.cfapps.us10.hana.ondemand.com/browse/&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT size="3"&gt;8. Replace the content of the &lt;EM&gt;srv/cat-service.cds&lt;/EM&gt; with the following code. This service definition uses the remote service (line 2) and integrates its "Players" entity into our CatalogService (line 5):&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;using { golf } from '../db/schema';
using { RemoteService as external } from './external/RemoteService';

service CatalogService @(path:'/browse') {
  entity Players as projection on external.Players;
  entity Rounds as projection on golf.Rounds;
  entity Holes as projection on golf.Holes;
  entity Shots as projection on golf.Shots;
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT size="3"&gt;&lt;SPAN&gt;9. Add the following code to the main exported function of the &lt;EM&gt;srv/cat-service.js&lt;/EM&gt;, which is our service handler file from last week. This code makes sure that all incoming request to the "Players" entity will in fact get forwarded to the RemoteService:&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;const remote = await cds.connect.to('RemoteService')
this.on('*', 'Players', (req) =&amp;gt; {
    console.log('&amp;gt;&amp;gt; delegating to remote service...')
    return remote.run(req.query)
})&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT size="3"&gt;&lt;SPAN&gt;10. Start the cds server like usual and inspect the console output. You should see that CDS is connecting to the url of the RemoteService.&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="3"&gt;&lt;SPAN&gt;11. Share a screen shot of the CatalogService running on your localhost and exposing the remote "Players" entity with its data. It should look something like this:&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2023-07-26_11-30-35.png" style="width: 999px;"&gt;&lt;img src="https://community.sap.com/t5/image/serverpage/image-id/40796i43716817065102D5/image-size/large?v=v2&amp;amp;px=999" role="button" title="2023-07-26_11-30-35.png" alt="2023-07-26_11-30-35.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;H2&gt;Resources&lt;/H2&gt;&lt;P&gt;&lt;FONT size="3"&gt;We have gathered a few helpful resources for this week's challenge. Feel free to use the comments sections if you have question or need help.&lt;/FONT&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;FONT size="3"&gt;&lt;A href="https://cap.cloud.sap/docs/guides/using-services#consuming-services" target="_self"&gt;Consume remote services&lt;/A&gt;&lt;/FONT&gt;&lt;/LI&gt;&lt;LI&gt;&lt;A href="https://cap.cloud.sap/docs/guides/using-services#import-api" target="_self"&gt;&lt;FONT size="3"&gt;CDS import API&lt;/FONT&gt;&lt;/A&gt;&lt;/LI&gt;&lt;LI&gt;&lt;FONT size="3"&gt;&lt;A href="https://github.com/SAP-samples/cap-service-integration-codejam/" target="_self"&gt;SAP CodeJam: Service integration with SAP Cloud Application Programming Model&lt;/A&gt;&lt;/FONT&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;H2&gt;Further Learning&lt;/H2&gt;&lt;P&gt;&lt;FONT size="3"&gt;As this week marks the end of this SAP Developer Challenge, here is some inspiration for how you could further improve the application:&lt;/FONT&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;FONT size="3"&gt;&lt;A href="https://cap.cloud.sap/docs/guides/authorization#authorization-and-access-control" target="_self"&gt;Add authentication&lt;/A&gt;&lt;/FONT&gt;&lt;/LI&gt;&lt;LI&gt;&lt;FONT size="3"&gt;&lt;A href="https://cap.cloud.sap/docs/guides/authorization#user-claims" target="_self"&gt;Restrict access with user claims&lt;/A&gt;&lt;/FONT&gt;&lt;/LI&gt;&lt;LI&gt;&lt;FONT size="3"&gt;&lt;A href="https://cap.cloud.sap/docs/advanced/fiori" target="_self"&gt;Add an SAP Fiori user interface&lt;/A&gt;&lt;/FONT&gt;&lt;/LI&gt;&lt;LI&gt;&lt;FONT size="3"&gt;&lt;A href="https://cap.cloud.sap/docs/guides/using-services#mashing-up-with-remote-services" target="_self"&gt;Mashup the local and remote service with associations&lt;/A&gt;&lt;/FONT&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT size="3"&gt;We hope you enjoyed this SAP Developer Challenge and learned something new. Feel free to share feedback and your experience in the comment section down below or via a private message!&lt;/FONT&gt;&lt;/P&gt;&lt;H2&gt;&lt;STRONG&gt;Good luck and happy learning!&lt;/STRONG&gt;&lt;/H2&gt;</description>
      <pubDate>Wed, 02 Aug 2023 13:13:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sap-developer-challenge-sap-cloud-application-programming-model-week-4/m-p/274851#M2179</guid>
      <dc:creator>nicoschoenteich</dc:creator>
      <dc:date>2023-08-02T13:13:34Z</dc:date>
    </item>
    <item>
      <title>Re: SAP Developer Challenge - SAP Cloud Application Programming Model (Week 4)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sap-developer-challenge-sap-cloud-application-programming-model-week-4/m-p/274901#M2206</link>
      <description>&lt;P&gt;Hi Nicolai,&lt;/P&gt;&lt;P&gt;Please find the screenshot attached.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Geeth_0-1690371308475.png" style="width: 400px;"&gt;&lt;img src="https://community.sap.com/t5/image/serverpage/image-id/40811i83A58B1848E7D70A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Geeth_0-1690371308475.png" alt="Geeth_0-1690371308475.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 26 Jul 2023 11:35:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sap-developer-challenge-sap-cloud-application-programming-model-week-4/m-p/274901#M2206</guid>
      <dc:creator>Geeth</dc:creator>
      <dc:date>2023-07-26T11:35:14Z</dc:date>
    </item>
    <item>
      <title>Re: SAP Developer Challenge - SAP Cloud Application Programming Model (Week 4)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sap-developer-challenge-sap-cloud-application-programming-model-week-4/m-p/274903#M2207</link>
      <description>&lt;P&gt;Cool idea with the Players service!&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="cap-dev-challenge-4.png" style="width: 879px;"&gt;&lt;img src="https://community.sap.com/t5/image/serverpage/image-id/40813i815D80228BB1E0C3/image-size/large?v=v2&amp;amp;px=999" role="button" title="cap-dev-challenge-4.png" alt="cap-dev-challenge-4.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 26 Jul 2023 11:41:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sap-developer-challenge-sap-cloud-application-programming-model-week-4/m-p/274903#M2207</guid>
      <dc:creator>Trulov</dc:creator>
      <dc:date>2023-07-26T11:41:09Z</dc:date>
    </item>
    <item>
      <title>Re: SAP Developer Challenge - SAP Cloud Application Programming Model (Week 4)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sap-developer-challenge-sap-cloud-application-programming-model-week-4/m-p/274924#M2208</link>
      <description>&lt;P&gt;My entry for week 4&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2023-07-26_08-23-08.png" style="width: 578px;"&gt;&lt;img src="https://community.sap.com/t5/image/serverpage/image-id/40816iDF51A25264887ABE/image-size/large?v=v2&amp;amp;px=999" role="button" title="2023-07-26_08-23-08.png" alt="2023-07-26_08-23-08.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 26 Jul 2023 12:25:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sap-developer-challenge-sap-cloud-application-programming-model-week-4/m-p/274924#M2208</guid>
      <dc:creator>thomas_jung</dc:creator>
      <dc:date>2023-07-26T12:25:30Z</dc:date>
    </item>
    <item>
      <title>Re: SAP Developer Challenge - SAP Cloud Application Programming Model (Week 4)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sap-developer-challenge-sap-cloud-application-programming-model-week-4/m-p/274928#M2209</link>
      <description>&lt;P&gt;My submission Week 4:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="romil_agrawal_1-1690374528356.png" style="width: 701px;"&gt;&lt;img src="https://community.sap.com/t5/image/serverpage/image-id/40818i4EF68E8AD873953B/image-dimensions/701x327?v=v2" width="701" height="327" role="button" title="romil_agrawal_1-1690374528356.png" alt="romil_agrawal_1-1690374528356.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 26 Jul 2023 12:29:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sap-developer-challenge-sap-cloud-application-programming-model-week-4/m-p/274928#M2209</guid>
      <dc:creator>former_member122296</dc:creator>
      <dc:date>2023-07-26T12:29:04Z</dc:date>
    </item>
    <item>
      <title>Re: SAP Developer Challenge - SAP Cloud Application Programming Model (Week 4)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sap-developer-challenge-sap-cloud-application-programming-model-week-4/m-p/274955#M2210</link>
      <description>&lt;P&gt;I've built this out a little further integrating the external service into the main data model.&amp;nbsp;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2023-07-26_09-13-25.png" style="width: 719px;"&gt;&lt;img src="https://community.sap.com/t5/image/serverpage/image-id/40820i81D64E8AB97D9838/image-size/large?v=v2&amp;amp;px=999" role="button" title="2023-07-26_09-13-25.png" alt="2023-07-26_09-13-25.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;And in a Fiori UI from annotations - the external service is feeding the value help&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2023-07-26_09-18-12.png" style="width: 999px;"&gt;&lt;img src="https://community.sap.com/t5/image/serverpage/image-id/40821iF945D87D63DD6550/image-size/large?v=v2&amp;amp;px=999" role="button" title="2023-07-26_09-18-12.png" alt="2023-07-26_09-18-12.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 26 Jul 2023 13:22:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sap-developer-challenge-sap-cloud-application-programming-model-week-4/m-p/274955#M2210</guid>
      <dc:creator>thomas_jung</dc:creator>
      <dc:date>2023-07-26T13:22:36Z</dc:date>
    </item>
    <item>
      <title>Re: SAP Developer Challenge - SAP Cloud Application Programming Model (Week 4)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sap-developer-challenge-sap-cloud-application-programming-model-week-4/m-p/274991#M2212</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.sap.com/t5/user/viewprofilepage/user-id/898"&gt;@nicoschoenteich&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Below is my submission for week 4,&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="antothomasraja_0-1690382670182.png" style="width: 400px;"&gt;&lt;img src="https://community.sap.com/t5/image/serverpage/image-id/40833i3BEE544C2A6B84BA/image-size/medium?v=v2&amp;amp;px=400" role="button" title="antothomasraja_0-1690382670182.png" alt="antothomasraja_0-1690382670182.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Thank you! Happy Learning &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Anto&lt;/P&gt;</description>
      <pubDate>Wed, 26 Jul 2023 14:45:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sap-developer-challenge-sap-cloud-application-programming-model-week-4/m-p/274991#M2212</guid>
      <dc:creator>antothomasraja</dc:creator>
      <dc:date>2023-07-26T14:45:28Z</dc:date>
    </item>
    <item>
      <title>Re: SAP Developer Challenge - SAP Cloud Application Programming Model (Week 4)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sap-developer-challenge-sap-cloud-application-programming-model-week-4/m-p/274997#M2214</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.sap.com/t5/user/viewprofilepage/user-id/898"&gt;@nicoschoenteich&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Below is my submission for this week.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="steph_senita_0-1690383620169.png" style="width: 400px;"&gt;&lt;img src="https://community.sap.com/t5/image/serverpage/image-id/40836i6A503D26B0F7A1DA/image-size/medium?v=v2&amp;amp;px=400" role="button" title="steph_senita_0-1690383620169.png" alt="steph_senita_0-1690383620169.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 26 Jul 2023 15:00:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sap-developer-challenge-sap-cloud-application-programming-model-week-4/m-p/274997#M2214</guid>
      <dc:creator>steph_senita</dc:creator>
      <dc:date>2023-07-26T15:00:47Z</dc:date>
    </item>
    <item>
      <title>Re: SAP Developer Challenge - SAP Cloud Application Programming Model (Week 4)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sap-developer-challenge-sap-cloud-application-programming-model-week-4/m-p/275001#M2215</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Here are my results for this week's exercise.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="P41l_0-1690384632296.png" style="width: 400px;"&gt;&lt;img src="https://community.sap.com/t5/image/serverpage/image-id/40837iD4BD6FEA463E46A9/image-size/medium?v=v2&amp;amp;px=400" role="button" title="P41l_0-1690384632296.png" alt="P41l_0-1690384632296.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 26 Jul 2023 15:17:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sap-developer-challenge-sap-cloud-application-programming-model-week-4/m-p/275001#M2215</guid>
      <dc:creator>Phil-L</dc:creator>
      <dc:date>2023-07-26T15:17:23Z</dc:date>
    </item>
    <item>
      <title>Re: SAP Developer Challenge - SAP Cloud Application Programming Model (Week 4)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sap-developer-challenge-sap-cloud-application-programming-model-week-4/m-p/275009#M2216</link>
      <description>&lt;P&gt;You r a BOSS....&lt;/P&gt;</description>
      <pubDate>Wed, 26 Jul 2023 15:45:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sap-developer-challenge-sap-cloud-application-programming-model-week-4/m-p/275009#M2216</guid>
      <dc:creator>sabarna17</dc:creator>
      <dc:date>2023-07-26T15:45:04Z</dc:date>
    </item>
    <item>
      <title>Re: SAP Developer Challenge - SAP Cloud Application Programming Model (Week 4)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sap-developer-challenge-sap-cloud-application-programming-model-week-4/m-p/275011#M2217</link>
      <description>&lt;P&gt;Awesome learning experience in SAP CAP(🧢).&amp;nbsp;Here is the my submission for week 4:&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Week4.png" style="width: 803px;"&gt;&lt;img src="https://community.sap.com/t5/image/serverpage/image-id/40840i184A9CFD8AEAD169/image-size/large?v=v2&amp;amp;px=999" role="button" title="Week4.png" alt="Week4.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 26 Jul 2023 15:49:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sap-developer-challenge-sap-cloud-application-programming-model-week-4/m-p/275011#M2217</guid>
      <dc:creator>sabarna17</dc:creator>
      <dc:date>2023-07-26T15:49:29Z</dc:date>
    </item>
    <item>
      <title>Re: SAP Developer Challenge - SAP Cloud Application Programming Model (Week 4)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sap-developer-challenge-sap-cloud-application-programming-model-week-4/m-p/275015#M2218</link>
      <description>&lt;P&gt;Fourth week submission &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Cmdd_0-1690386972744.png" style="width: 400px;"&gt;&lt;img src="https://community.sap.com/t5/image/serverpage/image-id/40842i92DD35A0DF72D5FF/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Cmdd_0-1690386972744.png" alt="Cmdd_0-1690386972744.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 26 Jul 2023 15:56:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sap-developer-challenge-sap-cloud-application-programming-model-week-4/m-p/275015#M2218</guid>
      <dc:creator>Cmdd</dc:creator>
      <dc:date>2023-07-26T15:56:04Z</dc:date>
    </item>
    <item>
      <title>Re: SAP Developer Challenge - SAP Cloud Application Programming Model (Week 4)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sap-developer-challenge-sap-cloud-application-programming-model-week-4/m-p/275020#M2219</link>
      <description>&lt;P&gt;Week 4 Submission snapshot-&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MadhavKumar_0-1690389552038.png" style="width: 400px;"&gt;&lt;img src="https://community.sap.com/t5/image/serverpage/image-id/40843iE43FB78A51CE378F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MadhavKumar_0-1690389552038.png" alt="MadhavKumar_0-1690389552038.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Madhav Kumar&lt;/P&gt;</description>
      <pubDate>Wed, 26 Jul 2023 16:40:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sap-developer-challenge-sap-cloud-application-programming-model-week-4/m-p/275020#M2219</guid>
      <dc:creator>MadhavKumar25</dc:creator>
      <dc:date>2023-07-26T16:40:20Z</dc:date>
    </item>
    <item>
      <title>Re: SAP Developer Challenge - SAP Cloud Application Programming Model (Week 4)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sap-developer-challenge-sap-cloud-application-programming-model-week-4/m-p/275022#M2220</link>
      <description>&lt;P&gt;I know it's not pretty:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="geek_0-1690391705647.png" style="width: 400px;"&gt;&lt;img src="https://community.sap.com/t5/image/serverpage/image-id/40844iC35B0E6C11517D27/image-size/medium?v=v2&amp;amp;px=400" role="button" title="geek_0-1690391705647.png" alt="geek_0-1690391705647.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 26 Jul 2023 17:15:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sap-developer-challenge-sap-cloud-application-programming-model-week-4/m-p/275022#M2220</guid>
      <dc:creator>geek61</dc:creator>
      <dc:date>2023-07-26T17:15:29Z</dc:date>
    </item>
    <item>
      <title>Re: SAP Developer Challenge - SAP Cloud Application Programming Model (Week 4)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sap-developer-challenge-sap-cloud-application-programming-model-week-4/m-p/275036#M2221</link>
      <description>&lt;P&gt;Hello Thomas, just curious why did u chose to have a composition between rounds and players. Players can exist outside of rounds isn't it ??&lt;/P&gt;</description>
      <pubDate>Wed, 26 Jul 2023 18:20:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sap-developer-challenge-sap-cloud-application-programming-model-week-4/m-p/275036#M2221</guid>
      <dc:creator>cguttikonda24</dc:creator>
      <dc:date>2023-07-26T18:20:15Z</dc:date>
    </item>
    <item>
      <title>Re: SAP Developer Challenge - SAP Cloud Application Programming Model (Week 4)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sap-developer-challenge-sap-cloud-application-programming-model-week-4/m-p/275038#M2222</link>
      <description>&lt;P&gt;My submission&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ajos_0-1690395789163.png" style="width: 400px;"&gt;&lt;img src="https://community.sap.com/t5/image/serverpage/image-id/40849i238C45E8F0E7B575/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ajos_0-1690395789163.png" alt="ajos_0-1690395789163.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 26 Jul 2023 18:23:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sap-developer-challenge-sap-cloud-application-programming-model-week-4/m-p/275038#M2222</guid>
      <dc:creator>ajos</dc:creator>
      <dc:date>2023-07-26T18:23:15Z</dc:date>
    </item>
    <item>
      <title>Re: SAP Developer Challenge - SAP Cloud Application Programming Model (Week 4)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sap-developer-challenge-sap-cloud-application-programming-model-week-4/m-p/275040#M2223</link>
      <description>&lt;P&gt;&lt;a href="https://community.sap.com/t5/user/viewprofilepage/user-id/898"&gt;@nicoschoenteich&lt;/a&gt;&amp;nbsp;My week 4 submission.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="cguttikonda24_0-1690395834476.png" style="width: 400px;"&gt;&lt;img src="https://community.sap.com/t5/image/serverpage/image-id/40850iB49A423D073EDDA2/image-size/medium?v=v2&amp;amp;px=400" role="button" title="cguttikonda24_0-1690395834476.png" alt="cguttikonda24_0-1690395834476.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 26 Jul 2023 18:25:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sap-developer-challenge-sap-cloud-application-programming-model-week-4/m-p/275040#M2223</guid>
      <dc:creator>cguttikonda24</dc:creator>
      <dc:date>2023-07-26T18:25:26Z</dc:date>
    </item>
    <item>
      <title>Re: SAP Developer Challenge - SAP Cloud Application Programming Model (Week 4)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sap-developer-challenge-sap-cloud-application-programming-model-week-4/m-p/275042#M2224</link>
      <description>&lt;P&gt;It isn't a composition of players (the external entity). It's a composition of the assignment of players to rounds, which in turn has an association to the player external entity. So, players absolutely exist outside the scope of the rounds.&amp;nbsp; But you can only assign one or more valid players to a round.&amp;nbsp;&lt;BR /&gt;&lt;A href="https://github.com/jung-thomas/cap-dev-challenge-july-2023/blob/ab035bb5844e4de9b3a9d284bf3f7ca31467f0e5/db/schema.cds#L17" target="_blank"&gt;https://github.com/jung-thomas/cap-dev-challenge-july-2023/blob/ab035bb5844e4de9b3a9d284bf3f7ca31467f0e5/db/schema.cds#L17&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="thomas_jung_0-1690396107290.png" style="width: 400px;"&gt;&lt;img src="https://community.sap.com/t5/image/serverpage/image-id/40851iCB2AF9821AC19040/image-size/medium?v=v2&amp;amp;px=400" role="button" title="thomas_jung_0-1690396107290.png" alt="thomas_jung_0-1690396107290.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 26 Jul 2023 18:29:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sap-developer-challenge-sap-cloud-application-programming-model-week-4/m-p/275042#M2224</guid>
      <dc:creator>thomas_jung</dc:creator>
      <dc:date>2023-07-26T18:29:33Z</dc:date>
    </item>
    <item>
      <title>Re: SAP Developer Challenge - SAP Cloud Application Programming Model (Week 4)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sap-developer-challenge-sap-cloud-application-programming-model-week-4/m-p/275043#M2225</link>
      <description>&lt;P&gt;Thank you for the response.&amp;nbsp; Just a follow-up how is it different to use aspect vs entity for the Round2People. is there a difference while generating the DDL&lt;/P&gt;</description>
      <pubDate>Wed, 26 Jul 2023 18:38:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sap-developer-challenge-sap-cloud-application-programming-model-week-4/m-p/275043#M2225</guid>
      <dc:creator>cguttikonda24</dc:creator>
      <dc:date>2023-07-26T18:38:05Z</dc:date>
    </item>
    <item>
      <title>Re: SAP Developer Challenge - SAP Cloud Application Programming Model (Week 4)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sap-developer-challenge-sap-cloud-application-programming-model-week-4/m-p/275047#M2226</link>
      <description>&lt;P&gt;There is a difference - the Round2People doesn't get generated as a standalone entity at the service layer. It's like it's expanded in place.&amp;nbsp;Also the Up__ID and backlink association gets generated by the compiler as well. You are letting CAP take care of more of the relationship definition for you.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Read more about Composition of Aspects here:&lt;BR /&gt;&lt;A href="https://cap.cloud.sap/docs/guides/domain-modeling#composition-of-aspects" target="_blank"&gt;Domain Modeling | CAPire (cloud.sap)&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://cap.cloud.sap/docs/cds/cdl#managed-compositions" target="_blank"&gt;Definition Language (CDL) | CAPire (cloud.sap)&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Short summary from the Docu -&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Managed Compositions are mostly syntactical sugar: Behind the scenes, they are unfolded to the&amp;nbsp;&lt;A href="https://cap.cloud.sap/docs/cds/cdl#compositions" target="_blank"&gt;unmanaged equivalent&lt;/A&gt;&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 26 Jul 2023 18:45:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sap-developer-challenge-sap-cloud-application-programming-model-week-4/m-p/275047#M2226</guid>
      <dc:creator>thomas_jung</dc:creator>
      <dc:date>2023-07-26T18:45:31Z</dc:date>
    </item>
  </channel>
</rss>

