Technology Blogs by SAP
Learn how to extend and personalize SAP applications. Follow the SAP technology blog for insights into SAP BTP, ABAP, SAP Analytics Cloud, SAP HANA, and more.
cancel
Showing results for 
Search instead for 
Did you mean: 
miltonc
Product and Topic Expert
Product and Topic Expert
Github repository:

To be published soon...

 

Introduction:

  • In this session (series of 3 videos - Part 1, Part 2, Part 3), we will look at how to add support for SAP HANA in Cloud Application Programming Model


 

Synopsis:

  • Cloud Application Programming Model (CAPM) is a framework for building enterprise-grade services and applications

  • SAP Business Application Studio is the next generation SAP Web IDE.  It is now generally available for SAP's Multi-Cloud environment (Cloud Foundry)

  • We will be using the SAP Business Application Studio for this series on Cloud Application Programming Model

  • With CAP model, you can simply focus on writing business logic and most of the boiler plate code is handled by SAP

  • So in a sense CAP model is opinionated, but at the same time provides the developer enough flexibility if they want to customize any part of the process


 

Steps:

  • Part 1- We will create a simple OData V4 Service with 2 entities: Projects and Users

  • Part 1 - We also define a 1-to-many relationship between the Projects and Users entities

  • Part 1 - Add some initial data to the entities

  • Part 2 - We clean up the code a little bit by moving the entity related code to the db folder

  • Part 3 - We add support for SAP HANA

  • Part 3 - We make sure we can work with SAP HANA in the local environment

  • Part 3 - We make sure we can work with SAP HANA in the CF environment


 

YouTube links:

https://youtu.be/FH00WUV2Ug8

https://youtu.be/MxIPJB8s3Ls

https://youtu.be/lDg8HqAXHmQ

 

Conclusion:

  • This video should give a clear idea on how to add support for SAP HANA and build OData Services in Cloud Application Programming Model

  • In the next video, we will look at how we can implement some basic custom handlers

  • If you have any questions or comments, please list them below and I will be happy to answer


 

Next post:

https://blogs.sap.com/2020/08/23/how-to-implement-custom-handlers-cloud-application-programming-mode...