2023 Jul 12 8:24 AM - edited 2023 Aug 02 2:14 PM
Please note that this challenge is closed. The deadline for receiving a badge upon successful completion has passed. Check out this new challenge for the month of August.
Welcome to the second week of this month's SAP Developer Challenge. This week we are going change development environments and move to the SAP Business Application Studio. Additionally, we will add some sample data to our project using the @sap/cds-dk (command line client and development toolkit).
If you haven't read the announcement blog post for this challenge, please head over and do so. This week's challenge builds on top of last week's challenge, which you should have completed before starting with this one.
After getting started with the SAP Cloud Application Programming Model in a CodeSandbox last week, we now want to move to a new development environment, that is dedicated to development on the SAP Business Technology Platform and is a better fit for purpose - the SAP Business Application Studio. You might have noticed that the CodeSandbox didn't provide syntax highlighting or code completion for CDS, which is one of many benefits of moving to the SAP Business Application Studio.
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.
2023 Jul 12 11:14 AM
Submitting this week's part of challenge. Please review if it's okay.
Must admit that auto init setup of data files is a nice feature that I didn't know about.
2023 Jul 12 3:34 PM
2023 Jul 12 11:53 AM - edited 2023 Jul 12 11:54 AM
Hope my fields are not a problem later on, I am seeing I don't have the exact structure
2023 Jul 12 3:35 PM
2023 Jul 12 2:28 PM
2023 Jul 12 3:37 PM
Yep, that test folder comes in handy if you don't want to overwrite a production database 😁
2023 Jul 12 2:53 PM
2023 Jul 12 3:37 PM
2023 Jul 12 4:35 PM
2023 Jul 12 5:48 PM
2023 Jul 12 6:54 PM
2023 Jul 12 8:12 PM
2023 Jul 12 8:08 PM
2023 Jul 12 8:12 PM
2023 Jul 12 8:43 PM
2023 Jul 14 10:56 AM
2023 Jul 13 2:25 AM
Hello, attached is the end result. I have added some additional elements from last week's exercise to fit in better to your expectations? Would this be alright?
2023 Jul 14 10:56 AM
2023 Jul 13 5:41 AM
2023 Jul 14 10:55 AM
2023 Jul 13 8:38 AM
2023 Jul 14 10:55 AM
2023 Jul 13 9:34 AM
2023 Jul 14 10:55 AM
2023 Jul 13 11:21 AM
2023 Jul 14 10:55 AM
2023 Jul 13 12:54 PM
2023 Jul 14 10:55 AM
2023 Jul 13 3:55 PM
2023 Jul 14 10:55 AM
2023 Jul 13 7:01 PM
Hello!
Here is my submission for week 2:
I'm learning a lot with this challenge, it is my first time working with CAP! 😁
2023 Jul 14 10:54 AM
2023 Jul 14 3:34 AM
2023 Jul 14 10:54 AM
2023 Jul 14 4:39 AM
Week 2 submission:
Learned how important schema.cds was and how it relates to the data files.
2023 Jul 14 10:54 AM
2023 Jul 14 10:51 AM
2023 Jul 14 10:54 AM
2023 Jul 14 11:01 AM
Hi @nicoschoenteich ,
Here is my submission for week#2.
I setup the project both in my local PC and BAS but mainly develop in my local machine.
Below are screen captured of the results in local env.
this is BAS dev space under my BTP trial account, the schema is already updated but there is no db/data directory yet.
I would like to ask you that should I keep tracking the db/data directory via git the same as other source code files or I have to put this dir in the .gitignore then transfer those csv files manually.
Thanks,
Wises
btw, I enjoy learning CAP here together with other community members. this challenge really really helps the CAP beginners.
A big thank to you (Nico), Thomas Jung, other members and also master D.J. Adam for his latest Hands-on episodes about managed association in CAP (I know he is on vacation :p).