Note: While this blog post was originally published in 2018, it’s been updated for 2020 thanks to great help and input from the excellent Iwona Hahn. Take a few mins to have a fresh look through, as you’ll find that many items have been updated. And don’t forget to “share & enjoy“!
There’s been a lot of activity and interest around CAP for SAP Cloud Platform, not least during the last couple of years of SAP TechEd events, and also as it coalesces into a fundamental technology in the cloud development stack. I thought it would be useful to provide an overview of the key resources, for folks who are wondering how to get started.
Briefly, CAP for SAP Cloud Platform is a framework of tools, languages and libraries, some from SAP, some open source. With these tools, languages and libraries you can efficiently and rapidly build enterprise services and applications in a full-stack development approach. It guides you along a golden path of best practices, allowing you to focus on your domain while relieving you from tedious technical tasks.
You can find core documentation for CAP in capire.
Begin with the Getting Started section, as that will take you through the basics as well as detailing some best practices and reference material.
You can also find what’s new in the new Release Notes section.
SAP Developer Center
In the SAP Developer Center, there are missions, tutorial groups and tutorials.
If you’re feeling more adventurous, or more hungry for knowledge and insight, there are a couple of complete missions available too:
The mission Use CAP and SAP Cloud SDK to Extend S/4HANA uses CAP to mock an S/4HANA API, call it with SAP Cloud SDK, and build out a custom app with CAP that uses custom logic to consume that S/4HANA API as part of the business domain design. This mission is designed to give you a good understanding of the fundamental building blocks for extending S/4HANA in the cloud.
I wrote a blog post explaining this mission and giving you a helicopter view of what’s involved: Mission “Use CAP and SAP Cloud SDK to Extend S/4HANA” – an overview.
The mission Build a Business Application Using Node.js guides you through developing a business application using CAP. Start on your local environment and deploy to SAP Cloud Platform.
You can also find other tutorials tagged with “SAP Cloud Application Programming Model” via this URL:
and you’ll be presented with appropriately filtered content like this:
Here on the SAP Community you’ll find an array of posts talking directly or indirectly about CAP. You can find the complete set using the tag:
Daniel’s post “Introducing the new Application Programming Model” is a great place to start.
There’s also a dedicated topic page which you should definitely check out: https://community.sap.com/topics/cloud-application-programming – this has all sorts of links including a summary of the latest blog posts and also the latest Q&A, which you can get to directly too via the tag specifically for CAP related questions and answers.
SAP TechEd sessions
CAP has proved to have been a popular topic in the sessions and in the corridors at SAP TechEd. There was an array of sessions at SAP TechEd Barcelona – check out the Agenda Builder to find out more.
Here are a couple of them:
- CNA376 “Build Applications with the Programming Model on SAP Cloud Platform” – hands-on workshop (2hr)
- CNA652 “Less Than One Hour to a SaaS Application with SAP Cloud Platform” – CodeJam (mini-edition) (1hr)
If you’re wanting a brief overview of CAP, you could watch this brief (7min) interview between the wonderful Gregor Wolf, and me, from SAP TechEd 2019 in Barcelona: CAPM for Developers, Barcelona 2019:
Read more about this extension in Joerg Mann‘s post “Introducing Core Data & Services (CDS) for VS Code” and grab it from the cloud section of the SAP Development Tools site.
What’s more, there’s CAP support in the new SAP Business Application Studio too!
On SAP CodeTalk, there’s a short interview with Ian Thain and me talking about CAP at a high level: https://www.youtube.com/watch?v=GhEpcB7x4UA
On the SAP Mentors GitHub organisation there’s a repo representing CAP community activity – check it out at bit.ly/cap-com.
If you like to learn by watching folks hack around on screen, and perhaps also take part, then you probably want to check out the Hands-on SAP dev series of live streams which cover all sorts of SAP development topics including of course CAP. Check out the recordings of past episodes here: bit.ly/handsonsapdev#replays.
That’s what comes to mind to me this evening – if there’s anything else (please let me know) I’ll add it to this post as and when it appears or occurs to me.
11 Oct 2018 – added link to SAP CodeTalk interview; added link to Java exercise materials for CNA376
03 Jan 2019 – added info on finding tutorials by tag via a URL (hat tip to André Pfohlmann). Also added info on how to see what’s new with the Application Programming Model, via an answer in the Community Q&A from Jijo Roy Jacob
25 Mar 2020 – major update with huge help from Iwona Hahn