Skip to Content
Technical Articles
Author's profile photo Manjunath Kodehalli Shankar

An overview of learning CAP development through tutorials

Introduction

 

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

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.

tutorial%20cards%20with%20description

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.

Assigned Tags

      Be the first to leave a comment
      You must be Logged on to comment or reply to a post.