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: 
manjunath_ks1
Product and Topic Expert
Product and Topic Expert
5,409

SAP Cloud Application Programming (CAP for short) lets you develop applications quickly while also guiding you to use the best practices.


See the Updates section for new information.

CAP application development is fast as the tools allow you to quickly create a new project which has a useful configuration out of the box. It helps you focus by providing everything you need from a file watcher and integration with services like SAP S/4HANA and SAP EventMesh to Cloud Foundry (CF) and SAP Kyma helpers.


In this blog post, you can find a set of CAP tutorials that will guide you with local setup, deployment to SAP BTP, and external service integration with SAP S/4HANA using SAP API Business Hub's APIs and events.


Missions Overview: CAP Tutorials on developers.sap.com


Building Risk Management


Risks in this context refer to potential compliance issues, associated estimations of their importance, and possible solutions. Businesses have many SAP solutions and there can be compliance issues from many sources. For example, there might be an issue with a supplier or with logistics. A risk manager at a company can use this application to aid in tracking and mitigating risks.


Follow this mission to start building the Risk Management application. The Risk Management application needs to have a UI application for managing risks and another UI application for managing mitigations. The UI applications need a service to provide the APIs and persistence. All of them need to be deployed to a managed host which can be accessed by the customer.


Next, extend your CAP Application with integrations to SAP S/4HANA and SAP S/4HANA Cloud with the tutorials  Consume Remote Services from SAP S/4HANA Using CAP, Consume Remote Services from S/4HANA Cloud using CAP, and Consume Events from S/4HANA Cloud Using CAP. Here’s an overview of all the missions.


Mission: Build an Application End-to-End Using CAP, Node.js and VS Code


This mission contains the base tutorials for developing a CAP application and deploying it to SAP Business Technology Platform (SAP BTP) Cloud Foundry (CF). Start here if you want to learn the basic concepts of developing CAP applications. All other tutorials for extending your CAP application are based on this mission.


Mission: Deploy Your CAP Application on SAP BTP Kyma Runtime

You will prepare your development environment to deploy Risk Management to the SAP BTP Kyma runtime. This involves configuring services using the capabilities of Kyma and adding the service  configurations like XSUAA. Follow along this mission to build images for your application and to see the result on the SAP Launchpad service.

Mission: Consume Remote Services from SAP S/4HANA Using CAP


Connect Risk Management to SAP S/4HANA on-premise APIs using integration services that simplify the communication. In this set of tutorials, you will configure the communication between the two systems and use it to show business partner data using API definitions from the SAP API Business Hub. Initially, you will test your changes locally and then configure the application for deployment. You will learn how the CAP tools help you in fast development by mocking the services for local development.


Mission: Consume Remote Services from SAP S/4HANA Cloud Using CAP


CAP also supports integration with S/4HANA cloud. Like the integration to S/4HANA with the help of CAP you will configure the connection, destination, and local testing before deploying. This method can be used when you want to make extension application for your use case.


Mission: Consume Events from SAP S/4HANA Cloud Using CAP


Keep your application data up to date with external services using events and the SAP Event Mesh. Using the CAP integration tools, you will first update your application to work with events locally and then on the cloud by configuring it from your SAP S/4HANA Cloud instance.


Conclusion

In this blog we saw the different tutorials under risk-management for node.js, hopefully you found one or more tutorials interesting for your use case. You can start with the tutorials you like or start from the beginning to learn the end-to-end flow. You can provide feedback by clicking on "Provide Feedback" on the tutorials at developers.sap.com. In case you need support please post you question on SAP Community or open an issue in our GitHub repository. Stay tuned for more CAP tutorial related news.



Updates

20 Oct 2022 - Apart from our end to end missions we also have dedicated tutorials including a new one that has been recently released. These tutorials will build on the End to End mission for more specific scenarios.

Configure and Run a Predefined SAP Continuous Integration and Delivery (CI/CD) Pipeline


Learn how to use the built in pipeline for CAP in the SAP Continuous Integration and Delivery service that is hosted on SAP BTP. It has an easy to use UI and you will use the GitHub integration to build and deploy the CAP application that was introduced in the end to end Cloud Foundry mission.

Create an SAP Fiori Elements-Based Analytical UI for your CAP Application

Develop a new Fiori Elements based application to add Analytical features to your project. Extend the data models that were defined in the End to End missions with interactive charts that make it easy to filter and analyze the data.