Introducing CAP to SAP Commissions

SAP Cloud Application Programming (aka CAP) makes life more easy for developers to build and integrate with other SAP Applications. SAP Cloud Application Programming Model (CAP) is widely used to build cloud services within SAP.

How relevant CAP can benefit SAP Commissions ?

Follow the below table programming model helps you implement data models, services and UIs in order to develop stand-alone business applications

Examples

  • Build CAP project for Sales Users to review their Incentives and Commissions Reports
  • Build your own CAP Analytical Reports using SAP Commissions API’s
  • many more business use cases can be developed and deployed to business users for consuming day to day activities
You do… using… and let the framework take care of…
Define your Data Model CDS
  • automatic deployment to SAP HANA
Define your Services CDS
  • translating to OData service definitions
  • serving requests out of the box
  • authorisation*) and standard validations
  • filling in primary keys and audit information
  • writing trace and audit logs
  • health checks
  • etc.
Add Custom Logic Java or
Node.js
  • handling database connections
  • including tenant isolation
  • parsing input and
  • serialising responses
Add Fiori UIs CDS Annotations
  • translation to OData vocabularies
  • generating a Fiori elements app skeleton
Reuse existing Services
(e.g. from SAP Commissions)
CDS Service SDKs
  • Constructing and handling http requests
  • Providing APIs in Java / Node.js
  • Mash-ups with local data

(→ see our Getting Started guides for a more detailed walkthrough)


Introduction to CAP

The SAP Cloud Application Programming Model is an open and opinionated, framework of languages, libraries, and tools for building enterprise-grade services and applications. It guides developers through proven best practices and a great wealth of out-of-the-box solutions for recurring tasks.

CAP Overview

CAP Deployment Stages

CAP rich extended functionalities

CAP Best Practices

Go to your SAP BTP account and enable SAP Business Application Studio

Go to Applicaton and Launch it

Create a Dev Space from Business Application Studio

Create your own Dev Space

After you created, you can start the server and click on your Dev space Name 

Development IDE is now available for you to develop your own applicaton

Coming next blog series  –  How to Develop real use cases for SAP Commissions using CAP functionalities  .