Skip to Content
Technical Articles
Author's profile photo Rahul Rajagopal

A Journey to CAPM Full Stack UI5 Application Development

Hi All, we are hearing about CAP Model since very long. Some of you would have either seen it working or may also be using it in your projects. Moreover, many of us are waiting for your new projects to get dirty your hands. if you are really enthusiastic to learn CAPM, you can follow this blog.

This is going to be a continues journey starting from creating your new BTP trial account. I will try to complete the entire scenarios in next two to three weeks time.

Lets first understand a bit about SAP BTP and CAPM.

SAP Business Technology Platform

In very simple term, SAP BTP is an umbrella of different technologies where developers can develop, integrate and extend all SAP and 3rd party applications using the  set of tools, services and products.

SAP Business technology platform offer nearly 100 different services. You can explore here.

We can create and use different types of BTP accounts.

  • Trial account
  • Free Tire account
  • Enterprise account

I am not discussing the different between all three here as you can easily find it in other blogs.

More over, SAP BTP offers two different commercial models to utilize the potentials based on customer needs:

  • Consumption-based commercial model
  • Subscription-based commercial model

You can find more information here.

Before we get into core CAPM application development, let’s understand a bit theory about CAPM.

SAP Cloud Application Programming Model

In very simple term, Cloud Application Programming Model (CAP) is a framework of languages, libraries, and tools for building services and applications. It is a new technology in the SAP cloud for creating scalable multi-target applications which can easily run on different platforms.

The developer can choose any technology. SAP CAPM provides various benefits.

The most important things is about the database. During the application development, the IDE(we will discuss about the IDE later) uses the SQLite database, without changing much, we can easily move the application to HANA DB. Another important feature is about the security. The CAP programming model has built-in security features, such as encryption, secure communication protocols, and access control. This protects applications and data from different security issues.

You can find more information on CAP here.

Let’s now start discuss about application development using CAP model in detail.

What are the pre-requisites to start your CAP journey?.

Infrastructure

Do not confuse infrastructure, it is not the hardware. It is all about the platform you need.

  • Create a trial account in Business technology platform 
  • Business application studio : This is the IDE you are going to use to build, deploy and maintain your CAP applications. Once you activate your BTP trial account, your BAS service will also get activated by default.
  • Second service you need is the SAP HANA Cloud. You may refer the detailed blog mentioned below table to activate the same.
  • The last service what we need is the SAP HANA Schema & HDI container. You may refer the detailed blog mentioned below table to activate the same.

we will discuss in detail about the usage of each service in the upcoming blogs. It will take some time to set up the HANA cloud as well as HDI container.

 

Sl.No Description
1 Activate SAP HANA Cloud
2 Activate HDI Container service
3 Create a CAPM application and deploy to Cloud Foundry
4 Use Aspects, Association and Convert OData V4 to V2 using Proxy
5 Modularize your CAPM Project & Cross Container Access
6 XSUAA Based Authentication – Using Standalone Approuter
7 XSUAA Based Authentication – Using Managed Approuter
8 Manage your dev space – Using GitHub

Conclusion

you are now having the basic idea of BTP, CAPM and the services required to start your CAPM journey.

Also, please follow the topic page, post and answer questions and read other posts on the topic

Assigned Tags

      2 Comments
      You must be Logged on to comment or reply to a post.
      Author's profile photo Mustafa Bensan
      Mustafa Bensan

      Hi Rahul Rajagopal,

      A couple of points:

      1. The acronym for the Cloud Application Programming Model is now CAP and not CAPM.  You may wish to update the occurrences in this blog post to keep the terminology consistent.
      2. All of the links in the table are broken.  You may wish to check and update with the correct links.

      Regards,

      Mustafa.

      Author's profile photo Rahul Rajagopal
      Rahul Rajagopal
      Blog Post Author

      This blog has written long back and published recently. I will check and update accordingly. Thanks for the suggestions.